Skip to content

test(python): comprehensions rule ignores every JS-idiom method call (Part of #9321) - #9322

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/9321-20261125T2003Z
Nov 25, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/9321-20261125T2003Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Main's red Full Suite Gate (run 45670791297, at abcbf10) failed only on two Python strict tests broken by #9308; #9316 already fixed them (both pass at HEAD, 272 tests in the file pass). No flake in the log. This PR adds a class guard: no .method( JS-idiom call (.filter, .map, .reduce, .flatMap, chained) counts as a comprehension.

Part of #9321 (the issue self-closes when the gate next succeeds on main; a fresh dispatch on main is needed to confirm).

Class sweep

Class: a Python-profile rule change silently breaking pinned strict tests / JS-idiom method calls miscounted as comprehensions. Siblings checked: embedded_python strict/plain, decorators and all test_python* files (911 pass). Sibling gaps: none.

Lessons for agents

None new.

Cross-repo

None.

Facts checked: failed tests list from the run log; passing at HEAD; audit_check all clear.

🤖 Generated with Claude Code

…(Part of #9321)

Class guard for the #9308 regression fixed by #9316.

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 Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #9322 @ c7729b0: 1 failed check(s)

== full-suite-matrix (macos-latest, 3.11, 2, 2, 28, 25) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/45692145022/job/139493347546
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]The action 'Full Suite (macos-latest, Python 3.11)' has timed out after 25 minutes.
log tail:
........................................................................ [ 97%]
........................................................................ [ 97%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 98%]
........................................................................ [ 99%]
##[error]The action 'Full Suite (macos-latest, Python 3.11)' has timed out after 25 minutes.
Post job cleanup.
[command]/opt/homebrew/bin/git version
git version 2.56.1
Copying '/Users/runner/.gitconfig' to '/Users/runner/work/_temp/efcadafb-497f-4945-be2e-45e9d2cfef2e/.gitconfig'
Temporarily overriding HOME='/Users/runner/work/_temp/efcadafb-497f-4945-be2e-45e9d2cfef2e' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/opt/homebrew/bin/git config --global --add safe.directory /Users/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/opt/homebrew/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/opt/homebrew/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]/opt/homebrew/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/opt/homebrew/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]/opt/homebrew/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/opt/homebrew/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes
Terminate orphan process: pid (24700) (Python)
Terminate orphan process: pid (13568) (Python)
Terminate orphan process: pid (13558) (Python)
Terminate orphan process: pid (7336) (Python)
Terminate orphan process: pid (4036) (Python)
Terminate orphan process: pid (2525) (Python)
Terminate orphan process: pid (2343) (Python)
Terminate orphan process: pid (2342) (Python)
Terminate orphan process: pid (2328) (Python)
Terminate orphan process: pid (2327) (Python)
Terminate orphan process: pid (2326) (Python)
Terminate orphan process: pid (1647) (Python)
Terminate orphan process: pid (1646) (Python)
Terminate orphan process: pid (1644) (Python)
Terminate orphan process: pid (1643) (Python)
full-suite matrix failed on this head: https://github.com/squid-protocol/gitgalaxy/actions/runs/45692145022
It ran without a label because: fixes a ci-red-main issue (#9321)

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 25, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review November 25, 2026 21:00
@squid-shepherd squid-shepherd Bot added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Nov 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot 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 labels Nov 25, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 25, 2026 21:25
@squid-shepherd
squid-shepherd Bot merged commit 5d63620 into main Nov 25, 2026
48 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/9321-20261125T2003Z branch November 25, 2026 21:25
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