Repository navigation
Size the recovery-test time budgets for slow CI runners (flake fix, tests only) - #107
Merged
seathatflowsinourveins merged 2 commits intoSep 23, 2026
Merged
Conversation
Two RecoveryTests (admission-freeze owned exit; partial buy cancel then nine-decimal exit) failed intermittently in hosted CI with needs_attention: the fake port publishes one quote at start and the fixture allowed it 50 ms of freshness, which the snapshot/ledger writes before the exit can exceed on slow disks. Reproduced deterministically by injecting an 80 ms snapshot delay (old budgets: 2/2 fail; new: 0/2). The fixture now allows 1 s quote age and a 3 s recovery deadline; the deadline test keeps its 1 s budget and the 30 s-stale quote case still fails. Engine code is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
seathatflowsinourveins
deleted the
claude/recovery-test-timing-20260923
branch
September 23, 2026 05:24
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.
Summary
tests/test_adaptive_paper_recovery.py. Two tests hit'needs_attention' != 'passed':test_admission_freeze_does_not_block_confirmed_owned_exit(seen on Require the promotion-gate result to report every named gate check (SYN) #77) andtest_partial_buy_cancel_then_exact_nine_decimal_exit_after_expired_trial(seen on Let catalog-freshness open a reviewable, off-by-default evidence PR #95, reported by a peer session).start(), and the fixture setquote_max_age_seconds = 0.05. Recovery requires a fresh quote before the owned exit, and the snapshot and ledger writes in between can take longer than 50 ms on a slow CI disk. The quote then goes stale,recovery_quote_not_freshis raised, and the result isneeds_attention.Evidence
tests.test_adaptive_paper_recovery: 21 OK under both interpreters.python3 -m unittest: 2624 OK (330 skipped).validate.py,validate_catalogs.py,trading_gates.py --check,evidence_manifest.py --checkandbuild_ecosystem.py --checkall rc=0.🤖 Generated with Claude Code