Repository navigation
Description
Summary
Typhon.Workbench.Tests.FixtureConfigTests.Stress_Config_Completes_Without_Backpressure_Timeout fails 2 runs out of 2 on the self-hosted aws-gate runner at main = 12eaa446:
System.InvalidOperationException: B+Tree insert made no progress in 10000 pessimistic retries.
The descent keeps reaching a leaf it can neither validate nor modify, which no further
retrying resolves. This is a liveness defect in the tree, not contention (see #695).
Run 31446209914, original + re-run of the same commit.
It is not a flake
The re-run is the discriminator, and it is unambiguous:
| Run | engine shard | Workbench |
|---|---|---|
| original | initial-failed=2 → both recovered on retry, FLAKED … NON-blocking |
failed |
| re-run | initial-failed=0 — completely clean |
failed, same test, same exception |
The engine suite's retry net was not even exercised the second time. shard.py's own rationale is the right lens: "a REAL regression fails every attempt". This fails every attempt. Adding a retry around it would not help and must not be used to hide it.
Why it surfaced now — the part worth acting on
The Workbench suite is gated behind a path filter that matches tools/Typhon.Workbench/** only:
workbench:
- 'tools/Typhon.Workbench/**'So src/Typhon.Engine/** changes never run it. Confirmed on three consecutive merges:
| Run | Merge | Workbench suite |
|---|---|---|
| 31417824609 | #765 (engine) | did not run |
| 31434839913 | #769 (engine) | did not run |
| 31446209914 | #772 | ran — 617 tests |
PR #772 happened to touch one Workbench SPA file, which flipped the filter on and surfaced a pre-existing failure. This is not a #772 regression — that PR changed no B+Tree file and no concurrency primitive; its only live-path change writes 2 bytes into previously-free page-header space [54,58), leaving chunk capacity and node packing untouched.
The real defect is that an engine stress test is gated behind a Workbench path filter, so the gate's heaviest page-cache/B+Tree stress case is invisible to engine-only changes. Its own doc comment says what it is:
"exercises the page-cache dirty-counter drain harder than the prior fixture did (project memory: DC inflation issue #133)"
The (see #695) citation is stale
#695 was "can livelock forever in SpinWriteLock" and is closed — fixed by bounding the spin at 10,000 retries and throwing. That fix is working as designed: the hang became a diagnosable throw.
What remains is the underlying liveness defect the throw now reports, which is the #739 / #679 / #297 family. #739 is the only one still open. This may well be the same root cause, but I have not proven it, so this is filed separately rather than folded in.
The message text should stop citing a closed issue.
Proposed handling
- Move the test into
Typhon.Engine.Testsso engine changes actually run it (it already has theTyphon.Workbench.Fixturesproject reference) -
[Category("Quarantine")]against this issue + aQUARANTINE.mdrow, somainis green while the cause is unfixed and the nightly still runs it - Extend the retry net to the Workbench suite — separate structural gap, would not have helped here
- Drop the stale
(see #695)from the exception text - Reconsider whether
src/Typhon.Engine/**should trigger the Workbench suite, or whether every engine test living there should move
Reproduction
Self-hosted gate runner only; passes locally in Release. RUN_WORKBENCH=true is required for it to execute at all.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Estimate
Area
Start date
Target date
Bug status
Product
Projects
- StatusShow more project fieldsTodo
Activity
#774 Merge main
#774 The gate has been running green on engine merges while its heavi…
Make the gate reproducible locally, and stop quarantine depending on …
The merge gate skips the credentialed jobs on a fork PR instead of dy…
Fork PRs get a path to green through an approval on the PR, and fork …