Skip to content

tests: solver-check filter test is Linux-only (#7619) - #7620

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7619-20261103T2152Z
Nov 3, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7619-20261103T2152Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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_deleted failed on both Windows legs (3.11, 3.12): (0, []) != (0, ['here']). It runs the bash -e filter line from solver-check.yml, a step that only runs on the ubuntu runner. On Windows bash is WSL or Git-bash, and write_text wrote cases.txt with CRLF, so [ -f "...$c.json" ] saw here\r and missed the file. The three cancelled macOS jobs (20-25 min, no test failure) are infrastructure; rerun them.

Change

tests/tools/test_infeasible_outcomes.py only: 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_control and test_det_sweep_plan already skip off Linux. No other gap.

Sibling gaps

None.

Lessons for agents

  • write_text emits CRLF on Windows: a file a bash read -r loop consumes must be written with write_bytes.

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 3, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 3, 2026 21:56
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 3, 2026 21:57
@squid-shepherd

squid-shepherd Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit b99f22a into main Nov 3, 2026
59 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7619-20261103T2152Z branch November 3, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant