Skip to content

Perl calls: after { ; ? ., print handles, new Foo, qualified commands (Part of #6433) - #6894

Merged
squid-shepherd[bot] merged 5 commits into
mainfrom
churn/6433-20261028T1205Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 5 commits into
mainfrom
churn/6433-20261028T1205Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #6433 (slice 4; slices 1-3 are #6437, #6449, #6721).

CALLS_OUT_PERL now also anchors a paren-less call after {, a mid-line ;, ?, ., a file handle (print STDERR join ..., print {$fh} join ...) and a } block; it takes the indirect-object constructor new Foo; and a qualified command Foo::bar $x;. A : anchor was tried and dropped: it matched Makefile text in a heredoc (doc in spamassassin Makefile.PL).

Golden re-bless (both legs): perl call-graph additions (print, die, splice, system, Warn from Error). One new callee, ExifTool in exiftool GetImageInfo, could not be reproduced with the raw regex over code or comment text; flagged for review.

Gates: perl/calls_out tests, audit_check (all clear), ruff format, crucible bless.

Cross-repo: none.

Remaining slices / Sibling gaps

  • Bare no-arg die; print; wait; time; (needs a symbol table); select STDOUT; digit-first args (ok 1;, Foo::baz 1, 2;). No burned-estate program needs them.

Lessons for agents

  • Python lookbehind is fixed-width: a variable-width handle prefix (print STDERR ) must be a lookahead alternative at the command.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 28, 2026 12:31
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 12:32
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6894 @ aad4024: 1 failed check(s)

== shard 1 (1669449 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40689600458/job/122822637957
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[chocolate-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom]
errors:
E AssertionError: chocolate-doom fails 'callgraph', the manifest expects ''
tests/doom_rosetta/test_doom_rosetta.py:48: AssertionError
E AssertionError: doomgeneric fails 'callgraph', the manifest expects ''
E AssertionError: edge-classic fails 'callgraph', the manifest expects ''
E AssertionError: sdl-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[chocolate-doom] - AssertionError: chocolate-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] - AssertionError: doomgeneric fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] - AssertionError: edge-classic fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom] - AssertionError: sdl-doom fails 'callgraph', the manifest expects ''
##[error]Process completed with exit code 1.
log tail:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] - AssertionError: doomgeneric fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] - AssertionError: edge-classic fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom] - AssertionError: sdl-doom fails 'callgraph', the manifest expects ''
assert False
4 failed, 6 passed, 26 deselected in 203.93s (0:03:23)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 1 (1669449 LOC): ${s}s" >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
DOOM_SPEEDRUN_WORK: /home/runner/work/gitgalaxy/gitgalaxy/../doom-work
DOOM_ROSETTA_PORTS: chocolate-doom,cssdoom,dartdoom,doomgeneric,doomsday,edge-classic,mood,room4doom,rust-doom,sdl-doom
T0: 1793191692
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/27911775-eea8-4b28-9140-169e5a5dba98' 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
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@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 Oct 28, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6894 @ bd6e50a: 1 failed check(s)

