Repository navigation
A big move from the hosted relay goes through; a move sync answered with an error says so - #2366
Merged
Merged
Conversation
…uard) Two app processes with different home folders: the chat starts in A's home folder, B continues it and adds a turn while it keeps running, A takes it back. The engine answers with A's own id and title, and its entries hold B's turn. Passes on app/v3 and on the chat-move-progress tip: N20 is in the desktop, not here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…reached (N21) - blobstore: an unnamed 5xx from a server that was reached (not a 502, 503 or 504 from a gateway) is also ErrAnswered. It still matches ErrUnreachable, so callers that degrade still do, and its text is the one it always had. - appMoveEnding: "Couldn't move it: sync answered with an error. The chat is still on <computer>." Co-Authored-By: Claude Opus 5.5 <[email protected]>
… so (N21) - 520-527 and 530 (a CDN in front of the relay) join 502-504 as not reached. - An answered 5xx reads "blobstore: server answered 500", matching the person's line rather than calling it unreachable. - The change entry is scoped to the chat copy (a directory 5xx still says unreachable) and names the app surface. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The hosted relay's batch get reads every touched frame from the first wanted byte to the last, all at once, in a 128 MB isolate, and bulk frames are 8 MiB. On a 1.4 GB chat's real frames 256 rids read up to 65 MB and the move failed with a 500 every time; 16 keeps a request near 8 MB in walk order and under 15 MB for scattered objects. - cellsync.Fetcher.ManyMax bounds the rids per GetMany; ManyMaxFor gives HostedGetMany (16) for a hosted relay (syncwords.Hosted) and the full 256 for a relay of the person's own. Order and failures are unchanged. - The take's fetcher uses it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…es too (N21) - taskdoor's fetcher uses ManyMaxFor(d.Service), as a move does. - The fetch test checks every request stays within the cap. - The change entry says plainly that a big hosted move used to fail. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
AbirAbbas
added a commit
that referenced
this pull request
Nov 11, 2026
…16 of 22) (#2597) * app tests: B2 recovery must show its worker's answer, not only a settled state (#2198) * Typing into your own idle chat reopens it instead of saying it's available (#2469) * app: answered receipts and quiet notices disappear after relaunch (#2586) * A big move from the hosted relay goes through; a move sync answered with an error says so (#2366) * tests: FIFO and Unix-helper cases build for Windows; make vet checks the Windows test build (#2192) * session: split the task and memory roads back under the endings ceiling (#2149) * Book a tool completion once when the process dies between seal and WAL cleanup (#2377) * Keep waiting job actions from going stale on bookkeeping (#2463) * factory: keep close revision checks strict after action history merge * Spending: daily rollup for date-only spend.report (#2269) * Retain Library activity in the rollup byte budget during replay * Keep billing facts and missing receipts when taking a chat (#2386) * Retain the Library receipt helper while replaying the billing merge * session: retain Library activity on sealed missing-receipt rows * An idle job chat stops reading every job ten times a second (#2358) * Set the explicit Memory-off premise in the idle discovery fixture * agentdid: add encrypted custody, purpose-bound signing and v1 identity documents (#2090) * Idle factory workers wait for changes instead of re-decoding the store (#1931) * store: distinguish file identity stamps from shared cache stamps * factory: bind retained caches to complete file identity and avoid duplicate pull beats * Count unchanged-floor settlement passes without decoding jobs * Recover usage rows after a crash without changing charges (#2387) * session: keep journal appends in the usage funnel and back off by delay * Crossing the day cap stops running work, not only the next turn (#2364) * session: sample the opening job budget before idle admission * Factory: compare failing Go tests with the base, and Accept as is (#2570) * factory: retain strict revision guard when pausing recovery * app: release the recovery-chat host lock through defer * Keep explicit test completion rules and conflict ownership * docs: record the local app/v3 integration wave * tests: open the Knowledge offer with Memory explicitly off * session: let the journal own projection durability until compaction * tests: join routed receipt settlement before inspecting its charge * tests: request the job-vault discovery passes that the fixture checks * tests: arm the admission ledger probe after the startup snapshot * fix(session): preserve free helper admission through shared daily gates (#2364) * fix(factory): compare pinned failures through the command fence (#2570) * changes: the app/v3 open-PR wave names its pull request Co-Authored-By: Claude Fable 5.2 <[email protected]> * test(sync): pair shared fixtures before #2090 custody saves a solo identity Custody now creates a quiet local profile on first save. Establish the shared fixtures paired premise before that save so Ensure does not preserve an unintended solo marker. Keep every notice, read-count, ownership, and explicit solo assertion. * fix(factory): invalidate #2358 handover look before stale admission The new cheap stop watcher saw a stopped job handed to a chat while the retained full admission memo trusted an older floor for 100 ms. Revalidate the shared floor identity before reuse. Keep unchanged document reads at zero and retain all allocation caps. * test(factory): keep #2570 belt fixture outside its profile ancestor The new PR-base tool test put codeaf state under its requested workspace, so dev correctly refused the Factory chat before any tool ran. Give the profile its own temporary directory while preserving the real tool call and repair assertions. * fix(session): keep #2387 journal sync in its process writer scope The durable journal created batch channels on recording callers, but the shared usage writer could send to them after that caller scope ended. The projection-fsync follow-up exposed fatal synctest sends in dev Memory cases. Start synchronizers from a separately joined writer-owned loop, retain independent batching under stalled projection, and keep all existing assertions and shutdown ceilings. * fix(session): route #2570 base-sync arguments through the shared decoder The new tool decoded its own arguments directly, violating dev’s common argument-decoder law. Reuse decodeToolArguments while preserving its empty-object and bound-checkout checks, existing refusal text, and every assertion. Existing structural and carried tool tests pass, with unchanged 208-byte/4-allocation successful calls. * test(session): initialize stalled journal fixtures through the writer owner The journal-scope repair made the process writer own a joined synchronizer. Three dev fixtures still built raw writers and skipped that initialization, panicking at close. Reuse the existing constructor before installing their projection blockers. Keep every assertion, shutdown ceiling, and all 200 by 4 close/flush race iterations; no production source changes. * test(app): end the stray child portably so the Windows test build vets (#2192) #2192 makes `make vet` check the Windows test build. The one-engine test that landed with app/v3 ended its stray child with syscall.Kill, which does not exist on Windows, so the new vet step failed on dev's tree. os.Process.Kill sends the same signal on Unix and builds everywhere. Co-Authored-By: Claude Fable 5.2 <[email protected]> --------- Co-authored-by: Claude Fable 5.2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A big move from the hosted relay goes through, and a move that sync answered with an error says so.
cellsync.Fetcher.ManyMaxcaps the rids per GetMany.ManyMaxFor(relay)gives 16 for the hosted relay (syncwords.Hosted) and 256 for your own relay. Applies to moves (syncsetup/take.go) and task copies (taskdoor/copy.go).getManyreads from the first to the last wanted byte of every frame a batch touches. The engine writes 8 MiB bulk frames, so a 256-rid batch made it read up to about 65 MB, and some batches failed with a 500.blobstore.ErrAnsweredand still matchesErrUnreachable. The move then says "Couldn't move it: sync answered with an error. The chat is still on X."TestAppTakeN20MoveBackKeepsTheOtherComputersTurn: a chat moved back holds the other computer's turn. The engine was already right; the N20 bug is in the desktop.Test:
make fmt-check manual-pack-law test-packed-manual manual-gates changelog-checkgo test -p 2 ./internal/blobstore ./internal/cellsync ./internal/taskdoor ./internal/syncsetupgo test -p 2 -run 'Take|Move|MoveBack|MoveEnding' ./cmd/codeafKnown reds that also fail on
app/v3:TestL4HostedSurfaceQuit*,TestR9R23PersonalLearnerRefreshesColdRouterGeneration(flaky).Pairs with the desktop PR on the same branch name in codeaf-desk.
🤖 Generated with Claude Code