Slides: the carried paste never leaves the slide; Saved means saved
Claude Fable's review of #27 at 203d718. - A resync puts what was written while diverged into the rebuilt document before any view of it is mounted, with the new undo manager already made: the server's HTML no longer went up without the paste and was painted that way in the both view. - The save queue says 'saving', not 'ok', when an answered save leaves another queued; the line said Saved for a round trip with bytes unsent. - A presenter form whose in-place answer fails reloads the page instead of calling form.submit(): the server may already have applied the command, and a second POST moved the room twice. - A carried update that cannot integrate (written on top of the refused text) is not posted; the server held it pending in its log forever. - A tab closed while diverged beacons what was written meanwhile with the queue's bytes. Tests, each failing on 203d718: the resync paste test now logs every stage mutation and frame in the desktop and both views, and requires the words never to leave once there; TestAChangeOnARefusedOneIsNotPosted; TestLeavingWhileDivergedSendsWhatWasWritten; TestAFailedCommandAnswerIsNotSentAgain (stream kept quiet so the fallback runs); a save-queue and a status-mapping unit test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 files changed,
+291
−67
AGENTS.md+15 −6fixtures/editor-entry.js+56 −20fixtures/save-queue.mjs+12 −2fixtures/save-queue.test.mjs+17 −0fixtures/status.mjs+1 −0fixtures/status.test.mjs+1 −0internal/slides/credits/assets.json+2 −2internal/slides/static/editor.6f20169670d59132.js+0 −16internal/slides/static/editor.ba2ef94a3f5c9b80.js+16 −0internal/slides/static/present.js+7 −1internal/slidestest/races_browser_test.go+164 −20
CI passed — run details
AGENTS.mdLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/save-queue.mjsLoading diff…
fixtures/save-queue.test.mjsLoading diff…
fixtures/status.mjsLoading diff…
fixtures/status.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/editor.6f20169670d59132.jsLoading diff…
internal/slides/static/editor.ba2ef94a3f5c9b80.jsLoading diff…
internal/slides/static/present.jsLoading diff…
internal/slidestest/races_browser_test.goLoading diff…