Skip to content

Groovy: branch drops ?. and counts && / ||; bitwise_ops drops =~ ==~ (Part of #8863) - #9018

Closed
squid-protocol wants to merge 3 commits into
mainfrom
churn/8912-groovy-ops
Closed

squid-protocol wants to merge 3 commits into
mainfrom
churn/8912-groovy-ops

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Fixes #8912 (Part of #8863).

What changed

Class and siblings

Class: operator-position token counting in Groovy. Siblings fixed here: ?[, ?*., ~/re/.

Golden drift

Groovy branch and bitwise counts move in both golden masters: intentional (fewer ?. hits, more &&/|| hits, fewer regex-operator hits). Blessed via golden-lock.sh crucible_check.py --update --yes.

Cross-repo

rosetta:rebless-owed if keyword-rosetta Groovy counts move; no companion PR. Merge this first, then re-run the rosetta sweep.

Gates

Groovy tests 169 passed; ruff check clean on groovy.py; crucible bless done. Not run: audit_check, tri-comparison, tree-sitter audits (left to CI).

Sibling gaps

None needing a burned-estate program. &&/|| in other languages is #8905; Dart ?. is #8906.

Lessons for agents

None new.

Checklist: 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 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 22, 2026 10:50
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 10:52
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 22, 2026 11:18
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #9018 @ a30dc9d: 1 failed check(s)

== graph-accuracy-audit (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/45014390513/job/137184377328
repro: python tests/tools/pr_gates.py --fast
errors:
run_gate() { # run_gate <command...>: log per gate, one "FAIL name" line on failure
|| echo "FAIL $name" >> "$RUNNER_TEMP/gaa/failed"
FAIL import-graph-2
##[error]Process completed with exit code 1.
log tail:
| objective-c | 154 | 0 | 0.0% |
| perl | 936 | 0 | 0.0% |
| php | 1722 | 0 | 0.0% |
| pli | 46 | 0 | 0.0% |
| postgresql | 4 | 0 | 0.0% |
| powershell | 89 | 0 | 0.0% |
| python | 4310 | 0 | 0.0% |
| rexx | 115 | 0 | 0.0% |
| ruby | 261 | 0 | 0.0% |
| rust | 2127 | 0 | 0.0% |
| scala | 541 | 0 | 0.0% |
| scheme | 34 | 0 | 0.0% |
| shell | 647 | 0 | 0.0% |
| solidity | 105 | 0 | 0.0% |
| swift | 132 | 0 | 0.0% |
| tcl | 291 | 0 | 0.0% |
| typescript | 5838 | 0 | 0.0% |
| yacc | 1301 | 0 | 0.0% |
| yaml | 19 | 0 | 0.0% |
| zig | 3462 | 0 | 0.0% |
span_anchor_audit: OK -- 51 language(s) measured, none rose beyond tolerance.
##[endgroup]
FAIL import-graph-2
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/fd9a6483-feee-4e4a-98c6-a721e2c20789' 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/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-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 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 11:34
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 22, 2026
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 22, 2026 11:54
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #9018 @ 9267230: 1 failed check(s)

== graph-accuracy-audit (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/45017182313/job/137194996518
repro: python tests/tools/pr_gates.py --fast
errors:
run_gate() { # run_gate <command...>: log per gate, one "FAIL name" line on failure
|| echo "FAIL $name" >> "$RUNNER_TEMP/gaa/failed"
FAIL import-graph-2
##[error]Process completed with exit code 1.
log tail:
| objective-c | 154 | 0 | 0.0% |
| perl | 936 | 0 | 0.0% |
| php | 1722 | 0 | 0.0% |
| pli | 46 | 0 | 0.0% |
| postgresql | 4 | 0 | 0.0% |
| powershell | 89 | 0 | 0.0% |
| python | 4310 | 0 | 0.0% |
| rexx | 115 | 0 | 0.0% |
| ruby | 261 | 0 | 0.0% |
| rust | 2127 | 0 | 0.0% |
| scala | 541 | 0 | 0.0% |
| scheme | 34 | 0 | 0.0% |
| shell | 647 | 0 | 0.0% |
| solidity | 105 | 0 | 0.0% |
| swift | 132 | 0 | 0.0% |
| tcl | 291 | 0 | 0.0% |
| typescript | 5838 | 0 | 0.0% |
| yacc | 1301 | 0 | 0.0% |
| yaml | 19 | 0 | 0.0% |
| zig | 3462 | 0 | 0.0% |
span_anchor_audit: OK -- 51 language(s) measured, none rose beyond tolerance.
##[endgroup]
FAIL import-graph-2
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/3ff65ccc-2d55-4ae8-8008-a70978d48f9f' 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/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-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 22, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 22, 2026 12:04
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

Superseded by #8939 (the branch / short_circuit family split). The decision (owner, 2026-11-21) is that boolean operators (&& || and or) are no longer counted in branch: they are the separate short_circuit family, and #8939 already gives Groovy a short_circuit rule. This PR adds && / || to Groovy's branch, which contradicts that. The ?. and =~ ==~ parts of the title are not in #8939; the issue (#8912) stays open for them, to be redone on top of the split once it lands. Closing at the owner's direction.

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.

Groovy: branch counts the ?. operator and misses && and ||; bitwise_ops counts =~ and ==~

1 participant