Skip to content

COBOL: the main line is a function_data unit named after its PROGRAM-ID (#7170) - #7172

Merged
squid-shepherd[bot] merged 11 commits into
mainfrom
fix/7170-cobol-mainline
Nov 1, 2026
Merged

squid-shepherd[bot] merged 11 commits into
mainfrom
fix/7170-cobol-mainline

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What was broken

A COBOL program's main line, the procedure-division code before its first paragraph, had no function_data row. #4302 made it a calls-only __global_context__ bucket in synthetic_unit_data. That bucket holds only edges: no size, complexity or signals. It was also dropped entirely when the main line called nothing. As a result, a program that does its work before its first paragraph, or has no paragraphs at all, was invisible to every per-function view: hotspots, distributions, archetypes, sfs fingerprints.

Example: in acherm/agentic-chessengine-cobol-codex, 45% of the procedure code sits in main lines. src/eval.cob has 328 coding lines and 0 functions. In the crucible, 17 COBOL files with no paragraphs were classified Declarative / Non-Code.

Fix

Engine (gitgalaxy/core/detector.py, _cobol_procedure_entry_units):

Other readers kept consistent:

  • core/call_resolver.py: a main_line unit is a caller, never a definition. CALL 'PROG' and PERFORM PROG do not land on it, so call resolution is unchanged; only the caller's identity moves from the synthetic bucket to the new row.
  • tools/cobol_to_cobol/galaxy_ir.py: main lines stay out of the paragraph inventory, so the det-port translator and the forges see the same units as before. Older DBs without def_shape still load.
  • tests/tools/cobol_answer_key.py and tests/tools/estate_crucible.py: they read the main-line row as the program's main line, with its extent. A main line the key does not list is not a phantom paragraph. Older DBs keep the synthetic_unit_data path.
  • Docs: function_population.py's docstring, and the fact_ownership.md status row ("main line has no extent").

Before -> after

Repro, two files:

  • mainln.cob (a 9-line main line with a loop and an IF, then SHOW-IT):
    • before: only SHOW-IT;
    • after: MAINLN L7–15 with branch count 3, calling SHOW-IT, not dead.
  • noparas.cob (no paragraphs):
    • before: no function;
    • after: NOPARAS L3–8.

Regression tests:

  • tests/extraction/languages/test_cobol_procedure_entry_4302.py (13 tests, rewritten from the COBOL engine: statements between PROCEDURE DIVISION and the first paragraph belong to no unit, so the program's main-line PERFORM/CALL edges are never recorded #4302 file):
    • program-ID naming, extents and edges for REPRO1, CBACT01C, multi-line USING plus GO TO, and sibling and nested programs;
    • population membership and weight;
    • never an orphan;
    • a main line with no paragraphs or no edges is kept;
    • args are the PROCEDURE DIVISION USING list, not a CALL's;
    • a quoted PROGRAM-ID;
    • a program opening with a paragraph, or with DECLARATIVES, gets no main line;
    • no PROGRAM-ID gives the calls-only bucket;
    • a main line is not a call-resolution target.
  • tests/cobol_mainframe/test_cobol_main_line_7170.py (3 tests, one real scan):
    • the engine rows;
    • GalaxyIR's inventory stays paragraphs-only;
    • the answer-key scorer reads the main line with its extent.
  • Unchanged and passing: test_cobol_answer_key.py, test_estate_crucible_scorer.py and test_referee_che4z_lsp.py (174 passed), and test_galaxy_ir.py (78 passed).

Golden masters (vs 8468edeb1f74), both legs identical

Blessed through bugfix_kit.py bless: 32 fixtures, 300 scanned files moved (cobol 138).

  • Function-level channels move on COBOL files only:

    • Function Analysis, plus the Scan DB Snapshot channels: Calls Out To, Fan In, Fan Out, Function Archetype, Usage Status, Function Z-Score;
    • Architectural Profile: Archetype Mix, Structural Magnitude, Fingerprint, Drift, Composition Fit / Archetype, Repository Archetype;
    • Risk: Testing, Documentation and Cognitive Load Exposure, plus Raw Cognitive Density.

    Every one is the new main-line unit and its weight entering the file's statistics.

  • Non-COBOL files move only in scan-wide channels: Topological Coordinates X/Y/Z and PageRank, which are normalised over the whole scan, so added COBOL mass shifts them everywhere.

    I checked every changed leaf of both legs by language. The only non-COBOL-labelled changes outside those channels are two repo-wide rollups:

    • Declarative / Non-Code files 736 → 719: 17 COBOL programs with no paragraphs now have code;
    • I/O & Config Routines functions 8,065 → 8,092: the new main lines.
  • scope --expect cobol therefore reports non-COBOL movement. All of it is these scan-wide channels.

Ground-truth ledger

18 mismatches fixed, 0 introduced; ledger check passes.

corpus unit extents before after
aws-mainframe-modernization-carddemo tp 871 / got 871 / truth 881 881 / 881 / 881
zecs 216 / 216 / 221 221 / 221 / 221
dsf 155 / 163 / 166 158 / 166 / 166

Estate-crucible

61/63 horrors passing → 61/63. 0 horrors moved.

Audits

mypy, ruff and dead-key --ci all pass, and the changed test files pass (16).

Draft, per the owner's hold on the DOOM/COBOL study work. This fix unblocks the agentic-COBOL structural comparison.

Closes #7170

🤖 Generated with Claude Code

…ID (#7170)

A program's main line (PROCEDURE DIVISION code before its first paragraph) was a
calls-only __global_context__ bucket (#4302): edges only, no size, complexity or
signals, and dropped entirely when it called nothing. A program that does its work
before its first paragraph (or has none) was invisible to every per-function view;
17 crucible COBOL files with no paragraphs were classified Declarative / Non-Code.

detector: the main line is measured like a paragraph (from its header, loc the
physical span, args from the header's USING list), named after the nearest
PROGRAM-ID, def_shape 'main_line', in the population with its own impact, kept
without edges, exempt from the orphan/duplicate verdict. No PROGRAM-ID: the old
calls-only bucket. DECLARATIVES opening the division is not a main line.
call_resolver: a main line is a caller, never a definition (CALL 'PROG' does not
land on it), so call resolution is unchanged.
galaxy_ir: main lines stay out of the paragraph inventory (translator, forges).
cobol_answer_key / estate_crucible: read the main-line row as the main line, with
its extent; older DBs keep the synthetic_unit_data path.

Ledger: 18 mismatches fixed, 0 introduced (CardDemo unit extents 871 -> 881/881,
zECS 216 -> 221/221, DSF 155 -> 158). Estate crucible 61/63 -> 61/63, none moved.
Goldens: function-level channels move on COBOL files only; non-COBOL files move
only in scan-wide channels (topological coordinates, PageRank).

Closes #7170

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

Copy link
Copy Markdown
Owner Author

Field check on unkeyed code: the agentic-COBOL repos that found this bug (acherm/agentic-*-cobol-*, MIT, 9 repos), rescanned with this branch and scored with cobol_answer_key.py draft + add-extents + score, with this branch's code on PYTHONPATH:

repo unit extents (engine) before after code lines outside any unit
agentic-chessengine-cobol-codex R 57/68 R 68/68 875 → 0
agentic-cobol-compress R 72/74 R 74/74 81 → 0
agentic-cobol-pygame R 11/13 R 13/13 116 → 0
  • units is unchanged everywhere (57/57, 72/72, 11/11, 47/47, 31/31): GalaxyIR's paragraph inventory leaves the main lines out.
  • Codex chess engine extents read P 68/71. The 3 extra engine extents are correct main lines the draft key does not record: attack.cob (main line L23–117 before its first paragraph at L119, key main_line: None), plus the sibling programs makemove.cob UNMAKEMOVE (L518) and search.cob ALPHABETA / QUIESCE (both PROGRAM-ID. X RECURSIVE., named correctly). This is a key-reader gap for sibling-program main lines, not an engine one. The ledger corpora show 0 introduced.
  • One harness note: the scorer must import the branch's gitgalaxy. A venv with an editable install of another checkout gives GalaxyIR from old code (units then reads P 57/71).

@squid-protocol
squid-protocol marked this pull request as ready for review October 30, 2026 21:40
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 21:41
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

CodeQL Analyze (python) red is a stale main baseline, not this change. The 4 "new" results (detector.py ~2231, 2337–2342: one unused local, three redundant comparisons) are in the argument-list helpers that #6773 added. #6773 merged after main's latest CodeQL analysis (7e7b6f510, 2026-10-26), and the daily main scan (#7154) has not run since. The same code is on main unchanged (main L2330, this branch L2341, shifted by this PR's new constants). The job will be rerun once main has a newer analysis.

@squid-shepherd
squid-shepherd Bot disabled auto-merge October 30, 2026 21:56
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #7172 @ 852ebc3: 1 failed check(s)

== Analyze (python) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41132720411/job/124327497791
repro: no local equivalent; read the check page
errors:
expect-error: false
##[error]Process completed with exit code 1.
log tail:
CODEQL_ACTION_SARIF_RESULTS_OUTPUT_DIR: codeql-results
CODEQL_UPLOAD_SARIF__LANGUAGE_PYTHON__CODEQL: CODEQL_UPLOAD_SARIF__LANGUAGE_PYTHON__CODEQL
CODEQL_ACTION_ANALYZE_DID_COMPLETE_SUCCESSFULLY: true
GH_TOKEN: ***
PR: 7172
REPO: squid-protocol/gitgalaxy
##[endgroup]
### CodeQL: 4 new result(s), 3 blocking (fails this PR)
PR analysis 425 results, main's 405. New means not on main, in a file this PR changed.
- py/redundant-comparison: 3
- py/unused-local-variable: 1
| Level | Rule | Where |
|---|---|---|
| note | py/unused-local-variable | gitgalaxy/core/detector.py:2231 |
| warning | py/redundant-comparison | gitgalaxy/core/detector.py:2337 |
| warning | py/redundant-comparison | gitgalaxy/core/detector.py:2340 |
| warning | py/redundant-comparison | gitgalaxy/core/detector.py:2342 |
##[error]Process completed with exit code 1.
Post job cleanup.
Post job cleanup.
Existing job run UUID is 2fed6a19-faf8-4600-9d5b-f3b207282bd3.
CodeQL job status was success.
Sending status report for init-post step.
Status report sent for init-post step.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/a6e92ed0-ad7d-45c7-8ed7-ae9f0a1c3246' 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 the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 30, 2026
…ine is a function (#7170)

summary.functions 167 -> 168; gridwalker.cob functions 0 -> 1 (its main line, now a
function_data unit). fps-cob, agentic-cobol-doom-cc and mood are unchanged (their programs
open with a paragraph). Checked locally first with doom_rosetta_check.py on the four
COBOL-bearing ports: the same two differences CI's shard 2 reported, nothing else.

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

squid-protocol commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner Author

DOOM-rosetta shard 2 was this PR's intended change: agentic-cobol-doom-codex gridwalker.cob gains its main-line function (summary.functions 167 → 168). Blessed for that port only in 3a5557b (doom_rosetta_check.py --update --yes --only agentic-cobol-doom-codex), after a local check of all four COBOL-bearing ports showed exactly CI's two differences and nothing else (fps-cob, agentic-cobol-doom-cc and mood unchanged). The kit's bless covers the crucible goldens, not the DOOM-rosetta ones, so this golden was missed in the first push.

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

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (3a5557b) 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 30, 2026 22:03
@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 30, 2026
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 30, 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 30, 2026 22:11
@squid-shepherd squid-shepherd Bot added shepherd:retrying Bot: an infra/flake rerun is pending on this head. 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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #7172 @ 3a5557b: 4 failed check(s)

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

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41135280401/job/124336792918
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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]
With the provided path, there will be 182 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 157385
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 08461adc1ad80912f5aedf0720a099f15dcbfff694fe92ff9d8be6f5ec6f0f21
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13016327076
Artifact det-sweep-ledger has been successfully uploaded! Final size is 157385 bytes. Artifact ID is 13016327076
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41135280401/artifacts/13016327076
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/f51dc13b-1880-4ac6-a9e3-7341feacc431' 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

== shard ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/41135280401/job/124336795257
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/41135280525/job/124336836439
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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

…inned; docs_read_by_tests refreshed

full-suite part 1/2 failed test_free_format_data_entries_are_not_units[sibling_programs]: its
CobolCraft sibling programs have no paragraphs and now (correctly) carry main lines named after
their PROGRAM-IDs. _units() lists paragraph and section units, as the test means ('no unit is a
data item'), and a new test pins FACING-GETRELATIVE L11-16 and DECODE-INT L32-34 with no LK-*
data name among the units. docs_read_by_tests.txt gains the new test's MAINLN.cbl / NOPARAS.cbl.
Full local run of tests/core_engine, extraction, cobol_mainframe, tools, estate_crucible: 27,008
passed, the only failure the stale list fixed here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-shepherd squid-shepherd Bot added 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 and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 31, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review October 31, 2026 23:15
# Conflicts:
#	tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json
#	tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json
@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 31, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (7a08950) 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 31, 2026 23:39
@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 31, 2026
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 1, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 1, 2026 00:17
@squid-shepherd squid-shepherd Bot added shepherd:retrying Bot: an infra/flake rerun is pending on this head. 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 Nov 1, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

PR #7172 @ 7a08950: 9 failed check(s)

== crucible (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41253272332/job/124691568177
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/f8d93656-6f76-4bc5-945d-48a0c3f64803' 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 ${{ matrix.shard }} (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/41253272335/job/124691556390
repro: python tests/tools/pr_gates.py --fast
log tail:
(log unavailable: gh: HTTP 404)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41253272335/job/124691575415
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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]
With the provided path, there will be 208 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 176823
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is e67d31567cb293c0397eccd73307cd5c983271ad9c1cf8452deee4317e535a98
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13062083049
Artifact det-sweep-ledger has been successfully uploaded! Final size is 176823 bytes. Artifact ID is 13062083049
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41253272335/artifacts/13062083049
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/f151b868-05f1-40c8-bda8-073b25cae990' 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

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41253272274/job/124691565650
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: {55d76e87-a499-4cd5-871f-092c144cc9a8}
Region: centralus
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/41253272274/job/124691566144
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/41253272332/job/124691568815
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/41253272335/job/124691556015
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/41253272274/job/124691567008
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/41253272274/job/124691566575
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 Nov 1, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 1, 2026 00:49
@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 Nov 1, 2026
@squid-shepherd
squid-shepherd Bot merged commit cdfbad5 into main Nov 1, 2026
123 of 160 checks passed
@squid-shepherd
squid-shepherd Bot deleted the fix/7170-cobol-mainline branch November 1, 2026 01:24
squid-shepherd Bot pushed a commit that referenced this pull request Nov 1, 2026
…Fixes #7374) (#7377)

#7172 made the COBOL main line a non-synthetic function_data unit named
(procedure division). engine_adapter put it in `units` too, though the key and the
translator name only paragraphs and sections there: 19 NEW engine-only units
disagreements. The same change gave the engine the main-line extent, so the 19
ledgered unit_extents disagreements (and the engine-main-line-no-extent cause) no
longer reproduce.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Nov 1, 2026
…y guards

The duplicate/orphan guard now skips both the entry unit a PROCEDURE DIVISION falls
into (#7206) and the program's main line (#7170). The main-line test now expects the
main line as its own never-orphan unit; the first paragraph is still flagged.
Goldens take main's side here and are re-blessed in the next commit.

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

Projects

None yet

1 participant