Repository navigation
test: keyword-fallback tests get a source-check budget no CI runner can exhaust - #329
Merged
Merged
Conversation
…an exhaust The 4.2.31 full suite on Linux failed test_fallback_applies_project_and_kind_facets with ids == set(): the fallback's source check overran its 0.5 s production budget on a busy runner and, failing closed, returned nothing. The test is about facet filtering, not timing. A shared autouse fixture now gives the server tests a 10 s budget (the CLI fallback test passes it explicitly); tests about the budget pass their own value and keep it. Forcing the fixture to 0 s reproduces the CI failure exactly. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
What this changes
Test-only. The keyword-fallback tests stop depending on how fast a CI runner is.
Why
The 4.2.31 full suite on Linux (run 44608340138, shard 5) failed
test_fallback_applies_project_and_kind_facetswithids == set(). The fallback's source check overran its 0.5 s production budget on a busy runner and, failing closed by design, returned nothing. The same test passes on macOS and locally. The test is about facet filtering, not timing.How it was tested
tests/test_server/conftest.py) sets a 10 s budget; the CLI fallback test passes it explicitly. Tests that check the budget itself pass their own value and keep it.AssertionError: set()).runner=ubuntu-24.04).Type of change
🤖 Generated with Claude Code