The fork row no longer names a claim: every attempt of a fork reads its
parent again. Rows main changed keep main's text; count recomputed from
the tables.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
When TestWorkspaceLeaseGuardSurvivesSlowAuthorityStore fails it now
prints the longest gap between successful renewals, the gap when the
fence was seen, and the cause the guard records, so a starved runner
can be told from a guard that fenced with renewals in time. No bound
changed, nothing skipped.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Review fold: the light set dropped the four heavy packages even when the PR
changes them, so a PR's own Red-first tests there first ran in a train. The
step now adds back each heavy package with a file of the PR's diff in it
(checkout depth 2: the merge commit and its base parent).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
core/storage, core/frontend/durable, core/host/master and core/authority
take minutes each and hold the timing-sensitive tests; under the CI host's
lowered I/O and CPU weight they reached the 10 minute package timeout on
PRs that do not touch them. A PR now runs every other package; pushes to
main and train PRs run the full list. Branch names reach the script only
through the environment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chunk commands' single-filer start check now comes from main; this
branch's own copy and its tests are removed. verify runs the check
inside its --timeout: against a split filer view it would report false
findings.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Train 8 carries the fork-claim removal; the three docs conflicts resolve to
the no-claim union: the claim-free Fork, Retention and diagram text with this
part's Hydrating/Owning rows and steps; INV-RESTORE-PARENT-HOLD-001 archived;
both B.6 notes; the S10 row is the no-claim model, S11 ForkDelete kept.
Ledger recounted from the tables: 138 rows, 118 ACTIVE, 17 STUB, 3 ARCHIVED,
123 new.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The free space of the side file's filesystem (--durable-root, statfs on
Linux) is read at each cut, for the staging bound and when the copy
window opens; a read error counts as no free space. At the cap the cut
aborts (cow_capacity) and the guest write completes. Adds Part E.
Quantities to the ledger with this row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A per-volume worker takes a named snapshot of class scheduled once per
period, through the same seal path as an explicit snapshot (resolve the
request, one urgent cut, record that cut's HEAD). A restoring volume
(chunks its HEAD names still absent) is skipped and counted; a failure
keeps the control endpoint's code and is retried with a backoff doubling
from 1m to 1h; status carries the schedule state and snapshot_overdue.
Retention keeps the newest N scheduled snapshots (N from the newest one's
swb.schedule.keep label) separately from other snapshots.
--chunk-snapshot-schedule=daily:N|weekly:N|off, default daily:7.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The suite writes real files with fsync to the self-hosted runners' disk:
about 650 GiB an hour on tp04 today, most of it from repeated runs on Draft
PRs and from the second full pass with the legacy-fixture tag on every PR.
A Draft PR now runs no Go suite (marking it ready starts one), and the
legacy-fixture pass runs on pushes to main and on train PRs, which carry
every change that merges.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The three deadlock failures of
TestWorkspaceLeaseConcurrentRenewalsWritersExtendersClose now print the
stack of every goroutine. One CI failure of this test gave no way to see
where the parties were blocked. No timeout changed, nothing skipped.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
docs/status-schema.md is generated from the Go field comments (#341);
#338 rewrote the StageRounds comment group, so the composed train needs
the page regenerated (STATUS_SCHEMA_UPDATE=1). Docs only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pause's drain waits for every admitted I/O (two in flight), a pause
does not begin on an unusable backend, a drain that loses readiness
ends with an error, the sample history is bounded at 32, the round loop
retries only the named errors, the attach wait fails fast on a terminal
state, a plain-detach stop refuses a closed backend. Tests only.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The test records the owned goroutine's settlement and Close's return with
sequence numbers and requires settlement first; before releasing it gives a
Close that does not join 200 ms to return while the goroutine is held. One
Close launcher (sync.OnceFunc) serves the body and the pre-registered cleanup,
which always cancels, releases and joins, also when GoOwned or the start wait
fails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The pacing test measures each admission from a time taken before the call,
a lower bound of the walker's own start, keeping the exact 8 fills, Gets
and admissions.
- The GoOwned test bounds every wait, pre-registers release and a bounded
join of Close, and witnesses that Close does not return while the owned
goroutine is held after its ctx ended (no sleep).
- The owner-close driver test releases the held provider call before the
owner's join at teardown, so its red case cannot leave a worker behind.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- OwnBatch, its cut candidates and its progress use one predicate: a chunk is
local when present or when every block was written locally (a guest
overwrite flushed before the walker reached it), so such a chunk is owned
with no fetch instead of stalling the driver.
- OwnBatch drops a remembered payload of a picked chunk that matched HEAD and
was never uploaded (no key), so the cut reads and uploads it under an own key.
- The driver runs inside the serving provider's lifetime (DurableProvider
GoOwned: ctx ends at Close, Close joins it); a closed provider admits none.
- Tests (each red without its fix): fully overwritten absent chunk owned with
no Get; equal keyless payload from a failed cut still re-owned; a second
start joins the running run (one walk); owner close cancels and joins a run
held in a provider call and no marker follows; Close joins GoOwned; the
pacing test requires all 8 fills and Gets and witnesses admission times.
- Restore diagram and bullet without claims (same text as the snapshot-delete
change).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The restore diagram's first state reads the parent (no claim, publish before
read time + deadline); the S10 model row is marked as the claim-era model.
The two post-GC checks go through chunksMismatch, which requires exactly the
expected indexes and every payload; a negative test shows a missing index is
caught.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The model this part rests on, as checked (no-claim variant; only comment lines
changed: seat and note names removed), with its 26 configurations: the
no-claim safe cfgs exhausted with no error (360 k to 2.75 M states), the
boundary G >= D on one clock (ForkDelete's G >= D + E + P with E = P = 0),
13 reds and 2 witnesses on their properties, and the claim-frame regression
cfgs. The claim-era configurations not re-run against this spec are removed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fork/restore versus snapshot delete model this change rests on, byte for
byte as checked (sha256 c9c7c7fa), with its 28 configurations: 11 safe
(exhausted, no error, 18,672 to 15.7 M states, including every boundary
G = D + E + P), 12 reds and 5 witnesses each on its expected property.
README rows; the invariant rows drop the simulation tag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On pull_request_target, base.sha is the base recorded when the PR was last
synchronised, so a PR opened before the spec-trace scripts landed checked
out a tree without them and failed with 'No such file or directory'.
github.sha is the base branch tip at the event; the diff still uses the
merge base of the PR's base and head.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing is stored about a reference except that a root carried it. An
object (a chunk or a manifest segment, by owner and key) has one outcome
from its one check; whether a reference to it is sound is a pure function
of that outcome and the reference, so the findings no longer depend on
which reference was seen first. An object that had a problem under any
reference seen and yields no finding is counted once.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>