Skip to content

DOOM-rosetta nightly: a macro named like a declared function reaches it; clang baseline re-measured for #6930 (Part of #6266) - #7020

Merged
squid-shepherd[bot] merged 10 commits into
mainfrom
melek/doom-clang-callgraph-regression
Oct 29, 2026
Merged

squid-shepherd[bot] merged 10 commits into
mainfrom
melek/doom-clang-callgraph-regression

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6266

The DOOM-rosetta nightly callgraph job has been red since 2026-10-27. On 10-29 it failed at the step that scores call-graph accuracy against the libclang reference. Two separate causes are mixed together in that failure, and this PR fixes or accounts for each one.

1. Engine regression from #6922 (fixed)

#6922 changed macro expansion so that it lists only the functions a macro reaches, never a nested macro name. That also dropped names that are both a function-like macro and a function the scan declares. A macro body that invoked such a name lost the call:

port example edge clang recall at main after
prboom-plus midifile.c: FreeEvent -> Z_Free (free(p) -> Z_Free(p) -> (Z_Free)(...), z_zone.h:88,114); 300 edges 0.9303 0.9975
fastdoom ns_gusau.c: GUSWAVE_InitVoices -> LL_AddNode (LL_AddToTail in ns_llm.h; LL_AddNode is a macro in ns_ll.h:11 and a function in ns_llm.h:17); 9 edges 0.9963 1.0
chocolate-doom, crispy-doom strife/p_enemy.c: A_BossDeath -> DEH_String (deh_str.h:27 function, :37 macro); 2 edges each 0.9995 / 0.9984 0.9997 / 0.9986

