Repository navigation
tests: solver-check filter test is Linux-only (#7619) - #7620
Merged
Merged
Conversation
#7619) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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 one real failure behind #7619 (Full Suite Gate, run 41720129293 on main).
What failed
test_the_solver_check_filter_survives_a_case_the_pr_deletedfailed on both Windows legs (3.11, 3.12):(0, []) != (0, ['here']). It runs thebash -efilter line fromsolver-check.yml, a step that only runs on the ubuntu runner. On Windowsbashis WSL or Git-bash, andwrite_textwrotecases.txtwith CRLF, so[ -f "...$c.json" ]sawhere\rand missed the file. The three cancelled macOS jobs (20-25 min, no test failure) are infrastructure; rerun them.Change
tests/tools/test_infeasible_outcomes.pyonly: the test is skipped off Linux (as in the sibling workflow-bash tests), the fixture files are written as bytes (no CRLF), and the helper asserts the return code with stderr. Not reproduced on Windows; the CRLF cause is inferred from the code and the failure output.Class sweep
Class: a test that runs a Linux-only workflow bash step is unguarded on Windows. Siblings checked:
test_referee_panel_workflow,test_ci_retry,test_cancelled_gates,test_full_suite_controlandtest_det_sweep_planalready skip off Linux. No other gap.Sibling gaps
None.
Lessons for agents
write_textemits CRLF on Windows: a file a bashread -rloop consumes must be written withwrite_bytes.Cross-repo: none.
🤖 Generated with Claude Code