Skip to content

DL/I command code D on an ISRT: the path insert, both runtimes (Part of #5233) - #6287

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5233-20261023T1856Z
Oct 23, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5233-20261023T1856Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Part of #5233

Slice 1 of [c:51f08617]: the D command code on an ISRT is the path insert, on the Java runtime (DetDli) and the C stub (ggdli.c). The I/O area holds each D-coded segment, then the last segment, in hierarchic order. A missing D-coded level is created from its slice, a missing non-coded level answers GE, an existing last twin answers II. Java refuses an area shorter than the segments; the C twin cannot see the area size. N on an ISRT and a path ISRT not starting at the root stay refused by name.

ASSUMPTION (no IBM text): an existing D-coded segment is kept and its slice is not compared. Recorded in register I5.

Bug found on the way: the C twin's concatenated-key expansion left stale path/norepl flags in s[1..], so a GU with a C key could run as a path call. Fixed.

Class / Sibling gaps

Class: DL/I command codes and calls beyond the modelled set (register I5), none used by a burned program. Sibling gaps, all still refused by name: M/R/S/W/Z subset-pointer codes (Fast Path; no burned program); AIBTDLI / CEETDLI; FLD / POS; secondary indexes (PROCSEQ, the # operator); logical relationships; HDAM root order; load mode on a DB PCB (PROCOPT L/LS; GSAM load mode is done). No burned-estate program needs any of them.

Facts checked: test_det_dli.py 174 passed with EQUIVALENCE_E2E=1 (DLICMD Q71-Q82 equal on both runtimes, plus a Java-only short-area test); pr_gates --fast 7/7 and --ratchets 9/9; audit_check.py clear; guard tests 194 passed; det_port.py check listed 7 IMS ports, all re-proved PROVED. Five hand-written files plus a one-entry catalogue line (cobolrt_rules.json: RT-DLI-ISRT now lists pathIsrt, which test_the_catalogue_matches_the_runtime requires), no golden change.

Remaining slices: M/R/S/W/Z (keep refused, pinned); AIBTDLI/CEETDLI; FLD/POS; secondary indexes; logical relationships; HDAM root order; load mode on a DB PCB.

Checklist: partial [c:51f08617] -- command codes M/R/S/W/Z, AIBTDLI / CEETDLI, FLD / POS, secondary indexes, logical relationships, HDAM root order, load mode remain

Lessons for agents

  • A new method in a cobolrt/ runtime class under a [rule ...] marker must be added to that rule's methods in docs/language_status/cobolrt_rules.json (or the family's plumbing), or test_the_catalogue_matches_the_runtime fails in the ground-truth CI part. Check with python -m pytest -q tests/cobol_mainframe/test_cobolrt_rules.py.
    A C-twin SSA stack is reused between calls: reset every flag when expanding into s[1..].

🤖 Generated with Claude Code

#5233)

D-coded SSAs before the last on an ISRT insert a path: the I/O area holds each D
segment then the last, in hierarchic order. Missing D levels are created, a missing
non-coded level answers GE, an existing last twin answers II. Java refuses a short
area. The C twin also resets every flag of the SSAs a concatenated key expands.
Proof: DLICMD Q71-Q82 on both runtimes; register I5 updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 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 23, 2026 19:18
@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 23, 2026 19:20
@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6287 @ b1c23ac: 2 failed check(s)

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40010394489/job/120613618138
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 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, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
ok() { test "$1" = "success" || { test "$1" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }; }
# #5543: ... or when the layout needs no warm job (a cache hit on the scans, or the busy layout): the parts then warm for themselves
{ ok "$WARM" || { test "$WARM" = "skipped" && test "$PLANNED_WARM" = "false"; }; } && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: success
PARTS: failure
SKIP:
MODE: full
PLANNED_WARM: true
LAYOUT: calm
##[endgroup]
ground-truth warm: success, parts: failure (tested-tree skip: , plan mode: full, layout: calm, warm planned: true)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 1/4 (failure) -- flake
https://github.com/squid-protocol/gitgalaxy/actions/runs/40010394489/job/120611340243
repro: python -m pytest -q tests/cobol_mainframe/test_cobolrt_rules.py::test_the_catalogue_matches_the_runtime
failing tests: tests/cobol_mainframe/test_cobolrt_rules.py::test_the_catalogue_matches_the_runtime
errors:
fail-on-cache-miss: false
E AssertionError: assert ['dli/DetDli.... its methods'] == []
tests/cobol_mainframe/test_cobolrt_rules.py:88: AssertionError
FAILED tests/cobol_mainframe/test_cobolrt_rules.py::test_the_catalogue_matches_the_runtime - AssertionError: assert ['dli/DetDli.... its methods'] == []
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: bb17e3c4a39f2b655afd492a67cfd8a46e83fdb3dffb0b388756a6eaf4b6bec0
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-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 66524
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9241114efebb55ece709236ae3c1eee96aa13c6993e49245289f942d572e9d79
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12527225167
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 66524 bytes. Artifact ID is 12527225167
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40010394489/artifacts/12527225167
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/a026d73d-a502-4b80-b6d8-f28a39b01ef1' 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 23, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (4181504) 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:retrying Bot: an infra/flake rerun is pending on this head. 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 19:47
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit dffe04e into main Oct 23, 2026
64 checks passed
@squid-protocol
squid-protocol deleted the churn/5233-20261023T1856Z branch October 23, 2026 20:13
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