Skip to content

Python 3.10 + Windows: fix the Full Suite Gate legs red on main (Part of #4836) - #4837

Merged
squid-protocol merged 8 commits into
mainfrom
fix/4836-py310-windows
Oct 10, 2026
Merged

squid-protocol merged 8 commits into
mainfrom
fix/4836-py310-windows

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4836. The OS × Python matrix (full-suite-gate.yml) had 0 green runs in its last 40 on main; it isn't a required PR check and nothing watched it. Owner decision: Windows stays supported, and 3.10 is declared (requires-python >= 3.10).

Failures Cause Fix
13 per 3.10 leg evidence_report.crucible_pins imports tomllib (3.11+) read the manifest with tests/_crucible_manifest (its 3.10 fallback parser)
8 per Windows leg test_crucible_pins fixture writes repo = "C:\Users...": backslashes are TOML escapes, and the 3.10 reader refuses them as_posix()
DELETEQ TS stub ggcics.c: Windows' remove() deletes files only, so the queue directory stayed RMDIR (_rmdir/rmdir) beside the existing MKDIR macro
crucible_case / cics_case_ports the generated gen.py embedded "C:\Users..." (a \U escape, so a SyntaxError) as_posix()
cics_census, cics_spec relative paths reported with \ as_posix()
estate4_dbb BMS-shadow stages lgcmarea.cpy beside LGCMAREA.cpy (impossible on a case-insensitive FS) Windows skip, same as its sibling test

Not here: test_tool_regex_redos's ratio heuristic on slow Windows runners (timing, with #4477's sweep). test_ci_shepherd without fcntl is fixed in #4835.

Verification: affected tests pass on Linux (160 passed); C syntax-checked with gcc. The matrix is dispatched on this branch (run 38047197236); this PR merges only after its Windows and 3.10 legs are green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV

…red on main (#4836)

Owner decision 2026-10-10: Windows stays supported; 3.10 is declared (requires-python >= 3.10).
- evidence_report.crucible_pins: tomllib is 3.11+; read the manifest with tests/_crucible_manifest (its 3.10 fallback
  parser) -- 13 tests on each 3.10 leg.
- test_crucible_pins: the fixture TOML wrote a Windows repo path raw (`C:\Users` = a TOML escape; the 3.10 reader
  refuses backslashes): as_posix() -- 8 tests on each Windows leg.
- ggcics.c GGCDELQ: remove() deletes files only in the Windows C runtime, so DELETEQ TS left the queue directory;
  RMDIR (_rmdir / rmdir) beside the existing MKDIR macro.
- crucible_case `new`: the gen.py skeleton embedded the tools path as "C:\Users\..." (a \U escape = SyntaxError);
  as_posix() -- test_crucible_case / test_cics_case_ports.
- cics_census program paths and test_cics_spec's consumer set: as_posix() instead of str() of a relative path.
- test_estate4_dbb: the BMS-shadow test stages lgcmarea.cpy beside LGCMAREA.cpy; skip on Windows like its sibling
  (a case-insensitive file system holds one of them).
Not here: test_tool_regex_redos's ratio heuristic on slow Windows runners (timing; with #4477).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 4 commits October 10, 2026 08:00
… value beyond a fullword wrapped instead of being refused)

Matrix run 38047197236 (Windows): test_the_stub_deleteq_ts_inquire_association_and_query_counter got 0 instead of the
98 refusal for BIGCNT 4294967296. %ld/long on Windows (LLP64) cannot hold it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
…CPU timer); measured on Linux/macOS

Run 38053717782 (Windows 3.12): a bounded pattern flagged at exactly the 8x threshold. Regex complexity is the same
CPython engine on every OS; the catastrophic-pattern and timeout tests (huge margins) still run on Windows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
squid-protocol added a commit that referenced this pull request Oct 10, 2026
…quired check (#4790) (#4850)

PR #4837 had only two CANCELLED `full-suite-matrix (macos-...)` legs. A shepherd pass ran and logged nothing about
the PR and did nothing.

Root cause: ci_digest split classify's `NAME (conclusion)` verdicts at the FIRST " (". A matrix leg's own name holds
a " (", so `full-suite-matrix (macos-14) (cancelled)` became `full-suite-matrix`, which matched no run. digest()
returned an empty `failed` list for the PR, the rerun loop had nothing to rerun, and no branch logged anything.

Fix:
- pr_check.failed_names(): cut the verdict at the LAST " ("; ci_digest uses it in digest() and main_failures().
- ci_shepherd: each queued PR is handled by _pass_one(), and step() adds a fallback line
  ("#N no action: head ..., mergeable_state ..., failed: ..., pending: ...") whenever it logs nothing.
- A failed infra/flake check that is not rerun now logs why ("#N blocked: <check> (<triage>) -- no action:
  1/3 reruns used; the next waits 15 min after the last", or "no run id").

Tests: a cancelled non-required matrix leg is rerun once with a log line, and a second pass inside RETRY_GAP logs
a blocked line with no rerun. The first test fails on the old ci_digest. A behind PR whose branch was already
updated logs its state.


Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV

Co-authored-by: Claude Haiku 5.5 <[email protected]>
squid-protocol and others added 3 commits October 10, 2026 13:37
…macOS legs time out at 45 min)

Every macOS leg timed out on 2026-10-10 (runs 38046101970, 38053717782, 38065558220: ~46 min, then cancelled)
while Ubuntu takes ~19 min, so the matrix could never go green on main. pytest-split over the committed
.test_durations, as smoke-test.yml's full-suite parts already do (#4836).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
…sensitive filesystem (default macOS too)

The macOS legs, now finishing in 3 parts, failed the same two tests Windows skips: APFS is case-insensitive by
default, so epsnbrpm.cpy and EPSNBRPM.cpy are one file. Probe the filesystem instead of checking for win32 (#4836).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TBJdDBRtJis5hzE244NQKV
@squid-protocol
squid-protocol marked this pull request as ready for review October 10, 2026 18:26
@squid-protocol
squid-protocol merged commit 9f52145 into main Oct 10, 2026
44 checks passed
@squid-protocol
squid-protocol deleted the fix/4836-py310-windows branch October 10, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant