Repository navigation
#631 #662 #582 #710 #569 #672 #688 Bug bash round two: seven fixes, and the view bug underneath one of them - #719
Merged
Merged
Conversation
…s empty at construction The Data Flow touch rollup's first gate is `_systemArchetypeIds[sysIdx] != ushort.MaxValue`, resolved once in the TyphonRuntime constructor and, until now, gated on `ActiveClusterCount > 0`. That reads a transient condition to make a permanent decision: an application that builds its runtime before loading its data — the ordering every sample and every capture harness uses — leaves the system unbound for the rest of the session. The rollup being dead is the smaller half. The same resolution sets `_systemClusterStates`, which is what switches a parallel query system to cluster-RANGE dispatch. Left null, the system silently falls back to materializing a per-entity id list from its view, for good. Dropping the count is safe because a bound state whose count is zero was always reachable — nothing un-binds a system whose archetype is later drained — and both dispatch paths read the count live per tick: `PrepareFullNonVersioned` returns 0 chunks and the system is skipped as EmptyInput, `ExecuteChunkWithAccessor` computes an empty range. An archetype empty at construction and empty forever behaves exactly as before. The issue's own hypothesis is refuted, and the new fixture says so: it supposed the two gates were structurally antagonistic, gate 1 selecting exactly the systems for which gate 2 is always zero. Both pass together, at 1 and 4 workers, and `EntitiesProcessed` equals the entities the walk actually visited — asserted exactly, since an over-reporting gate would populate the panel with numbers nobody did. What made the harness capture empty is neither gate. An unfiltered `Query<T>().ToView()` is frozen at construction, so a system fed one processes only the entities that existed when its view was built — filed as #718 with two quarantined regression tests, and gate 2 was honestly reporting zero work. `SystemArchetypeIdOf` is new and internal: the binding is otherwise unobservable, which is why a rollup that emitted nothing went a full session without anyone being able to say which gate was shut. Runtime suite 409/0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
… archetype `BuildTierIndexesAtTickStart` carries a second, independent copy of the binding #662 fixed: when a tier-filtered parallel system has a null cluster state, it re-resolves one by scanning `ArchetypeRegistry` and taking the FIRST cluster-eligible archetype it finds, without ever consulting the system's input view. That is the pre-#662 defect verbatim, left behind in the recovery path when the construction site was corrected. In any schema with more than one cluster archetype it hands the system another archetype's cluster ids — a page-index-out-of-range throw when the counts differ, silent wrong work when they happen to match. It also never set `_systemArchetypeIds`, so a system rescued here kept gate 1 of the #327 touch rollup shut for good, which is the same failure the previous commit fixed at the other end. Now resolves the view's archetype by id and requires it to be cluster-eligible, which also drops the O(registered archetypes) scan. No test: the previous commit binds at construction whenever a `ClusterState` exists, so reaching this path needs a state that does not exist at construction and does later — I could not build that, and a test that cannot enter the path would assert nothing. Kept rather than deleted because "nearly unreachable" is not unreachable, and the correction is smaller than the argument for removing it. Runtime suite 409/0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
…riter that releases array first Face 2 only. Three sites in TyphonRuntime loaded `cs.ActiveClusterIds` and then `cs.ActiveClusterCount` — the dormancy promote, the checkerboard promote, and the non-tier chunk partition. That order hands the walk an array shorter than the count it indexes with, and it needs no reordering to fault: read the length-16 array, let a concurrent spawn resize and bump the count to 17, read 17, index 16. The result is an IndexOutOfRangeException out of the parallel-query prepare, on a worker thread. All five read sites now go through one `ReadActiveClusterList` helper, which acquires count then array and clamps. Concentrating it is the point — the two sites that already happened to load count first were right by accident, and there was nothing stopping the next one from being written either way. `AddToActiveList` releases the grown array before the count, which is the half a reader's acquire pairs with. It also stops using `Array.Resize`: that copies the whole old array rather than the live prefix, and, more to the point, hides which store publishes what. The tests construct the interleaving instead of racing for it. A 40 000-add spin — about twelve resizes — landed inside the two-instruction window zero times in three runs, so a stress test here would assert that a safe order is safe and nothing more. Four deterministic cases run in 4 ms, and one of them positively demonstrates the removed order producing count > ids.Length rather than merely asserting the new one does not. Face 1 is NOT fixed and NOT claimed: a walk racing `RemoveFromActiveList` can still see one cluster twice and skip the destroyed one, whose chunk is freed two lines later. That is a use-after-free and needs a snapshot or epoch protocol, not an ordering fix. Said so in the code and in the tests so nobody reads this commit as closing the issue. Runtime + cluster fixtures 566/0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
…satisfy, instead of refusing to open A hard crash on a SingleVersion archetype carrying a unique [Index], under the default TickFence discipline, produced a database that threw on EVERY subsequent open. The failing state is on disk, so it is not a transient recovery hiccup and there is no path back from inside the engine. Nothing along the way is a bug until the last step. TickFence does not make SV values durable per commit — documented, intended, and the reason DurabilityDiscipline.Commit exists. The lifecycle records ARE durable, so the archetype comes back with all 64 entities and all 64 values zeroed. RB-01 then rebuilds derived structures from primary data, and the primary data is now 64 identical keys. A unique index cannot represent that, so the second Add threw out of InitializeArchetypes, uncatchably. RB-01 has no clause for primary data that cannot satisfy the constraint the derived structure carries. Losing ≤1 tick of values is the documented trade; a database that will not open is not, and that is the only step here worth changing. The rebuild now drops the conflicting entries and reports how many. The entity stays alive and reachable by scan — the honest outcome, since the value its key was derived from no longer exists, so there is no key to index. The count is surfaced as a Warning naming the archetype, because trading an unopenable database for a quietly incomplete index would be the worse bargain of the two. Costs a throw per conflict rather than a pre-check: adding TryAdd across BTreeBase and both insert paths to spare a path that runs once, at open, on a database that has already lost data is not the trade to make. `SvWithUniqueIndex_AfterHardCrash_StillOpens` comes out of quarantine, and gained the assertion that matters — the drop count must be non-zero. "It opens" is equally true of a rebuild that never ran or an archetype with nothing to index, and both would have satisfied every other assertion in it. AxisArchetypes 50/0; durability + recovery 163/0 (the one red is #389's quarantined PayloadAxes_SurviveACrash, red on main before this branch). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
…se the last acceptance gap
`ApplySlotToExisting` and its `RecoveryDriver` routing already shipped; two acceptance criteria were still open, and one of them could not be checked as the code stood.
CM-03 — last-writer-wins for two updates to the same slot in one window — turns out to be covered: `CrossFrontierUpdate_TwoWritesInOneWindow_RecoversTheLastOne` carries `[VerifiesRule("CM-03")]` and is green across all three storage homes.
The FenceBlock criterion was the unfalsifiable one. `RecoveryDriver` expands a columnar block into exactly the per-(entity, slot) shape the per-entity Slot records produced, on purpose — which means every existing assertion passes identically whichever format carried the value, and a test claiming to cover the block path would have been indistinguishable from one that never saw a block.
`Result.FenceBlockRecordsExpanded` makes the difference observable, and one case asserts on it. ClusterSv only, and deliberately not through `PostRecoveryShapes`: the flat homes emit no blocks, so running them would assert zero and fail for behaviour that is correct.
Measured on the new case: `scanned=25 applied=8 maxLsn=25 fenceBlockExpanded=8` — every applied record reached the applier through the block path, not one of them as a Slot record.
Cross-frontier fixtures 8/0.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
This was referenced Aug 8, 2026
Closed
…ion from the previous commit The ordering fix rewrote `AddToActiveList` to read `ActiveClusterIds` and `ActiveClusterCount` into locals, grow a local copy, and publish. That is the obvious way to make the release order explicit, and it is wrong: the original re-read both FIELDS at every step, so a concurrent add could not leave it holding a stale array with a fresh count. Caching them widened the writer's own (array, count) window, and `ParallelSpawn_SameArchetype_AllEntitiesUnique` began throwing IndexOutOfRange — the very exception face 2 exists to remove, reintroduced by the fix for it. Caught by the full suite, not by the targeted fixtures, which is the argument for running it. Back to the original field-reading shape, keeping only what the fix actually needed: the count store is a release. The array store above it stays plain deliberately — `Volatile.Write` cannot let a preceding store sink past it, so a reader that acquires the count is still guaranteed to see the grown array. The reader half is unchanged and still correct. This does not make concurrent adds safe against each other; it restores exactly the concurrency the method had before, which is the scope this issue's face 2 covers. ActiveClusterList + ParallelSpawn 5/0, ParallelSpawn 3× green. Full suite 5048/0/14. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
…zeroed component `PointInTimeAccessor.Create` allocates a TSN and registers nothing, so `ComputeNextMinTSN` — which walks the transaction chain to decide how far back revisions must be kept — cannot see the snapshot. Any committing writer may trim below it. The chain walk then finds nothing visible, the caller leaves the location at 0, and the read hands back an all-zero struct: wrong data on a public API, indistinguishable at the call site from legitimately-zero data. Cleanup already computes the value; `TransactionChain.RetainedMinTSN` publishes it as a monotonic interlocked max, from `ComputeNextMinTSN` itself — every caller computes it in order to trim to it, so one publication point covers the trim sites without having to enumerate them. Deliberately NOT giving the accessor retention. Retention means chains stop being trimmed while a snapshot is live, and `RevisionChainReader.TryWalkSingleEntryOptimistic` — the lock-free fast path for every Versioned read in the engine — is predicated on chains being one entry long. That would hand any caller a way to silently degrade MVCC read performance engine-wide by holding an accessor too long, or leaking one. The check sits in the FAILURE branch of the walk, not ahead of the read. A successful read pays nothing, not even the watermark load, and a walk that fails for a legitimate reason is left alone unless the snapshot is also demonstrably below the floor. Scoped to PTA worker accessors: a Transaction registers in the chain, so a walk failure there means something else. Measured before writing it, and the measurement is why this was safe to do. A counting probe over the full suite: exactly TWO revision-chain walk failures in 5044 tests, both PTA reads, both below the watermark, none from a Transaction. Flipping the probe to throw named the blast radius as a single test — the other reported failure was NUnit misattributing a throw across parallel fixtures, and both allocator fixtures pass alone. That single test is the interesting part. `MultipleSnapshotsSequential_MVCCVisibility` spawned `Value = 0` and asserted the older accessor still read 0 after a mutation — which is exactly what a destroyed snapshot returns. It was passing whether MVCC isolation held or not. It now spawns 7. The three tests quarantined against this issue are back, adapted to the enforced contract, and a new control pins why the contract is fail-fast rather than retention: a read-only Transaction keeps its snapshot across the identical write, through the registration the accessor skips. Suite 5048/0/14 — skipped drops from 17 as the three return. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
The second half of this issue, and the more insidious one. In the legacy per-component branch, `CopyLocationsFrom` seeds every slot with the entity record's stored value — for a Versioned slot that is the CHAIN ROOT — and the walk was expected to overwrite it with the visible content chunk. On failure it did not; it just `continue`d, leaving a CompRev chunk id in a field the reader dereferences as a CONTENT chunk id. That does not read as zero. It reads whatever happens to occupy that id in the content segment — a wrong VALUE, which is strictly harder to notice than a zeroed struct. It is also why three PointInTimeAccessor tests passed before the #629 eligibility flip: chunk id 1 in the CompRev segment named chunk id 1 in the content segment, which still held the pre-update value. The flip did not break those tests; it stopped a coincidence from covering for them. Zeroing is not a good answer. It is an honest one, it is what the cluster branch already does, and for a PointInTimeAccessor the preceding expiry check now turns the same condition into an exception before it can be reached at all. Verified against the suite's own noise rather than against a single run. Unmodified main flakes about one full-suite run in three under parallel load — measured 1/3 red here, different victim each time (`Stress_EnumerationDuringMutation`), which is neither of the network-timing flakes the #514 notes describe. Three consecutive runs green with this change, on top of three at the previous commit; the intermittent reds seen mid-investigation sat inside that pre-existing band and none reproduced. Filed separately. Full suite 5048/0/14, three times. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
7 tasks
…-01/02 Thirteen tests across four fixtures now name the rule they verify, and the coverage matrix is regenerated: 183 → 190 rules, 18 → 24 with a verifier, 15 → 19 fatal-with-verifier. Every axis up, so the ratchet has nothing to block. The audit earned its keep on the way through: the durability rule was drafted as RB-05, which already exists, and the id-uniqueness check refused it as blocking. Renamed to RB-07 in the same pass — a silent collision would have made both rules unciteable by anything that indexes by id, including this audit. BIND-02 has no verifier and is not tagged. The path it governs is nearly unreachable after BIND-01's fix, and a test that cannot enter a path would only add a green row. Suite 5048/0/14 (the one red seen mid-run was #720's flake band — the same run re-executed clean, which is the whole reason that issue exists). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
…e filesystem Three places asked the filesystem directly whether a WAL window exists: `DatabaseEngine`'s `WalFilesPresentAtOpen` gate, `WalRecovery.DiscoverSegments`, and `RecoveryDriver`. All three did `Directory.GetFiles(walDir, "*.wal")`, so an injected WAL backend is structurally undiscoverable — the engine can hold a full window in memory and still conclude there is nothing to recover. They now ask `IWalFileIO.EnumerateSegmentPaths`. This is a prerequisite, not the fix, and the measurement says so plainly. With honest discovery and nothing else changed: **110 engine opens on an in-memory backend, 0 of them take the crash-recovery path** — exactly as before. The reason is the second half of the problem, which this commit does not touch: `TestBase` registers `IWalFileIO` as SCOPED, and the in-memory backend keeps its segments per instance, so every reopen through a fresh scope gets an empty one. Nothing to discover, honestly or otherwise. Flipping that registration to singleton, as an experiment, moves it to **107 of 110** — and costs four failures, all in reopen fixtures, all saying the same thing: "the reopen must LOAD the persisted index directory, not rebuild the trees". Those tests assert the clean-reopen path, and a disk-backed engine does not take it either: `WalFilesPresentAtOpen` is true whenever segments exist, and segments survive a clean shutdown. They are green today for the same reason #672's tests were green — a coincidence of test topology, not a property of the engine. So the experiment is reverted and reported on the issue rather than shipped. Whether a clean reopen with segments present should rebuild indexes or load them is a design question with CS-01..03's clean-shutdown flag available to answer it, and it deserves its own change rather than riding along here. What lands is the honesty: the question "does a WAL window exist?" is now answered by the component that owns the WAL. Suite 5048/0/14. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk
This was referenced Aug 10, 2026
nockawa
added a commit
that referenced
this pull request
Aug 10, 2026
The rule database sat in the private docs repo because it is markdown, but it is not prose about code — it is checked against it: ~185 `scope:` lines name C# symbols, 70 `[VerifiesRule]` attributes name rule ids, and the ratchet baseline counting them already lived here. The boundary cost a PAT in a public repo's CI, an audit fork PRs silently skipped, a path filter blind to rule edits, two steps that guessed the companion branch by name, and a deadlock where each gate demanded the other repo merge first (#702, #717, #719 — main red for twelve hours). All deleted rather than tuned: a rule, its verifier and the code it scopes now land in one commit. IXW-03 arrives carried through the one conflict this move can produce, with the count it changes. `rules/` sits at the root — a contract, not documentation output. The scope check runs in `invariants`, unconditionally, because an unresolved `scope:` symbol is a source-side defect no rules-path filter would see. `--skip-if-no-rules` is gone: a gate that can decline to run is one a reader must check the logs to trust. `check-doc-links.py` inherits the enforced tier `check-doc-drift.py` gives up.
This was referenced Aug 15, 2026
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.
Second bug-bash session. Seven commits, one per defect, on top of
main@2028e81b.Two of these were found while fixing something else, which is most of the story: #631's stated hypothesis was wrong and the real cause turned out to be an unfiled P0, and #672's fix was only safe to write because a measurement said its blast radius was one test.
Fixed
#631 — a parallel system never binds to an archetype that was empty when the runtime was built. The binding is resolved once, in the constructor, and was gated on
ActiveClusterCount > 0— a transient condition deciding a permanent fact. Build the runtime before loading data (what every sample and capture harness does) and the system is unbound for the session: no touch-rollup row, and it silently falls back to materializing a per-entity id list instead of taking cluster-range dispatch. The issue's own hypothesis — that the rollup's two gates are structurally antagonistic — is refuted by the new fixture: both pass together at 1 and 4 workers, andEntitiesProcessedequals the entities the walk actually visited, asserted exactly.#662 — the same binding, wrong again in the recovery path.
BuildTierIndexesAtTickStartre-resolves a null cluster state by taking the first cluster-eligible archetype in the registry, never consulting the system's view. That is the pre-#662 defect verbatim, left behind when the construction site was corrected. No test: the #631 fix makes this path nearly unreachable, and a test that cannot enter it would assert nothing — kept anyway, because nearly unreachable is not unreachable.#582 face 2 — the active-cluster list was not readable as a pair. Three sites loaded the array then the count, which yields an array shorter than the count indexing it. No reordering needed to fault: read the length-16 array, let a spawn resize and bump the count to 17, read 17, index 16. All five read sites now go through one ordered helper. Face 1 is not fixed and not claimed — a walk racing a destroy can still visit one cluster twice and free another underneath it.
A second commit fixes a regression the first one caused: rewriting
AddToActiveListto cache the array and count in locals — the obvious way to make the release order explicit — widened the writer's own window and reintroduced the exactIndexOutOfRangeface 2 exists to remove. Caught by the full suite, not by the targeted fixtures.#710 — a crash made a database permanently unopenable. Nothing on the path is a bug until the last step: TickFence legitimately loses ≤1 tick of SingleVersion values, lifecycle records survive, so the archetype returns with all 64 entities and all 64 keys zeroed — and rebuilding a unique index over them threw out of
InitializeArchetypes, from on-disk state, so every subsequent open repeated it. RB-01 has no clause for primary data that cannot satisfy the constraint its derived structure carries. The rebuild now drops the conflicting entries and logs a Warning naming the archetype and the count. Came out of quarantine.#569 — the last acceptance criterion, made falsifiable.
ApplySlotToExistingalready shipped; CM-03 was already covered. The FenceBlock criterion could not be checked at all, becauseRecoveryDriverexpands a columnar block into exactly the shape the per-entity Slot records produced — so any test claiming to cover it was indistinguishable from one that never saw a block.Result.FenceBlockRecordsExpandedmakes it observable. Measured:applied=8 fenceBlockExpanded=8.#672 —
PointInTimeAccessorreturned zeros instead of failing. It allocates a TSN and registers nothing, so the cleanup that decides how far back to retain cannot see the snapshot and is free to trim below it.TransactionChain.RetainedMinTSNpublishes the floor; a walk that finds nothing at a PTA TSN below it now raisesSnapshotExpiredExceptioninstead of handing back a zeroed struct. Deliberately not retention — that would let any caller degrade the engine-wide lock-free Versioned read path by holding an accessor too long.The check sits in the walk's failure branch, so a successful read pays nothing, not even the watermark load. A second commit fixes the other half: the legacy path left the chain ROOT in the slot's location on failure, which is then dereferenced as a content chunk id — that reads a wrong value, not a zero, and is why three PTA tests passed before the #629 flip.
Measured before writing it. A counting probe over the whole suite found exactly two revision-chain walk failures in 5044 tests — both PTA reads, both below the watermark, none from a Transaction. Flipping the probe to throw named the blast radius as a single test. That test,
MultipleSnapshotsSequential_MVCCVisibility, was passing for the wrong reason: it spawnedValue = 0and asserted the older accessor still read0after a mutation, which is exactly what a destroyed snapshot returns. It now spawns 7. The three tests quarantined against #672 are back and green, with a new control showing a read-onlyTransactionkeeps its snapshot across the identical write.#688 step 1 — WAL segment discovery goes through the backend.
WalFilesPresentAtOpen,WalRecovery.DiscoverSegmentsandRecoveryDriverall scanned the filesystem directly, so an injected WAL backend is structurally undiscoverable. Measured: with honest discovery and nothing else changed, 110 in-memory engine opens still take the crash path 0 times — becauseTestBaseregisters the backend as scoped and every reopen gets a fresh empty one. Flipping that to singleton moves it to 107 of 110 and costs four failures, all reopen fixtures asserting the clean-reopen path that a disk-backed engine does not take either. That experiment is reverted and reported on the issue: whether a clean reopen with segments present should rebuild or load its indexes is a design question with the CS-01..03 clean-shutdown flag available to answer it, and it deserves its own change.Filed, not addressed
#718 (P0) — a system's input View is frozen at construction.
Query<T>().ToView()with no predicate takesToPullView, which registers with noViewRegistryand is never refreshed. A system fed one processes only the entities that existed when its view was built: spawn 10, start the runtime, spawn 10 more, tick —ctx.Entities.Countstays 10 forever, while the other 10 are committed, durable and queryable. Adding aWhereField— a narrowing — is what silently switches you onto the live path. This is #631's actual cause, and it is bigger than the telemetry symptom that found it. Two quarantined regression tests are in this branch.#720 (P1) — the full suite flakes about one run in three on
main, with a different victim each time. Measured across three baseline runs on unmodifiedmainand six more on this branch:Stress_EnumerationDuringMutation,ParallelSpawn_SameArchetype_AllEntitiesUnique,ConcurrentAllocateAndFree_MaintainsConsistency,Transient_SpawnDestroy_Throughput, and one run that aborted with a host crash naming nothing. Each failed once and never repeated. None are the network-timing flakes the #514 notes describe. This is filed because it defeats attribution: it is the reason establishing amainbaseline was necessary above, and without it I would have either shipped the #582 regression or reverted a correct fix.Also commented, not changed: #548 — its premise shifted. After #629/#680 made every archetype cluster-eligible, a
[SpatialIndex]archetype either requires a grid (and the per-component R-Tree stays empty while the grid serves queries — measuredcount=0againsthits=1) or is refused at registration. The chunk-id-keyed back-pointer is exactly as the issue describes, but I could not construct an archetype that reaches it. WhetherSpatialMaintaineris reachable at all now decides whether the fix is a re-key or a deletion. #688 — step 1 is two changes, not one:IWalFileIOneeds segment enumeration and the injected backend must outlive a scope, sinceAddScopedhands every reopen a fresh emptyInMemoryWalFileIO.#623 closed as already fixed — resolved by #662/#629 as support it, not reject it; 11 navigation tests green including all three SingleVersion cases.
Housekeeping
#716 was auto-closed by mistake and is reopened. The PR #717 message read "Filed, not fixed: #716" — GitHub's closing-keyword parser matches
fixed: #716and ignores the negation. Worth knowing before writing another "what we did not do" section.#695 closed (its livelock was fixed in #717; the reproducer's remaining failures are #696's, retargeted). Seven round-one issues moved to Done; #696 and #718 added to the board.
Verification
Full suite 5048 passed / 0 failed / 14 skipped with the gate's
Category!=Quarantinefilter, three consecutive runs. Skipped drops from 17 as #672's three quarantined tests return.Baseline stated explicitly because of #720: unfiltered,
mainhas 6 pre-existing reds, all quarantined — includingPayloadAxes_SurviveACrash(#389) andSvWithUniqueIndex_AfterHardCrash_StillOpens, the latter fixed and un-quarantined here. Verified against a clean build of unmodifiedorigin/main, not assumed.QUARANTINE.md: 9 → 8 rows (#710 out), plus two
[Ignore("#718")]entries which the suppression lint accepts.🤖 Generated with Claude Code
https://claude.ai/code/session_01FE5GUBSF5D1DhyPAuTBbYk