== call-graph-accuracy-audit (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40691833711/job/122829505336
repro: python tests/tools/pr_gates.py --fast
errors:
2026-10-28 13:00:51,817 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
##[error]Process completed with exit code 1.
log tail:
lua FP: [('f', 3), ('assert', 2), ('write', 2), ('format', 1), ('f2', 1), ('x', 1), ('add', 1), ('012345678901234567890123456789012345678901234567890123456789', 1)]
FN: [('collectgarbage', 6), ('assert', 3), ('error', 2), ('dummy', 1), ('print', 1), ('f', 1), ('getlocal', 1), ('exit', 1)]
zig FP: [('volatile', 10), ('intCast', 5), ('get', 4), ('assert', 4), ('parseInt', 3), ('tagName', 3), ('as', 3), ('resolveType', 3)]
FN: [('import', 62), ('await', 9), ('ensureUnusedCapacity', 2), ('field', 2), ('header', 2), ('slice', 2), ('items', 2), ('tagName', 2)]
dart FP: [('identical', 6), ('StatefulElement', 3), ('
', 2), ('constructor', 2), ('ScrollEndNotification', 1), ('ScrollStartNotification', 1), ('ScrollNotification', 1), ('MapEntry', 1)]
FN: [('objectRuntimeType', 8), ('describeIdentity', 4), ('debugGetCreatorChain', 3), ('toStringShort', 2), ('join', 1), ('contains', 1), ('_stringify', 1), ('shortHash', 1)]
haskell FP: [('Just', 6), ('map', 4), ('null', 4), ('Para', 4), ('break', 3), ('Str', 3), ('go', 3), ('maybe', 2)]
FN: [('Str', 4), ('String', 3), ('Just', 2), ('intercalate', 2), ('PandocShouldNeverHappenError', 1), ('extractFilesFromArchive', 1), ('toArchiveOrFail', 1), ('createDirectory', 1)]
perl FP: [('undef', 154), ('grep', 16), ('map', 6), ('x', 6), ('E', 5), ('ord', 4), ('G', 3), ('Group', 3)]
FN: [('new', 12), ('print', 7), ('-f', 5), ('join', 5), ('name', 4), ('say', 4), ('warn', 4), ('-d', 4)]
solidity FP: [('address', 10), ('bytes32', 4), ('gas', 3), ('mload', 3), ('add', 3), ('bytes', 3), ('GovernorDisabledDeposit', 3), ('onlyRole', 2)]
FN: [('call', 2), ('require', 1)]
apex FP: [('COUNT', 6), ('runAs', 4), ('SUM', 1), ('AND', 1)]
FN: [('List', 4), ('Map', 3)]
powershell FP: [('Name', 6), ('Url', 6), ('ForMinimalSize', 4), ('Runtime', 4), ('Configuration', 4), ('Output', 4), ('PSModuleRestore', 4), ('Failure', 4)]
FN: [('Join-Path', 127), ('Test-Path', 121), ('Get-Content', 57), ('ForEach-Object', 55), ('Split-Path', 44), ('new', 44), ('Where-Object', 36), ('Select-Object', 32)]
tcl FP: [('set', 218), ('expr', 41), ('regexp', 26), ('msgcat::mc', 17), ('registry::entry', 16), ('variants', 13), ('lappend', 7), ('revision', 7)]
FN: [('return', 176), ('variable', 58), ('mc', 35), ('for', 24), ('format', 17), ('error', 16), ('entry', 15), ('switch', 14)]
call_graph_accuracy: REGRESSION
c: precision_pct 99.4 -> 97.4
c: recall_pct 99.3 -> 96.4
cpp: recall_pct 99.0 -> 97.6
tcl: recall_pct 71.2 -> 69.3
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/9c14ea3a-18a3-404c-bed8-36cc087d5eda' 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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@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 Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6894 @ a75031d: 1 failed check(s)

== shard 1 (1669449 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40699441177/job/122859805128
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[chocolate-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom]
errors:
E AssertionError: chocolate-doom fails 'callgraph', the manifest expects ''
tests/doom_rosetta/test_doom_rosetta.py:48: AssertionError
E AssertionError: doomgeneric fails 'callgraph', the manifest expects ''
E AssertionError: edge-classic fails 'callgraph', the manifest expects ''
E AssertionError: sdl-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[chocolate-doom] - AssertionError: chocolate-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] - AssertionError: doomgeneric fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] - AssertionError: edge-classic fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom] - AssertionError: sdl-doom fails 'callgraph', the manifest expects ''
##[error]Process completed with exit code 1.
log tail:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] - AssertionError: doomgeneric fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] - AssertionError: edge-classic fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom] - AssertionError: sdl-doom fails 'callgraph', the manifest expects ''
assert False
4 failed, 6 passed, 26 deselected in 210.95s (0:03:30)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 1 (1669449 LOC): ${s}s" >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
DOOM_SPEEDRUN_WORK: /home/runner/work/gitgalaxy/gitgalaxy/../doom-work
DOOM_ROSETTA_PORTS: chocolate-doom,cssdoom,dartdoom,doomgeneric,doomsday,edge-classic,mood,room4doom,rust-doom,sdl-doom
T0: 1793195747
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/2c19cc00-dcdd-4b9d-a2e6-0675b299db2f' 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 Oct 28, 2026
@squid-shepherd
squid-shepherd Bot merged commit ade30ed into main Oct 28, 2026
69 of 74 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6433-20261028T1205Z branch October 28, 2026 14:51
squid-protocol added a commit that referenced this pull request Oct 28, 2026
…uto-merge off (#6919) (#6920)

* CI shepherd: ci-gate commit status on every open PR, and a red check turns auto-merge off (#6919)

Path-filtered workflows ran but never gated a merge: the ruleset requires five core checks,
and the shepherd only labelled other failures needs-fix while auto-merge stayed on. #6881,
#6894, #6895 and #6899 merged with DOOM-rosetta / call-graph-accuracy red.

- decide(): triage runs before the auto-merge decision; a real failure of any gating check
  (not the shepherd's own jobs, not ADVISORY) blocks and turns auto-merge off.
- gate_status(): ci-gate is pending (draft, running or rerun checks, main's failure, an
  unreported required check), failure (a real failure) or success; posted only on change,
  and the shepherd's own status is never read back as an input.
- reconcile covers every open PR (open_prs), so a hand merge is gated too; it also triggers
  on DOOM-rosetta and Call Graph Accuracy Audit (GATE_TRIGGERS).
- pr_check / graphql_reads fetch the status description, so an unchanged gate is not reposted.

The ruleset change (require ci-gate) is the owner's step after a soak.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test_shepherd_gh: reconcile exit-code tests fake open_prs, not open_labelled (#6919)

reconcile now lists every open PR through open_prs; the two exit-code tests still faked
open_labelled, so they reached a real `gh api pulls?state=open`. They passed where gh is
logged in and failed in full-suite part 1/2 (no GH_TOKEN in CI).

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant