Skip to content

EXEC DLI ISRT, REPL, DLET under CICS (Part of #5278) - #5627

Merged
squid-protocol merged 4 commits into
mainfrom
churn/5278-20261019T1239Z
Oct 19, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/5278-20261019T1239Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5278. Checklist: partial [c:d0ab4c0a] -- the translator and runtime side of the ISRT/REPL/DLET verb group is done; the oracle side and the COPAUA0C case are not.

What

EXEC DLI ISRT, REPL and DLET under CICS (register I5) now translate to DetDli.execIsrt / DetDli.execChange, with the answer landing in DIBSTAT. A get becomes a get-hold when the PCB's PROCOPT allows A, R or D (ASSUMED: EXEC DLI has no HOLD option), so REPL and DLET find the held segment. A SEGLENGTH that differs from the DBD's fixed length, or a REPL/DLET SEGMENT that is not the held type, is refused by name.

Result: det_survey on COPAUA0C is 343/344 statements; the port compiles. The GU/REPL/ISRT holes are gone; the one remaining hole is INITIALIZE ... REPLACING of a table (C17).

Class Count
Translator + runtime feature, one verb group 1

Files: det/dli.py, DetDli.java, tests/cobol_mainframe/test_det_dli.py, cobolrt_rules.json, det_port_design.md.

Gates

pr_gates --fast 6/6, --ratchets 8/8, audit_check clear, test_det_dli.py 118 passed / 4 skipped (Docker E2E). Golden masters unaffected (translator/runtime, not extraction).

Not in this PR

Oracle side (ggdli.c, equivalence_cics), the COPAUA0C case and evidence, C17, COPAUS0C / COPAUS1C / CBPAUP0C, MQINQ/MQSET (#4892).

Cross-repo

None.

Lessons for agents

  • X-Ray reads only a file's first 8 KB: adding code above an existing long f-string pushed it into the window and tripped the entropy gate. Bind parts to variables.
  • dead_key_audit flags a constant dict subscript read once (dict(cl)["SEGMENT"]); use a lookup helper.
  • det_survey --program takes the corpus-relative path (app/.../cbl/COPAUA0C.cbl).

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 19, 2026 08:48
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 19, 2026 13:02
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 13:09
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5627 @ b01b816: 2 failed check(s)

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39256746471/job/118081859971
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
Worker ID: {c04196b7-82bf-49f6-a45a-252ab4102943}
Region: centralus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: ground-truth
##[group]Run echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
ok() { test "$1" = "success" || { test "$1" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }; }
ok "$WARM" && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: success
PARTS: failure
SKIP:
MODE: full
##[endgroup]
ground-truth warm: success, parts: failure (tested-tree skip: , plan mode: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 3/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39256746471/job/118077643095
repro: python -m pytest -q tests/cobol_mainframe/test_det_mq.py::test_copaua0c_translates_with_no_mq_hole
failing tests: tests/cobol_mainframe/test_det_mq.py::test_copaua0c_translates_with_no_mq_hole
errors:
fail-on-cache-miss: false
tests/cobol_mainframe/test_det_mq.py:909: AssertionError
FAILED tests/cobol_mainframe/test_det_mq.py::test_copaua0c_translates_with_no_mq_hole - assert False
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
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]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 51849
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a329246198a7f91099133d455855a3b02e7f5721c7d919b14e815a9fde4e9765
Finalizing artifact upload
Artifact test-times-ground-truth-part-3 successfully finalized. Artifact ID 12190030030
Artifact test-times-ground-truth-part-3 has been successfully uploaded! Final size is 51849 bytes. Artifact ID is 12190030030
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39256746471/artifacts/12190030030
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/455cdd65-f1f6-41ed-ad95-81423a0aa34f' 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-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 19, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (611cb3a) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 14:06
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 8dccf16 into main Oct 19, 2026
61 checks passed
@squid-protocol
squid-protocol deleted the churn/5278-20261019T1239Z branch October 19, 2026 14:24
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