Repository navigation
fix: golden bless/check refuse when a regex timeout excluded files (#4247) - #4452
Merged
Merged
Conversation
…4247) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
Contributor
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.
Closes #4247
New
tests/golden_timeout_guard.pyreads the excluded queue (5. Unparsable Artifacts (Excluded Artifacts Queue)) of the fresh scan and flags any timeout-class reason ("Global Regex Timeout", "Thread Timeout (Regex ReDoS)"). No committed golden master holds one.update_golden_master.py: exits 1 before writing, naming the files and suggesting a quieter rerun under golden-lock.sh;--allow-timeouts(orGITGALAXY_GOLDEN_ALLOW_TIMEOUTS=1) forces it, loudly.test_golden_crucible.py(check): fails with the same message ahead of the diff.crucible_check.py:--updatepreviously ignored the bless subprocess's exit code; it now returns non-zero if a leg refuses (stops before the next leg), and the check output prints the timeout message in preference to the drift.tests/test_golden_timeout_guard.py(synthetic audit with a timeout-excluded file: guard, check, bless refuse/force, crucible_check exit code). 29 passed with test_golden_store. ruff and mypy audits clean. No golden masters touched, so no bless was needed.Not run locally: a full crucible check (no engine change; guard is tested with synthetic audits).
🤖 Generated with Claude Code
https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz