fix: a change made while an earlier save is running is stored #450

Merged
clawbot merged 1 commits from issue-448-save-baseline into next 2026-10-05 04:43:06 +02:00
1 Commits
Author SHA1 Message Date
sneak bad2dc285f fix: a change made while an earlier save is running is stored (closes #448)
check / check (push) Failing after 2s
e2e / e2e-chrome (push) Failing after 2s
e2e / e2e-firefox (push) Failing after 2s
saveStateOnce() took its baseline from the page's state after the write, so
a change made while the save waited on storage counted as already stored and
the save queued after it wrote nothing. A setting changed during the read was
lost, and so was a wallet added, a site revoked or an endpoint changed during
the write. The save now copies the page's fields when it starts, writes from
that copy, and keeps the copy as the baseline, so anything changed after the
copy is still a difference for the next save.

Model: opus-5-5
2026-10-05 02:16:04 +00:00