Repository navigation
Crucible path check: a fuse timeout in one scan is rescanned, not reported as path dependence (Part of #8208) - #8209
Merged
Conversation
…orted as path dependence (Part of #8208) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
4 tasks done
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.
Fixes the red
Crucible Path Independencerun on main (#8208, run 42758175120).Cause
Not path dependence. The log shows
TIMEOUT FAILSAFE: 'typescript/typescript_compiler/checker.ts' exceeded 60sin one of the two scans, which run concurrently (#5500) and starve each other on a slow runner. One file fewer (3363 vs 3364 evaluated) shifts every PageRank, hence 16756 "differing" leaves. The previous dispatch passed, and no commit between the two touches scanning.Change
tests/tools/crucible_path_check.py: read each scan log forTIMEOUT FAILSAFEfiles. If the two sets differ, rescan sequentially once. If they still differ, exit 3 naming the files ("timeout asymmetry, not path dependence"). Symmetric timeouts and real path differences (exit 1) behave as before. The engine fuse is deliberately untouched (golden-master rules)..github/workflows/crucible-path-independence.yml:timeout-minutes10 -> 20 to cover the sequential retry.tests/tools/test_crucible_path_check.py: parsing, asymmetric-then-clean retry passes, persistent asymmetry exits 3, symmetric timeout compares, existing real-diff cases unchanged.Class
Class: a scan-vs-scan comparison treats a load-induced fuse timeout in one scan as a real difference. Siblings checked: no other tool in
tests/toolspairs concurrent scans for comparison; the golden check scans once against a committed master.Sibling gaps: none.
Gates
pytest (11 passed, run from an unrelated dir),
ruff format --check,audit_check.pyall clear. After merge,workflow_dispatchthe workflow to confirm green on main.Lessons for agents
TIMEOUT FAILSAFEline in the scan log, not a path rule.🤖 Generated with Claude Code