Fix (gitgalaxy/core/detector.py). c_repo_macro_body_calls also collects the names the C/C++ texts declare or define as functions. That is a declarator line: type words, then name( or (name)(, with no string in the parameter list and no second ( after it, so HWRAPI(f)(...) and __attribute__ do not count. A macro with such a name lists its own name among its calls, and _macro_expansion_callees lists that name instead of expanding it again. When a macro body reaches the name, it now gets what a direct call of the name gets.

Why it's a class fix. The rule covers every name that is both a macro and a declared function, whichever header shadows which, not just the three ports above. Macro names that are not functions still leave Calls Out To, which is what #6922 was for: its test with a nested SHIFT/KIND macro still passes, and so do the new negative tests (return KIND(x), int y = KIND(x), obj KIND("s"), EXPORT void KIND(Draw)(...)).

Measured. For all 15 C ports, every clang number and every body-oracle number matches engine 2a023d320 again, which is the engine the clang baseline was written at. The Graph Accuracy Audit (call_graph_accuracy.py --ci) is unchanged at c fp 297 and cpp fp 166, so the #6922 gain there is kept.

2. Reference change from #6930 (baseline clang section re-measured)

#6930 put the compiler's builtin headers on libclang's path. stddef.h and stdarg.h no longer stop a parse, so the number of files with a fatal parse error fell sharply: linuxdoom 59 -> 2, doom-ascii 81 -> 4, doomgeneric 92 -> 12, doomretro 95 -> 20, sdl-doom 82 -> 22, fastdoom 120 -> 82, prboom-plus 133 -> 106. Disagreements that were already there now sit in files counted as clean. #6930 did not refresh callgraph_baseline.json.

Not environment drift: CI and this box use the same libclang wheel (18.1.1) and the same flags, and the local fatal counts match the 10-29 CI log exactly. The baseline's clang section was last written at engine 2a023d320 (#6881), before #6930 added -idirafter <gcc builtin include> in clang_callgraph.build. Running the old clang_callgraph.py on this box gives the baseline's counts again (linuxdoom 59, fastdoom 120, prboom-plus 133).

I ran the new reference against engine 2a023d320 (the baseline's engine) and against this branch. The clean-file disagreement count is identical for every port: doom-ascii 14, doomgeneric 15, doomretro 19, dsda-doom 22, fastdoom 27, linuxdoom 2, prboom-plus 18, sdl-doom 13, nugget-doom 3, woof 3, every other port 0. So these counts come from the reference change, not from the engine. Only the clang section is re-measured, at e1767b0c7, which has the same engine code as this PR. The body-oracle section and engine_sha are not touched.

Clang numbers per port: committed baseline -> 10-29 nightly (main) -> this PR. Recall / precision / clean-file disagreements:

port baseline main (10-29) this PR
prboom-plus 0.9972 / 0.8311 / 0 0.9303 / 0.9343 / 28 0.9975 / 0.9281 / 18
fastdoom 1.0 / 0.9561 / 0 0.9963 / 0.9733 / 27 1.0 / 0.9719 / 27
dsda-doom 0.9983 / 0.8618 / 0 0.9985 / 0.9882 / 22 0.9985 / 0.9882 / 22
doomretro 0.9953 / 0.7495 / 2 0.9961 / 0.9866 / 19 0.9961 / 0.9866 / 19
doomgeneric 0.999 / 0.9248 / 0 0.999 / 0.985 / 15 0.999 / 0.9854 / 15
doom-ascii 0.9989 / 0.9399 / 0 0.999 / 0.9898 / 14 0.999 / 0.9898 / 14
sdl-doom 0.999 / 0.9289 / 0 0.999 / 0.9878 / 13 0.999 / 0.9878 / 13
linuxdoom 1.0 / 0.978 / 0 1.0 / 0.9955 / 2 1.0 / 0.9968 / 2
chocolate-doom 0.9996 / 0.9212 / 0 0.9995 / 0.9917 / 0 0.9997 / 0.9917 / 0
crispy-doom 0.9984 / 0.9138 / 0 0.9984 / 0.9898 / 0 0.9986 / 0.9898 / 0
nugget-doom 0.9837 / 0.8862 / 6 0.9848 / 0.9819 / 3 0.9848 / 0.9819 / 3
woof 0.9805 / 0.8853 / 6 0.9818 / 0.9787 / 3 0.9818 / 0.9787 / 3
inter-doom, doom-wasm, puredoom unchanged or higher on every metric

With this baseline, callgraph_oracle.py --only all --clang --baseline ... --fail-on-regression exits 0 over the 23 baseline ports. The 10-27 and 10-28 failures were each a 2-edge linuxdoom precision dip (0.9726 -> 0.9713, then 0.978 -> 0.9767). The new reference changes linuxdoom's numbers anyway (precision is now 0.9968), so that dip is superseded.

DOOM-rosetta

doom_rosetta_check.py over all 44 ports: 39 ok. 5 drift, and only in summary.callgraph_unscored. Each moves back to its pre-#6922 value: chocolate-doom 69 -> 71, crispy-doom 39 -> 41, fastdoom 71 -> 86, srb2 2048 -> 2530, doomsday 4638 -> 4663 (re-blessed on top of #7014). No check verdict moves, so every port that passes check 7 still passes it. The restored edges are calls the compiler makes through a same-named macro, which the body oracle cannot score as calls.

Overlap with #7019 (melek/6266-doomsday-callgraph): both PRs touch detector.py and test_macro_body_calls_6770.py, but in different hunks. #7019 changes comment stripping in c_macro_body_calls; this PR changes c_repo_macro_body_calls and _macro_expansion_callees. Both re-bless doomsday.json.gz, so whichever merges second re-blesses it. Here only its callgraph_unscored count moves, and there is no doomsday-specific logic in this PR.

Class / Sibling gaps

  • Class: a macro named like a function the scan declares reaches the function through any macro that invokes it (self-wrapper #define f(a) (f)(a, ...), a header macro shadowing another header's function, a configuration-dependent macro/function pair). One rule in the repo-wide macro table covers C and C++ alike.
  • Sibling gaps (already in the tree, made visible by clang_callgraph: keep calls of static inline functions defined in headers (Part of #6770) #6930; triaged in tests/tools/doom_speedrun/README.md):
    1. #if ORIGCODE with the macro defined nowhere is a dead branch, but the engine keeps its calls. The Siblings of #5630: call-graph clean-file disagreements vs libclang (puredoom triage) #6770 rule reads #ifdef X / defined(X) only (doomgeneric, doom-ascii, sdl-doom: d_loop.c, m_argv.c, statdump.c, i_joystick.c, m_config.c).
    2. An object-like macro naming a function (saveg_read_think_t, saveg_write_bool, OVERLAYTEXTX) is not expanded, so the call is missed (doomgeneric, doom-ascii, sdl-doom, doomretro).
    3. Build or platform toggles that the reference parses unset (SNDSERV, fastdoom MODE_X, SIMPLECHECKS, music players, a Windows shim). Configuration, not an engine bug.
    4. dsda-doom string_view.c: direct calls the reference does not report. The engine is right in source; the cause is not yet traced.

Gates

  • pr_gates.py --fast: 9/9 pass.
  • crucible_check.py: full_precision and zero_dependency PASS, with no golden change.
  • call_graph_accuracy.py --ci: OK, c/cpp unchanged.
  • tests/core_engine/test_macro_body_calls_6770.py: 40 pass. 5 of the new tests fail without the fix.

🤖 Generated with Claude Code

https://claude.ai/code/session_018srRvgHnFtHyG5RHPr2dmM

squid-protocol and others added 7 commits October 29, 2026 11:03
…6266)

Engine: a comment in a function-like macro body is no callee; a brace-init
default holding a call keeps a nested constructor a unit; a template argument
may hold decltype/sizeof(...). Oracle: a qualified or differently named ctor
is no member of an unclosed class around it; an undefined owner class reads
any listed base (as TextBody does), wrapper-suffixed headers (.h.old) declare
classes; a file-scope label continues a closed-early body; an ERROR with a
stray quote reads the body as text; a template call on a local is a
comparison; a head run over declarations above the function takes the braces.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvgHnFtHyG5RHPr2dmM
…ed_fails; re-bless (Part of #6266)

doomsday callgraph misses 3 -> 0, scored engine-only 16 -> 0, verdict 6/7 ->
PERFECT; one more function (fontlinewrapping.cpp's nested Line constructor).
Crucible: mlir flatbuffer_export.cc gains make_unique<decltype(..)>(.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvgHnFtHyG5RHPr2dmM
…plate and folded-head reads

#7014 fixed the same 3 doomsday misses; its versions are kept and this
branch's duplicates dropped. The doomsday golden is re-blessed next.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvgHnFtHyG5RHPr2dmM
…it; clang baseline re-measured for #6930 (Part of #6266)

A name that is both a function-like macro and a function the scan declares
was dropped too, so a macro body that invokes it lost the call:
prboom-plus `free(p)` -> `Z_Free(p)` -> `(Z_Free)(...)` (300 edges, clang
recall 0.9975 -> 0.9303), fastdoom `LL_AddToTail` -> `LL_AddNode` (9),
chocolate/crispy-doom `DEH_String` (2 each).

c_repo_macro_body_calls now also collects the names the C/C++ texts declare
or define as functions (a declarator line: type words, then `name(` or
`(name)(`, a parameter list with no string, no second `(` after it); such a
macro lists its own name, and _macro_expansion_callees lists a macro's own
name instead of expanding it again. Non-function macro names still leave
Calls Out To. Every clang and body-oracle number of the 15 C ports is again
that of engine 2a023d3; the Graph Accuracy Audit stays at c fp 297, cpp
fp 166 (the #6922 win).

The rest of the nightly failure is #6930's reference change (compiler
builtin headers on the path): fatal-error files fell, so disagreements
that already existed became clean-file ones. They are identical at engine
2a023d3 and after this fix, so the clang section of
callgraph_baseline.json is re-measured at this branch; the body-oracle
section is unchanged. README triages the newly clean shapes.

Re-bless DOOM-rosetta chocolate-doom, crispy-doom, fastdoom, srb2, doomsday:
summary.callgraph_unscored only, back to the pre-#6922 values (69 -> 71,
39 -> 41, 71 -> 86, 2048 -> 2530, 4638 -> 4663); no check verdict moves.

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

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

callgraph_oracle.py: #7023 merged the same constructor-owner fix; main's
_owner (named-for-its-class climb) is kept, this branch's Classes table and
.old-wrapper bases stay. doomsday golden re-blessed on top of main with CI's
pinned tree-sitter (language-pack 1.22.1): callgraph engine-only 13 -> 0,
verdict 6/7 -> PERFECT; linuxdoom re-checked clean as the parity control.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Only conflict: doomsday golden. Re-blessed with CI's pinned tree-sitter
(language-pack 1.22.1): callgraph_unscored 4639 -> 4664, as this PR
predicts; chocolate-doom, crispy-doom, fastdoom, srb2 check clean.
callgraph_oracle.py --only all --clang --baseline --fail-on-regression
on this head: exit 0, 0 regressions, numbers equal the PR's table.

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

Copy link
Copy Markdown
Owner Author

Taken over from melek (owner 2026-10-29: nyx owns DOOM). Merged #7019's head (with main) in; doomsday re-blessed on top (unscored 4639 -> 4664, CI-pinned tree-sitter 1.22.1). The nightly's own check on this head: callgraph_oracle.py --only all --clang --baseline ... --fail-on-regression exit 0, 0 regressions, numbers identical to the table above. Lands after #7019 (it contains it).

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 21:02
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@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 disabled auto-merge October 29, 2026 21:21
@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 29, 2026
… re-blessed on top of #7019

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (6437ebf) 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). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft October 29, 2026 23:11
@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Oct 29, 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 29, 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 29, 2026 23:14
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #7020 @ 6437ebf: 17 failed check(s)

== crucible (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262208/job/123788715762
repro: tests/tools/box/heavy-run.sh python -m pytest -q tests/cics_crucible && tests/tools/box/heavy-run.sh python tests/tools/cics_crucible.py --ci --out /tmp/gitgalaxy-scratch/ci-digest/cics
errors:
Traceback (most recent call last):
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/_temp/shards/cics-crucible-shard-*/results.json'
##[error]Process completed with exit code 1.
log tail:
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]
No files were found with the provided path: /home/runner/work/_temp/cics_crucible. No artifacts will be uploaded.
##[group]Run echo "measure: cancelled, runner-tests: cancelled"
echo "measure: cancelled, runner-tests: cancelled"
[ "cancelled" = "success" ] && [ "cancelled" = "success" ]
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
PYTHONUTF8: 1
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]
measure: cancelled, runner-tests: cancelled
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/070ff47b-76bb-41d3-85da-d94268c826dc' 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

== db2 (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262219/job/123788693413
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== db2 ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262229/job/123788707996
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== equivalence-e2e (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262219/job/123788692435
repro: python tests/tools/pr_gates.py --fast
errors:
##[error]Process completed with exit code 1.
log tail:
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: equivalence-e2e
##[group]Run echo "plan: $PLAN, db2 $DB2_PLAN ($PLAN_RESULT), shards: $SHARDS, db2: $DB2"
echo "plan: $PLAN, db2 $DB2_PLAN ($PLAN_RESULT), shards: $SHARDS, db2: $DB2"
# runner-minutes of this run so far (every finished job but this one), for the PR body / the nightly trend
gh api --paginate "repos/$REPO/actions/runs/$RUN_ID/jobs?per_page=100" --jq '.jobs[] | select(.name != "equivalence-e2e" and .completed_at != null) | [.name, ((.completed_at | fromdateiso8601) - (.started_at | fromdateiso8601))] | @TSV' > j
python3 - <<'PY' >> "$GITHUB_STEP_SUMMARY"
rows = [ln.rstrip("\n").split("\t") for ln in open("jobs.tsv", encoding="utf-8") if ln.strip()]
total = sum(float(s) for _, s in rows)
print("## Equivalence E2E runner time")
print("| job | seconds |\n|---|---|")
print("".join(f"| {n} | {float(s):.0f} |\n" for n, s in rows), end="")
print(f"\n**{total / 60:.1f} runner-minutes** across {len(rows)} job(s)")
PY
# #4935: a tree the PR run of this workflow proved green: the gate skipped the plan and every job after it
if [ "$SKIP" = "true" ]; then test "$PLAN_RESULT" = "skipped" && test "$SHARDS" = "skipped" && test "$DB2" = "skipped"; exit; fi
test "$PLAN_RESULT" = "success"
if [ "$PLAN" = "none" ]; then test "$SHARDS" = "skipped" && test "$DB2" = "skipped"; exit; fi
test "$SHARDS" = "success"
# #6664: a skipped db2 is green only when the plan said none (no input of the Db2 files changed)
if [ "$DB2_PLAN" = "none" ]; then test "$DB2" = "skipped"; else test "$DB2" = "success"; fi
shell: /usr/bin/bash -e {0}
env:
PLAN:
DB2_PLAN:
PLAN_RESULT: cancelled
SKIP:
SHARDS: cancelled
DB2: cancelled
GH_TOKEN: ***
REPO: squid-protocol/gitgalaxy
RUN_ID: 40971262219
##[endgroup]
plan: , db2 (cancelled), shards: cancelled, db2: cancelled
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262177/job/123788731989
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {9f471d12-2942-4550-9a19-b4c938804242}
Region: westus3
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261025.353.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261025.353/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261025.353
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: cancelled
SKIP:
PLAN:
##[endgroup]
full-suite parts: cancelled (tested-tree skip: , suite plan: )
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262177/job/123788733538
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== ground-truth (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262212/job/123788699536
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261025.353.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261025.353/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261025.353
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: ground-truth
##[group]Run echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
ok() { test "$1" = "success" || { test "$1" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }; }
# #5543: ... or when the layout needs no warm job (a cache hit on the scans, or the busy layout): the parts then warm for themselves
{ ok "$WARM" || { test "$WARM" = "skipped" && test "$PLANNED_WARM" = "false"; }; } && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: cancelled
PARTS: cancelled
SKIP:
MODE:
PLANNED_WARM:
LAYOUT:
##[endgroup]
ground-truth warm: cancelled, parts: cancelled (tested-tree skip: , plan mode: , layout: , warm planned: )
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262212/job/123788701161
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== ground-truth-warm (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262212/job/123788700344
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== measure (shard ${{ matrix.shard }}/${{ matrix.total }}) (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262208/job/123788716629
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== plan the suite parts (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262177/job/123788732457
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== publish-history (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262212/job/123790614263
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== shard ${{ matrix.group }}/3 (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262219/job/123788693761
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== shard ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262229/job/123788707561
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== shard ${{ matrix.shard }} (${{ matrix.loc }} LOC) (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262188/job/123788721058
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== store the suite's durations (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262177/job/123788734425
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== suite time budget (#5166) (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/40971262177/job/123788733965
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

Claimed by promoter-bot host nyx, lease renewed 2026-10-29T23:23Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 23:36
@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:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 29, 2026
@squid-shepherd
squid-shepherd Bot merged commit b1da407 into main Oct 29, 2026
139 of 177 checks passed
@squid-shepherd
squid-shepherd Bot deleted the melek/doom-clang-callgraph-regression branch October 29, 2026 23:51
squid-protocol added a commit that referenced this pull request Oct 30, 2026
…ers as CI measures them (Part of #6266) (#7056)

#7020 re-measured the clang section on a dev box. The CI runner's libclang
reference finds 2 fewer linuxdoom edges (1539, not 1541) and 1 fewer
doomgeneric edge (2097, one more fatal file), steadily: the 10-29 morning
nightly and the post-#7020 dispatch (run 40976028791) give the same counts.
At 1546 engine edges, 2 edges is just over the 0.001 tolerance, so the
nightly failed on linuxdoom precision 0.9968 -> 0.9955 alone. The engine
side (engine_edges) is unchanged; only the reference's counts move.

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

claim:nyx 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