Skip to content

Det port: HCT1PL01 case; harness judges a layout_only RETURN; forge EIBTRNID return (Part of #8230) - #8231

Merged
squid-shepherd[bot] merged 8 commits into
mainfrom
churn/8230-20261110T1814Z
Nov 10, 2026
Merged

squid-shepherd[bot] merged 8 commits into
mainfrom
churn/8230-20261110T1814Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Part of #8230 (and #8121). Does not close it: HCT1PL01 / HCP1PL01 / HCV1PL01 are still held, for the reasons below.

What changed

  • Forge (cobol_to_java_transaction_forge.py): RETURN TRANSID(EIBTRNID) now counts as a return to the program itself, like a literal own-TRANSID. Semantically right, pinned by test_cics_eibtrnid_return_8230.py. It does not change the generated HCT1PL01 / HCP1PL01 services.
  • Harness (equivalence_cics.py): a layout_only COMMAREA (Ladder climb L1->L4: 30 cics-crucible programs below L4, by family (follows #6072) #7434, no DTO) now sets raw_commarea, so its RETURN bytes are judged from task.returnedBytes(). Before this, every RETURN field read COBOL 0 vs Java None. This was the real blocker for HCT1PL01.
  • Case health-hct1pl01 (new, case data): HCT1PL01 with HCP1BI01 / HCT1BI01 / HCIPDB01 / HCITDB01 / HCT1BA01 / HCATDB01 / HCAZERRS, 6 stated scenarios plus 3 derived SQL-fault scenarios.
  • port_blockers P128 (new): a DISPLAY in a LINKed program is not captured on the Java side of a CICS run on an estate with no batch package (standalone Sysout writes stdout, the harness reads the gitgalaxy.sysout file). The case sets sysout: false for it.

The plan was wrong

The plan said the forge's untyped Object COMMAREA path was the blocker. It was not: HCT1PL01 is typed either way. The held case was blocked by the harness not judging a layout_only RETURN. After that, the SQLCODE-100 divergence I diagnosed (COMP SQLCA vs DetSql byte order) turned out to be the same cause main fixed as P126 while this worked; merging origin/main cleared it.

Evidence ladder (HCT1PL01)

Translated whole (327/327 in the estate). Executed-equivalent: 9 scenarios, 18 event-comparison runs (direct and java-facade), all events equal; RETURN COMMAREA bytes and the THRESHOLD table compared. Coverage 9/12 paragraphs, 17/18 branches. Not compared: DISPLAY output (P128). Assumptions: GnuCOBOL plus our stub, not z/OS. Residual: 3 paragraphs and 1 branch uncovered; HCP1PL01 and HCV1PL01 cases are not written.

Class / Sibling gaps

Class: a transaction program with a layout_only COMMAREA that RETURNs TRANSID(variable). Members: HCT1PL01 (done here), HCP1PL01 (same shape, case unwritten), HCV1PL01 (blocked by P124 (b): blank-padded X host variable into a SMALLINT column in HCAVDB01's chain). Not fixed here, listed: HCP1PL01 case, HCV1PL01 case, P128 (uncaptured CICS DISPLAY, any CICS case whose chain DISPLAYs on an estate without a batch package).

File-cap exception: LICENSE, NOTICE and seed.sql are the case data beside case.json (the case directory the harness requires), and port_blockers.md is generated from port_blockers.json; the hand-written files are the forge, its test, equivalence_cics.py and port_blockers.json.

Gates

pr_gates --fast: 8/9, affected fails on test_no_pinned_crucible_case_needs_the_child_schedule, which also fails on the pre-change base tree (hc-fetch-child, unrelated). audit_check.py: all clear (before the merge; re-run after). test_port_blockers.py and the new test: pass. det_port.py run health-hct1pl01: all events equal. No parsing logic touched, no golden bless. 5 hand-written files or fewer.

Cross-repo

None. Overlaps open PR #8225 on port_blockers.json; origin/main merged, change kept to one new entry (P128).

Lessons for agents

  • A det_port case with a layout_only COMMAREA needs "commarea": null per scenario and a case-level startcode.
  • Seed every selected PATIENT column or SELECT INTO gives SQLCODE -305.
  • det_port.py check can fail in the base-tree translate with no visible error: use a manual base worktree.
  • A Db2 case that only reaches -803 hides a SQLCA byte-order bug (both land on When Other): make one scenario reach a When 100 arm.
  • A CICS case whose chain DISPLAYs on an estate with no batch package needs "sysout": false until P128 lands.
  • Check origin/main for a fix before hand-diagnosing a P-entry: P124 (a) had been fixed as P126 meanwhile.
  • A mid-line # comment inside the long scenario dict line in equivalence_cics.py swallows the rest of the line.

🤖 Generated with Claude Code

Checklist: partial [c:c0f96d0c] -- HCT1PL01 case landed (health-hct1pl01); HCP1PL01 and HCV1PL01 still held (P124 SQLCODE-100 blocker logged in port_blockers.json).

squid-protocol and others added 5 commits November 10, 2026 13:23
…e order); HCT1PL01 / HCP1PL01 wait on it (Part of #8230, #8121)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…COMMAREA); P128 logs the uncaptured CICS DISPLAY (Part of #8230, #8121)

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 Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 10, 2026 18:52
@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 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 18:55
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8231 @ ef5f5b6: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42879542431/job/130081064709
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:
warning: coverage ledger: cruc-hc-eoc-error: stale (harness, oracle changed); refresh when convenient
warning: coverage ledger: cruc-hc-ignore-error: stale (harness, oracle changed); refresh when convenient
##[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.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
##[endgroup]
With the provided path, there will be 283 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 234131
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 4a84c356120cbd116f99572c31b3f7a67cd487495cc1a95d7d23882aadb69f21
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13796418347
Artifact det-sweep-ledger has been successfully uploaded! Final size is 234131 bytes. Artifact ID is 13796418347
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42879542431/artifacts/13796418347
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/de95d7fd-0505-467a-81b9-58bc74a6ebae' 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 Nov 10, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (e0458db) 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 November 10, 2026 19:50
@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 10, 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 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 10, 2026 19:55
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 10, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 19:56
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8231 @ e0458db: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42889131157/job/130150895091
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases asynccc-getpol,asynccc-getpol:,carddemo-adminmenu-generated,carddemo-adminmenu-generated:,carddemo-cbstm03b,carddemo-cbstm03b:,carddemo-codate01,carddemo-codate01:,carddemo-signon,carddemo-signon:,carddemo-useradd,carddemo-useradd:,carddemo-userlist-linked,carddemo-userlist-linked:,carddemo-userupd,carddemo-userupd:,cbsa-crdtagy1,cbsa-crdtagy1:,cbsa-crdtagy2,cbsa-crdtagy2:,cbsa-inqcust,cbsa-inqcust:,cruc-ca-address-commarea-callee,cruc-ca-address-commarea-callee:,cruc-ca-address-cwa,cruc-ca-address-cwa:,cruc-ca-address-twa-tctua,cruc-ca-address-twa-tctua:,cruc-ca-channel-containers-callee,cruc-ca-channel-containers-callee:,cruc-ca-container-byteoffset,cruc-ca-container-byteoffset:,cruc-ca-get-container-set,cruc-ca-get-container-set:,cruc-ca-link-lengths,cruc-ca-link-lengths:,cruc-gt-urimap-browse,cruc-gt-urimap-browse:,cruc-gt-web-server-send,cruc-gt-web-server-send:,cruc-hc-abend-link,cruc-hc-abend-link:,cruc-hc-deedit-uctranst,cruc-hc-deedit-uctranst:,cruc-hc-readq-td,cruc-hc-readq-td:,cruc-hx-attr-bytes,cruc-hx-attr-bytes:,cruc-pc-immediate-s,cruc-pc-immediate-s:,genapp-lgipvs01,genapp-lgipvs01:,genapp-lgstsq,genapp-lgstsq:,zecs-ecs001,zecs-ecs001:,zecs-zecs001,zecs-zecs001:,zecs-zecs003,zecs-zecs003: --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: asynccc-getpol,asynccc-getpol:,carddemo-adminmenu-generated,carddemo-adminmenu-generated:,carddemo-cbstm03b,carddemo-cbstm03b:,carddemo-codate01,carddemo-codate01:,carddemo-signon,carddemo-signon:,carddemo-useradd,carddemo-useradd:,carddemo-userlist-linked,carddemo-userlist-linked:,carddemo-userupd,carddemo-userupd:,cbsa-crdtagy1,cbsa-crdtagy1:,cbsa-crdtagy2,cbsa-crdtagy2:,cbsa-inqcust,cbsa-inqcust:,cruc-ca-address-commarea-callee,cruc-ca-address-commarea-callee:,cruc-ca-address-cwa,cruc-ca-address-cwa:,cruc-ca-address-twa-tctua,cruc-ca-address-twa-tctua:,cruc-ca-channel-containers-callee,cruc-ca-channel-containers-callee:,cruc-ca-container-byteoffset,cruc-ca-container-byteoffset:,cruc-ca-get-container-set,cruc-ca-get-container-set:,cruc-ca-link-lengths,cruc-ca-link-lengths:,cruc-gt-urimap-browse,cruc-gt-urimap-browse:,cruc-gt-web-server-send,cruc-gt-web-server-send:,cruc-hc-abend-link,cruc-hc-abend-link:,cruc-hc-deedit-uctranst,cruc-hc-deedit-uctranst:,cruc-hc-readq-td,cruc-hc-readq-td:,cruc-hx-attr-bytes,cruc-hx-attr-bytes:,cruc-pc-immediate-s,cruc-pc-immediate-s:,genapp-lgipvs01,genapp-lgipvs01:,genapp-lgstsq,genapp-lgstsq:,zecs-ecs001,zecs-ecs001:,zecs-zecs001,zecs-zecs001:,zecs-zecs003,zecs-zecs003:
errors:
det asynccc-getpol NOT PROVEN
det carddemo-adminmenu-generated NOT PROVEN
det carddemo-cbstm03b NOT PROVEN
det carddemo-codate01 NOT PROVEN
det carddemo-signon NOT PROVEN
det carddemo-useradd NOT PROVEN
det carddemo-userlist-linked NOT PROVEN
det carddemo-userupd NOT PROVEN
det cbsa-crdtagy1 NOT PROVEN
det cbsa-crdtagy2 NOT PROVEN
det cbsa-inqcust NOT PROVEN
det cruc-ca-address-commarea-callee NOT PROVEN
det cruc-ca-address-cwa NOT PROVEN
det cruc-ca-address-twa-tctua NOT PROVEN
det cruc-ca-channel-containers-callee NOT PROVEN
det cruc-ca-container-byteoffset NOT PROVEN
det cruc-ca-get-container-set NOT PROVEN
det cruc-ca-link-lengths NOT PROVEN
det cruc-gt-urimap-browse NOT PROVEN
det cruc-gt-web-server-send NOT PROVEN
det cruc-hc-abend-link NOT PROVEN
det cruc-hc-deedit-uctranst NOT PROVEN
det cruc-hc-readq-td NOT PROVEN
det cruc-hx-attr-bytes NOT PROVEN
det cruc-pc-immediate-s NOT PROVEN
... 38 more
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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
##[endgroup]
With the provided path, there will be 254 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 212263
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 2a9ca84f278e9f7ea54278678d7091be8f492b970ab5bc1f4ac09114d76f5ba9
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13805633176
Artifact det-sweep-ledger has been successfully uploaded! Final size is 212263 bytes. Artifact ID is 13805633176
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/42889131157/artifacts/13805633176
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/1a8a64f8-7cee-47e4-b0cf-a1fc178ec89d' 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 Nov 10, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 10, 2026 22:45
@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 10, 2026
@squid-shepherd
squid-shepherd Bot merged commit 7effbf6 into main Nov 10, 2026
61 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8230-20261110T1814Z branch November 10, 2026 23:35
squid-protocol added a commit that referenced this pull request Nov 11, 2026
…h the ledger case fingerprint) (Part of #7956)

CI's det sweep proves it (14 scenarios, 11/11 paragraphs, 17/18 branches, same coverage as the ledger) after #8231's harness change, so the two-way ratchet fails on the stale baseline entry; the ledger's case fingerprint was also stale.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 11, 2026
…ly PR) (#8248)

* WIP #7956: hc-handle-pgmiderr case lives in cics-crucible#85 (body-only PR)

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

* det sweep: health-hcp1pl01 is proven (drop its baseline entry, refresh the ledger case fingerprint) (Part of #7956)

CI's det sweep proves it (14 scenarios, 11/11 paragraphs, 17/18 branches, same coverage as the ledger) after #8231's harness change, so the two-way ratchet fails on the stale baseline entry; the ledger's case fingerprint was also stale.

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

---------

Co-authored-by: Claude Sonnet 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