Skip to content

GSAM PCBs: DBUNLDGS, a load-mode record output on both DL/I runtimes (Part of #5233) - #6087

Merged
squid-protocol merged 4 commits into
mainfrom
churn/5233-20261022T2256Z
Oct 23, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/5233-20261022T2256Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5233 (GSAM PCBs: DBUNLDGS box).

Checklist: partial [c:96d024b5] -- DBUNLDGS proved in load mode; the register/design wording and an RT-DLI-* rule for GSAM are still to do (Remaining slices 1-2)

What changed

A GSAM PCB in load mode (TYPE=GSAM, PROCOPT=LS, fixed RECORD=(n) / RECFM=F) on both DL/I runtimes, identical rules and refusals:

  • ISRT with no SSA appends one record from the I/O area and answers blank; any other function answers AM; an SSA, or (Java) an I/O area shorter than the record, is refused by name.
  • The PCB mask carries the DBD name with a blank level. The database's records go to <DBD>.out on each side and are compared field by field (diff_gsam).
  • psb.cfg gains GSAM <dbd> <procopt> <reclen>.
  • Files: tests/equivalence/ims/ggdli.c, DetDli.java, tests/tools/equivalence_ims.py, tests/cobol_mainframe/test_det_dli.py, new case tests/equivalence/carddemo-dbunldgs/ (case.json, LICENSE, NOTICE).

Evidence

  • carddemo-dbunldgs: PROVED, including 4 fault runs. Oracle is GnuCOBOL plus our stub, not z/OS.
  • det_port.py check --base-ref origin/main: 172/178 unchanged; the 6 listed (cbpaup0c, copaua0c, copaus0c, copaus1c, dbunldgs, paudbunl) re-proved, all PROVED, coverage unchanged for the existing five.
  • Gates: pr_gates.py --fast 7/7, --ratchets 9/9, ground_truth_ledger.py check clean, cobolrt_rules.py --check consistent, ruff format --check clean, tests -k dli/coverage/ims 275 passed, 14 skipped.

ASSUMED (no IBM text cited)

  • The blank mask level and AM for non-ISRT functions on a GSAM PCB.
  • The C side cannot check I/O-area length; only Java refuses a short area.

Sibling gaps

  • GSAM GN/GU read side: none in a burned estate yet beyond the PAUDBLOD path below.
  • I/O PCB / CMPAT=YES: PAUDBLOD (CardDemo) needs it; psb() still refuses "an I/O or alternate PCB".
  • GSAM CHKP/XRST, and EXEC DLI on GSAM: no burned program uses them (CardDemo only).

Remaining slices

  1. docs/language_status/register/I5.md (lines ~7, 59, 61) and docs/language_status/det_port_design.md (~864-867): GSAM no longer "not modelled".
  2. cobolrt_rules.json: an RT-DLI-* entry for the GSAM rule (needs the runtime method form; the branch is inlined in call() to avoid it here).

Rescue fix (Opus)

  • det-sweep failed on coverage ledger: carddemo-dbunldgs: no entry. Commit d48e464 adds the entry with det_coverage_ledger.py update, run on the CI shard sweeps of run 39872136581. The same run refreshed the stale harness/oracle fingerprints of the four other IMS cases. Coverage numbers are unchanged. det_coverage_ledger.py check on those sweeps: as expected.

Cross-repo

None.

Facts checked: origin/main merged cleanly; no direct overlap; PRs #5898/#5900 touch equivalence_cics.py, not touched here. Hand-written files: 5.

Lessons for agents

  • ims_gen_macros ignores a source without a DBDGEN/PSBGEN line: a test DBD needs one.
  • A new runtime method or marker needs a cobolrt_rules.json entry (two-way cobolrt_rules.py --check); inline a branch to avoid it.
  • layout_fields needs copy_dirs or a COPY in the record layout raises LayoutError.
  • det_port.py check needs every pinned corpus at its ref. Build a private GITGALAXY_MAINFRAME_CORPORA (symlinks plus one copied dir, then mainframe_corpus.py fetch) instead of moving the shared cache.
  • det_port.py run carddemo-paudblod does not exist; list real cases from tests/equivalence/.

🤖 Generated with Claude Code

@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 Oct 22, 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 22, 2026 23:29
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 23:30
@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

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6087 @ 8b7b167: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39872136581/job/120157072747
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 172 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 140119
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 5eb8f070fb74f19c1cf5416151291b0e6faab6d71228602c7eb74a069c0dd07f
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12468006989
Artifact det-sweep-ledger has been successfully uploaded! Final size is 140119 bytes. Artifact ID is 12468006989
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39872136581/artifacts/12468006989
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/7f19149b-8bf9-4c48-849d-0a564a4864ac' 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-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 22, 2026
squid-protocol and others added 2 commits October 22, 2026 20:02
…#5233)

det-sweep failed on "carddemo-dbunldgs: no entry". Written by
det_coverage_ledger.py update from CI run 39872136581's shard sweeps; the
four other IMS cases' harness/oracle fingerprints refreshed in the same run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 (d48e464) 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 01f2ced into main Oct 23, 2026
58 checks passed
@squid-protocol
squid-protocol deleted the churn/5233-20261022T2256Z branch October 23, 2026 00:49
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

squid-protocol added a commit that referenced this pull request Oct 23, 2026
…rints (Part of #5278)

det-sweep failed on "carddemo-dbunldgs: coverage moved" (13/14 -> 14/14
paragraphs). The entry from #6087 was measured before main's LE oracle
change; written by det_coverage_ledger.py update from a local sweep at
the merged head. COPAUA0C's cics-stub/oracle fingerprints refreshed in
the same sweep (main's #6156 split).

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

Development

Successfully merging this pull request may close these issues.

1 participant