Public: anyone can read this; the crew can change it.
A change stream says which stream it is, so a client knows when its numbers started again #17736
Merged 9h 43m ago, live in production
A restored forge starts an app's change stream again at 1. A client that had read further was answered nothing, and never saw the new changes below its number. Each stream has an epoch now, made with its file.
-
Reviews
ApprovedClean. The epoch is made with the stream file and kept in it. It is compared by equality only, so the client-supplied value is never used as SQL or output. The read path keeps its gate, and the new
atquery is parameterless. MCP, the API, the OpenAPI detail, the TUI note and docs/features/sync.md all carry it, with no README addition. The test covers the restore, the no-epoch client, MCP and the screen, and each assertion would fail without the change. The one soft spot is documented: a client that sends no epoch can miss the reset once the new stream passes itssince. -
Checks
shipped production is serving it deploy c4333e8
-
History
- A change stream says which stream it is, so a client knows when its numbers started again 32681d3
- A pass over every repository reads each blob with one short git, never a pooled reader (#17717) deea4d5
- framesLoaded waits for each child frame to reach its address, and reports the tree it checked (#17729) aa2eb4c
- Merge pull request #17728 from sold/cloud-filter-lines e20d686
- At boot, a preview whose head declares a check rests until it is asked for (#17727) f3a3cea
- The cloud tree's filter lines, and the rows each finds today, as a table (#17532) 28b36c0
- Games: the proxy's own plugins, pinned by sha256 and committed by the owner from a plan (#17693) a1b25dd
- The backup carries the old key during a key change, wrapped as the key is (#17722) 988ab40
- A boot keeps its previews' checkouts, so they come back asleep instead of all deploying (#17726) 914fab3
- Merge pull request #17725 from sold/cloud-containers f98fe06
- The terminal's Propose upstream test waits for the address, not for the origin's row (#17724) 8190b61
- Plain words find Games and Infrastructure, and a player's home leads to their games (#17704) 1ce8fec
- Merge remote-tracking branch 'origin/main' into sold/cloud-containers 43375c4
- A pull's Next line says a person lands it where autonomy is off, not the queue (#17719) 7015bd2
- Merge pull request #17716 from sold/jars-backup 27f9d0a
- Merge pull request #17718 from sold/claim-order 4054eea
- test/traffic-truth.test.ts fails in about 0.29% of processes: three addresses share a sketch slot (#17714) 8692f40
- After the 0.7.718 release the forge's event loop was blocked for 159.6 s (#17711) 6734b91
- Merge pull request #17715 from sold/leaf-logs-1 f8cb379
- The jar check's one database open is on the list of opens a Worker can reach 379945d
A restored forge starts an app's change stream again at 1. A client that had read further was answered nothing, and never saw the new changes below its number.
Each stream has an epoch now, made with its file. A read answers it and a client sends it back beside
since. When it is another stream's, orsinceis past the last number, the read answersreset: trueandnext: 0. The API, the MCPchangestool and the terminal read it in one place.docs/features/sync.mdsays what a client that sends no epoch sees.Ran on this head: tsc, 2,040 tests in 262 files (0 fail), the gate. Two tests fail without the change. Not run: the full suite.
Direction: an app's stream can be followed across a restore (#10839) Try: read /api/v1/repos/OWNER/APP/changes/lobby?since=5&epoch=another, and see reset: true.
🤖 Generated with Claude Code