Skip to content

docs: CHECKLIST.md names settleReplicaIntent, both ways settleReboot stops, and two more passes that copy records - #680

Merged
CMGS merged 2 commits into
mainfrom
checklist-rows
Dec 1, 2026
Merged

CMGS merged 2 commits into
mainfrom
checklist-rows

Conversation

@CMGS

@CMGS CMGS commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Three rows of sandboxd/pool/CHECKLIST.md that the review round on main found inexact. Docs only; each cell was checked against the code.

  • Section 1a, the intents row: the first lock in replicate runs settleReplicaIntent (replica.go), the replica half of resolveIntent, not resolveIntent itself.
  • Section 1a, the settleReboot row said only "ownsRunLocked is false. It deletes the gate." That is the case of a swap that lands while it waits on the record's lock. A timer that fires after the swap stops earlier, at beginVolumeRun with ErrReplaced, and the gate is already gone because dropClaimLocked deleted it. The row now states both.
  • Section 1b listed the passes that copy records out of m.claimed but left out two: sweepOrphanArchives → reconcileOwnRow (archive_row.go) and fenceHeldArchives → fenceHeldArchive (adopt.go). Both take the record's Transition with TryLock and then skip a record that holdsLocked refuses, before any registry write.

No behaviour described by the file changed. Gate on this head: lint 10 × 0 issues., asl and fmt clean, race tests green on darwin and in a Linux container.

CMGS added 2 commits December 1, 2026 20:06
…stops, and two more passes that copy records
…s row names the unchecked write and what makes it safe
@CMGS
CMGS merged commit b35081c into main Dec 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant