Resolves the overlap with the merged checkpoint diagnostics: the merged
versions are kept, plus this branch's explicit map-proof mutation in the
two refusal tests (newer WAL appends alone no longer refuse). The bounded
stale-prepare test keeps the exact refusal reason check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Supplied distinct times show an advancing success updates LastAdvance
while an unchanged success, a refusal and a failure keep it; the
starved-checkpoint test now requires the second advance to be later.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CheckpointPersistenceStatus now carries the persisted CheckpointLSN and
the count and time of the checkpoint calls that moved it. A success that
was clamped or left the checkpoint unchanged is not an advance, so a
starved checkpoint shows Successes rising while LastAdvance stays frozen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The self-hosted runner keeps GOCACHE/GOMODCACHE on disk; the setup-go post
step uploading them (~4 GB) outlasted the 25-minute job timeout after all
tests had passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The extension write is held only when every eligible volume (and the
clean volume) has positive host validity at the frozen instant, read from
its own renewal view; under the hold every renewal started before the
writers must grant (any refusal fails).
- The clock is frozen through the set-up binds (fsync writes could outlast
a TTL and expire the first-bound volume before its renewer started) and
from the hold until the clean volume's revoke ACK (queued behind every
extension write); it then resumes from the frozen instant.
- The clock unit test registers stop + a bounded join before its readers
start, so every exit settles them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fold (codex01, test only): the frozen check, time.Now and the offset
were separate reads, so a reader paused across freeze+release could see the
clock go backwards. leaseTestClock serializes Now/Freeze/Resume/SetOffset
under one mutex and never returns an earlier time than a previous Now.
TestLeaseTestClockMonotonicAcrossFreezeResume runs readers across 50
freeze/resume transitions. The held-entered and under-hold progress waits
get 30 s real-time failure exits (never a pass); the cleanup releases the
hold and joins every worker.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>