A DORMANT row's code and test exist (the ledger legend), so the
invariant tests now require it to name a test and its cited .go paths
to exist, as for ACTIVE rows, and count it in the status log.
TestInvariantRowsNameExistingTests failed for the 11 DORMANT rows
before this change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At start, the leader master listed this filer and no other. A filer
added within about 15 seconds before the start, or at any time after, is
not detected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TestCheckSingleFilerNeedsEveryMasterToAnswer now requires the refusal to
name the master that did not answer, by its gRPC address or as given when
it does not parse, among those named for the last round. The bound may
also cut the favourable master's last call, so that master can be named
too. Dropping a master from the named list fails every case it covers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The archived INV-WS-HEAD-KEY-PROVENANCE-001 row keeps only why it was
retired and what replaces it; the old wording stays in git history.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shell's single-filer start check is the census itself. A filer
reporting one favourable master and one address that does not parse is
refused as invalid, naming that master and saying to rerun when it
answers. On main the favourable master passes alone. The census's own red
for the same case is the "address does not parse" case of
TestCheckSingleFilerNeedsEveryMasterToAnswer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the bound-classification fix with a rule without a clock. A
round passes only when every master answered, none refused, and at least
one listed exactly the configured filer. A master that does not answer,
for any reason and at any time (it stalls, answers DeadlineExceeded
before its deadline, is down, or its address does not parse), leaves the
round unconfirmed, and the masters are asked again. The bound only ends
the asking. Then the start is refused, naming the masters that did not
answer, with "rerun when they answer". The two time tests are replaced
by one rule test with no timing assertion, in both master orders. Price,
stated on the standalone page: a chunk volume does not start while any
master of the filer's group is unreachable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
singleFilerRound let an earlier favourable answer pass when a later
master's answer ended at the bound but arrived before the caller's
context was done. A gRPC server's deadline is the timeout the client
sent, so it runs out first and answers DeadlineExceeded. Now, when the
bound (not the per-attempt bound) ends a master's call and the call
fails by deadline, the round cannot pass: that master's view is unknown.
A stalled first master still costs one attempt, not the bound.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A gRPC server's deadline is the timeout the client sent, so a stalled
master answers DeadlineExceeded slightly before the caller's context is
done. The round then sees no bound passed and lets the earlier favourable
answer pass alone. That is the CI flake of
TestCheckSingleFilerFavourableThenStalledRefuses ("<nil> after 800.5ms").
The test master's early answer makes it deterministic; red on main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A PR from a fork keeps a GitHub-hosted machine: pull_request_target
starts for any PR without approval. The DOCS blob step wrote files by the
paths a PR's tree names, which git does not check when it prints a diff;
a crafted tree with '..' entries wrote outside the workspace. The step is
now a script that refuses such a path before any write, and both jobs
fetch the PR head with fetch.fsckObjects=true. spec trace sets up Go for
sametokens.go, which a self-hosted runner does not have on its PATH.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The spec trace and post-merge-review path checks read only the PR
description and git objects. On the organization's shared GitHub-hosted
queue they waited behind other repositories' jobs and held merges back;
the self-hosted runners are mostly idle since PR suites run GitHub-hosted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a DORMANT status to the ledger legend: the code and its test exist,
but no production path of this release reaches the code, so a release
note must not claim it. A list under the legend says what each such row
waits for.
- 11 rows set to DORMANT, each checked at the code for a production
caller: restore hydrate and own-batch, pre-copy and the frozen
detach's refusal precedence, W mode A and SetWMode, four reset rows,
and publish-settled.
- 7 rows re-cited to the code that enforces them now: the copy
window's abort, the foreign-reference check, the startup retry, the
holder's cleaning, the snapshot metadata's host functions, HEAD
monotonicity, and the snapshot limit (10, not 100).
- INV-WS-HEAD-KEY-PROVENANCE-001 archived: its mechanism was removed
at the store cutover; INV-SNAPK-COMMIT-REACH-001 replaces it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>