Skip to content

Call graph (perl): digit-first arguments and select STDOUT (Part of #6433) - #6945

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6433-20261028T2049Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6433-20261028T2049Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6433 (slice 5).

What

CALLS_OUT_PERL now takes two more paren-less call shapes: a digit-first argument (plan 4;, skip 3, 'why';, fetch -1;, print STDERR 5;) and select with a handle (select STDOUT;, my $old = select STDERR;, select $fh;). Changes: _PERL_ARG gains -?[0-9], select joins _PERL_BUILTIN (the hash-key guards select => and {select} still apply), and the print/printf/say HANDLE arg alternative accepts a digit argument.

Class / Sibling gaps

Class: a Perl call written without parentheses whose first argument start, or whose name, the _PERL_ARG / _PERL_BUILTIN tables do not list. Handled here: digit-first args after every opener position, the print-handle form, and select. Sibling gaps: other handle built-ins absent from _PERL_BUILTIN (binmode, seek, tell, eof, fileno, truncate, flock) are not added: each needs its own check against the keyword-rosetta plant and the ledger. No burned-estate program needs them (Perl is not a mainframe estate). Remaining slices: none for this mechanism.

Checklist: none named in the brief.

Facts checked

  • test_calls_out_perl_6433.py and test_perl_strict.py: 202 passed. Added positives and negatives ($h{select}, select => 1, $a x 3, (1) x 3, $a - 5, my $sel = 3).
  • crucible_check.py --update --yes via golden-lock.sh: no drift in either golden master (the corpus holds none of these shapes), nothing re-blessed.
  • pr_gates.py --fast: 9/9 pass (lint, audits, secrets, xray, gen-docs, derived, workflows, gauntlet, affected). Ruff local 0.16.0 differed from CI 0.17.1; the gate used the cached 0.17.1 binary.
  • Not run: --ratchets, tri-comparison and tree-sitter audits (left to CI).

Cross-repo

None.

🤖 Generated with Claude Code

@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 marked this pull request as ready for review October 28, 2026 21:05
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 21:09
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@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 #6945 @ f7d7946: 1 failed check(s)

== shepherd (label event) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40768810748/job/123100114707
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
log tail:
Cache restored successfully
Cache restored from key: flake-history-40692939546
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
##[group]Run actions/create-github-app-token@bcd2ba4
with:
app-id: ***
private-key: ***
skip-token-revoke: false
github-api-url: https://api.github.com
##[endgroup]
Inputs 'owner' and 'repositories' are not set. Creating token for this repository (squid-protocol/gitgalaxy).
##[group]Run python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
shell: /usr/bin/bash -e {0}
env:
GH_TOKEN: ***
SHEPHERD_TRUSTED_BOTS: squid-shepherd[bot],squid-protocol
##[endgroup]
#6945 approval marker for f7d7946: ok
#6945 ci-gate pending: waiting on: det, durations key, graph-accuracy-audit, ground-truth part 1/2, ground-truth part 2/2, measure (shard 1/2), measure ...: FAILED: gh: Resource not accessible by integration (HTTP 403)
##[error]Process completed with exit code 1.
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Post job cleanup.
Token revoked
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/332c0993-ffc5-49c9-99e9-6f9784b53545' 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-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd
squid-shepherd Bot merged commit 4126b76 into main Oct 28, 2026
125 of 128 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6433-20261028T2049Z branch October 28, 2026 21:44
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