Skip to content

ci: fix the red Full Suite Gate (Closes #5367) - #5370

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5367-20261017T2037Z
Oct 17, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5367-20261017T2037Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Closes #5367 (closes itself when Full Suite Gate next succeeds on main).

Run 39058575054 failed from three causes:

  • Python 3.10 legs remained after Raise minimum Python to 3.11 (Part of #3322) #5364 raised the floor to 3.11 (test_outcome_pilot fromisoformat('...Z') fails only on 3.10). Dropped from full-suite-gate.yml and os-smoke-grid.yml.
  • box_status._mount used Path.is_mount(), which raises NotImplementedError on Windows before 3.12. Now os.path.ismount, with a regression test.
  • test_is_rotational_reads_the_flag uses os.major (absent on Windows); skipped there. Product code already guards it.

Class: platform / Python-version assumptions in tests and the CI matrix

Member Status Evidence
Stale 3.10 matrix legs (full-suite-gate, os-smoke-grid) handled here legs removed
fromisoformat with trailing Z (outcome_pilot.py:130) handled by the removal (3.11+ accepts Z) only failed on 3.10
Path.is_mount() (box_status._mount, the only call in tests/ and gitgalaxy/) handled here + regression test test_mount_does_not_use_path_is_mount
os.major/os.minor in test_prefetch.py handled here (skipif) Windows legs
os.major/os.minor in gitgalaxy/core/prefetch.py already guarded (AttributeError caught) no change
publish.yml, tests/tools/pin_requirements.py mention 3.10 out of scope: not matrix legs of this gate not touched

Sibling gaps

None found: every member handled. Risk: Windows 3.11/3.12 legs may expose further Windows-only failures that 3.10 failures were hiding; the next full-suite run decides. No burned-estate program is involved.

Gates

Affected tests 228 passed / 1 xfailed; audit_check.py all clear; pr_gates --fast see the PR checks.

Lessons for agents

  • A Python floor bump must drop the old matrix legs in the same PR: leftover legs hide the version-independent failures behind version-specific ones.

🤖 Generated with Claude Code

Drop the stale Python 3.10 legs (floor is 3.11 since #5364; fromisoformat('...Z') fails only there), use os.path.ismount in box_status (Path.is_mount raises on Windows < 3.12), skip the os.major test on Windows.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 17, 2026 20:41
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 20:42
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5370 @ 5053dd4: 1 failed check(s)

== Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39067805094/job/117498984814
repro: python tests/tools/pr_gates.py --only secrets xray
errors:
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
log tail:
Requirement already satisfied: tomli==2.5.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 116)) (2.5.0)
Requirement already satisfied: typing-extensions==4.16.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 186)) (4.16.0)
Requirement already satisfied: vcs-versioning==2.6.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 192)) (2.6.0)
Requirement already satisfied: wheel==0.48.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 196)) (0.48.0)
Obtaining file:///home/runner/work/gitgalaxy/gitgalaxy
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
INFO: pip is looking at multiple versions of gitgalaxy to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
##[end-action id=__self_3.__run;outcome=failure;conclusion=failure;duration_ms=1718]
##[start-action display=Execute GitGalaxy Tool;id=__self_3.__run_2]
##[end-action id=__self_3.__run_2;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__4bca426c-f542-466f-af36-cc7e763a97b1.__actions_setup-python]
##[end-action id=__4bca426c-f542-466f-af36-cc7e763a97b1.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__f51ce8b7-7a6f-4058-8eae-7969559dd7a8.__actions_setup-python]
##[end-action id=__f51ce8b7-7a6f-4058-8eae-7969559dd7a8.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__f95763fa-4cea-4986-931c-f59eea964c5d.__actions_setup-python]
##[end-action id=__f95763fa-4cea-4986-931c-f59eea964c5d.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/d35cd7c5-7718-4c54-888a-8985ada24877' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (528ca6d) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit dd0ff2c into main Oct 17, 2026
35 checks passed
@squid-protocol
squid-protocol deleted the churn/5367-20261017T2037Z branch October 17, 2026 21:20
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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.

main is red: Full Suite Gate (All OS x Python)

1 participant