Skip to content

ci: green the Full Suite Gate matrix on py3.10+ and Windows; drop Python 3.9 (#4494) - #4495

Merged
squid-protocol merged 5 commits into
mainfrom
fix/4494-full-suite-gate
Oct 5, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
fix/4494-full-suite-gate

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Closes #4494

Draft: matrix result pending (see the report comment).

Drops Python 3.9 (owner decision; 3.9 has been EOL since 2025-10): requires-python = ">=3.10", ruff target-version = "py310", 3.9 removed from smoke-test.yml and every full-suite-gate.yml grid (full grid is now 9 legs; trimmed grid is ubuntu 3.10-3.12 plus windows and macos on 3.10 and 3.12), tree-sitter-language-pack installed unconditionally again. tests/ruff_audit_baseline.json regenerated with tests/ruff_audit.py --write-baseline (ruff 0.16.0): 64 -> 957 findings (+893: 820 UP045, 19 UP007, 13 UP035, 40 B905, 1 RUF007), all from the new target; no UP rewrites applied here. mypy has no python_version set. No CHANGELOG in the repo. Stale 3.9+ comments remain in javascript.py and a few tests (comments only).

  • py3.10: dt.UTC -> dt.timezone.utc in tests/tools/estate4_draw.py and its test. The pinned draw is unchanged: TARGET_TIME (1791374400.0 = 2026-10-07 12:00 UTC), round_time(6531446) and round_time(1) print identically before and after.
  • py3.9 (now dropped): the narrow 3.9 fixes below are harmless and kept. 3.9 breakage found found by running the full suite under 3.9 locally: zip(strict=) (3 places) and X | None annotations without from __future__ import annotations (2 files), all in tests/tools and tests, none in gitgalaxy/. Fixed narrowly.
  • Windows production fixes: galaxyscope.py keyed scanned files with str(relative_to) (backslashes on Windows) -> as_posix(); same in aperture.py's content gate. This fixes the copy-gap / copy-library / documentation-coverage failures.
  • Windows evidence/provenance staleness: byte hashes of ports and cases were taken from CRLF checkouts; .gitattributes now pins LF for tests/equivalence/**, tests/cics_crucible/ports/**, tests/cics_crucible/strengthened/** (text=auto, so binaries are untouched; the index already holds LF everywhere).
  • Windows test-side fixes (no assertion weakened): os.pathsep in the det_survey and bugfix_kit tests, str(path) in the devin_port command test; fcntl import guarded in equivalence_cache.py and the speed test.
  • Explicit skipif(win32): tests/tools/test_box_tools.py (bash scripts), test_a_lower_case_copybook_is_staged_under_its_member_name (case-insensitive FS), test_a_case_takes_the_first_free_database (fcntl flock).

Coordination: none of #4490 / #4492 files are edited; origin/main (including merged #4489) is merged in.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 5, 2026 14:19
#4494)

dt.UTC -> dt.timezone.utc (py3.10); tree-sitter-language-pack installed only on 3.10+;
scan keys posix on Windows; LF pinned for hashed evidence trees; Unix-only tests skipped explicitly.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added bug Unintended behavior or logic failure in the engine testing Unit, integration, and E2E pipeline verification labels Oct 5, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

Interim report (matrix result not yet available): branch fix/4494-full-suite-gate, commits d8fdb28 + cf4bc5e.

Verified locally: full suite on py3.9 without tree-sitter (before the 3.9 fixes: 5 failed, 4 errors, all zip(strict=) / X | None in tests and tests/tools; now fixed and re-run green on the affected files), py3.12 on the changed tests. The Full Suite Gate matrix on the latest commit was triggered by the label add (run 37355440849) and was still queued when this was written; the earlier dispatch on the first commit was cancelled.

Production bugs: galaxyscope.py and aperture.py built scan keys with str(relative_to()) (backslashes on Windows) -> as_posix(). Evidence/provenance staleness on Windows: CRLF checkouts changed hashed bytes -> LF pinned in .gitattributes. Skipped as Unix-only (explicit skipif): all of tests/tools/test_box_tools.py (7 tests), test_a_lower_case_copybook_is_staged_under_its_member_name, test_a_case_takes_the_first_free_database (fcntl). Test-side path fixes: det_survey classpath, devin_port command, bugfix_kit PATH split. test_equivalence_speed: fcntl import guarded.

Needs a decision: py3.9 support stays (requires-python unchanged) but translator tests skip there. #4489's test_det_translate _from is Windows-broken by itself.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

squid-protocol and others added 2 commits October 5, 2026 14:46
Python 3.9 has been EOL since 2025-10. Ruff baseline regenerated with tests/ruff_audit.py
(64 -> 957: the py310 target adds UP045/UP007/UP035/B905/RUF007; no rewrites applied).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol changed the title ci: green the Full Suite Gate matrix on py3.9, py3.10 and Windows (#4494) ci: green the Full Suite Gate matrix on py3.10+ and Windows; drop Python 3.9 (#4494) Oct 5, 2026
@squid-protocol squid-protocol added testing Unit, integration, and E2E pipeline verification and removed testing Unit, integration, and E2E pipeline verification labels Oct 5, 2026
…th rewrite, ReDoS timeout from child start (#4494, #4477)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol
squid-protocol marked this pull request as ready for review October 5, 2026 22:15
@squid-protocol
squid-protocol merged commit de1949a into main Oct 5, 2026
45 of 65 checks passed
@squid-protocol
squid-protocol deleted the fix/4494-full-suite-gate branch October 5, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unintended behavior or logic failure in the engine testing Unit, integration, and E2E pipeline verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Full Suite Gate matrix is red on main for py3.9, py3.10 and Windows (hidden because it only runs on labelled PRs)

1 participant