Skip to content

COBOL: .copy members reach the census, matching the translator's COPY search (Part of #8074) - #8102

Merged
squid-shepherd[bot] merged 5 commits into
mainfrom
churn/8074-20261108T1236Z
Nov 8, 2026
Merged

squid-shepherd[bot] merged 5 commits into
mainfrom
churn/8074-20261108T1236Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8074 (blind trial #8073).

What changed

COBOL now lists .copy among its extensions. The det translator's COPY search (COPYBOOK_EXTS in det/source.py) tries .copy / .COPY, but the registry did not scan them: the census lacked the member, the engine drew no COPY edge, and the program refused whole with CopyUnresolved although the estate held the member. New tests/cobol_mainframe/test_copy_extension_parity_8074.py scans an authored estate (invented names) with .copy, .COPY, .cpy, .CPY, .dcl, .DCL members and pins every translator COPY extension to the registry (3 of its 7 cases failed before the fix). Logged D054 in field_testing.json.

Blind-estate measurement (counts only, tools only)

  • det_survey --no-compile: 58 programs, 40 whole, 16 with holes, 2 refused (was 38 whole at the Walk: prune directories by path rules, not the file gate (Part of #8074) #8079 re-measure).
  • The 2 refusals are not CopyUnresolved: both are CopyNotFound: COPY LGCMAREA found in none of [...], and no file of the clone carries that member name in any case or extension. So no layout, name or extension of the search misses them. They are a clone fault or an unpublished member; whether to call it a source defect needs an IBM citation and an Opus review (policy rule 10), so I did not label it.
  • The clone holds no .copy file, so this PR does not move the blind number; it closes the parity gap found while looking.
  • Also found, left alone: 29 .cbl and 8 .jcl files under hidden .expanded directories are pruned by the hidden-directory rule (correct: they are expanded duplicates of the programs, not library members).

Class / Sibling gaps

Class: every extension the translator's COPY search tries that the engine census does not scan. Members: .copy/.COPY (fixed here, tested), .cpy, .CPY, .dcl, .DCL, .cbl, .cob (already scanned; pinned by the parity test). Sibling gaps: the 2 blind refusals (member absent from the clone; needs an owner ruling per policy rule 10, not an engine change); a CopyUnresolved cause string is PR #8089 (no overlap in code; both append a field_testing.json record, D053 there, D054 here).

Checklist: partial [c:ce5045ad] -- the search misses only .copy (fixed); the 2 programs left refused are COPY members absent from the clone, not a search miss

Gates

golden masters unchanged (both legs PASS, no bless); pr_gates --fast 9/9; --ratchets 9 pass; docs_read_by_tests.txt regenerated.

Lessons for agents

  • Before theorising about a resolver miss, tally the clone's extensions and run det_survey --no-compile with GITGALAXY_MAINFRAME_CORPORA pointing at the blind dir: the refusal text says whether it is CopyUnresolved (engine miss) or CopyNotFound (member not in the clone).

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

🤖 Generated with Claude Code

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

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

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

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (decbcf9) 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 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 Nov 8, 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 Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 8, 2026 13:17
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 8, 2026 13:17
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 8, 2026 13:30
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

PR #8102 @ decbcf9: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42484235465/job/128745386707
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 54898b74c23fde5556c9b3c3a2290865feef0dfe
Build Date: 2026-10-28T21:51:42Z
Worker ID: {5b067190-ada8-4b91-ae35-6ea88349a267}
Region: southcentralus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261101.360.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261101.360/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261101.360
##[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: failure
SKIP:
PLAN: full
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 2/3 (failure) -- flake
https://github.com/squid-protocol/gitgalaxy/actions/runs/42484235465/job/128742871191
repro: python -m pytest -q tests/tools/test_readme_hand_counts.py::test_wiki_and_network_auditing_counts_match_the_code
failing tests: tests/tools/test_readme_hand_counts.py::test_wiki_and_network_auditing_counts_match_the_code
errors:
fail-on-cache-miss: false
tests/tools/test_readme_hand_counts.py:178: AssertionError
FAILED tests/tools/test_readme_hand_counts.py::test_wiki_and_network_auditing_counts_match_the_code - assert ('72 languages' in '---\ndescription: "GitGalaxy is, fundamentally, a high-velocity, **deterministic function-level knowledge graph
##[error]Process completed with exit code 1.
log tail:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 995301
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 38f6fb89bc37c0ba7c3d23f0053c26597522ed8a870babc7bec9c97abf0cee66
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 13618398272
Artifact test-times-part-2 has been successfully uploaded! Final size is 995301 bytes. Artifact ID is 13618398272
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42484235465/artifacts/13618398272
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/0d76c5e2-befc-459c-8853-f01ed18018a9' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Nov 8, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 8, 2026 13:47
@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 8, 2026
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 8, 2026 13:56
@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 8, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 8, 2026 14:12
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 8, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant