Skip to content

Nested macro names leave Calls Out To; re-bless against main (Part of #6770) - #6903

Closed
squid-protocol wants to merge 6 commits into
mainfrom
churn/6770-20261028T1345Z
Closed

squid-protocol wants to merge 6 commits into
mainfrom
churn/6770-20261028T1345Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #6770. Lands the 3 commits of churn/6770-macro-body-calls that #6881 merged without (cherry-picked f7b5bcb, 5d1ee9f; the bless commit 2451127 redone on current main). Branch churn/6770-20261028T0707Z held only 76553f7, already in #6881: nothing to take.

Checklist: partial [c:93af939e] -- libclang reference static inline header edges (clang_callgraph.py) not touched here

Change

Macro expansion in calls_out_to lists the functions a macro reaches, never a nested macro name (detector.py, test_macro_body_calls_6770.py).

Baseline refresh, traced per PR

Class / Sibling gaps

Class: names a macro expansion can put in Calls Out To (function names vs nested function-like/object-like macro names). Member handled: nested macro names are dropped, functions they reach are listed (tests cover nested depth). Sibling gaps: tests/tools/doom_speedrun/callgraph_baseline.json (nightly C/C++ oracle, needs --clang and fetched ports) not refreshed here; refresh on the nightly run. libclang static inline header blind spot (c:93af939e) remains.

Re-merge with main (2026-10-28, after #6894/#6895/#6878)

Merged origin/main (no rebase). Took main's side on the 3 conflicting generated files, then regenerated them with their tools: crucible_check.py --update --yes moved only llm_brief (both fixtures); doom_rosetta_check on the five ports: only doomsday drifted, summary.callgraph_unscored 4669 -> 4642 (same drift class as above, on top of #6895's re-bless), blessed. call_graph_accuracy --ci OK. pr_gates --fast 9/9, --ratchets 9/9.

Gates

pr_gates --fast 9/9; --ratchets 9/9; call_graph_accuracy --regenerate; doom_rosetta_check full run: only the five drifts above, blessed.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 28, 2026 09:46
…acro name (#6770)

A function-like macro another macro's body invokes (micropython `BLOCK_SHIFT(b)`, a pure
arithmetic macro) was added to the caller's calls_out_to: the compiler calls no macro. The
repo table now keeps every function-like macro (empty set when it calls nothing or two files
disagree), and the expansion recurses through those instead of listing them.

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

Goldens re-blessed with golden-lock/crucible_check on current main (calls_out_to,
graph_sqlite, llm_brief); DOOM rosetta callgraph_unscored drops on five ports;
call_graph_accuracy baseline refreshed (main alone already moved c/cpp/tcl; this
change adds c precision 97.4 -> 97.7).

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 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 14:49
@squid-shepherd

Copy link
Copy Markdown
Contributor

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 enabled auto-merge (squash) October 28, 2026 15:02
@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
@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 squid-shepherd Bot removed 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

CI shepherd: the head of this PR (0d4915d) 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-shepherd
squid-shepherd Bot disabled auto-merge October 28, 2026 15:42
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. 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-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 15:56
@squid-shepherd

Copy link
Copy Markdown
Contributor

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-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

Superseded by #6922: regrafted onto current main (the same two hand-written files, with goldens, DOOM rosetta and the call-graph baseline regenerated on top of #6908). Closing this branch, which no longer merges cleanly.

auto-merge was automatically disabled October 28, 2026 17:37

Pull request was closed

squid-shepherd Bot pushed a commit that referenced this pull request Oct 28, 2026
…6770) (#6922)

* Nested macro names leave Calls Out To (Part of #6770)

Macro expansion in calls_out_to lists the functions a macro reaches, never a
nested macro name. Regraft of #6903 onto current main.

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

* Re-bless goldens, DOOM rosetta and call-graph baseline for nested macro names (Part of #6770)

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

* Re-bless fastdoom/srb2 and call-graph baseline on top of #6908 (Part of #6770)

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

---------

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