Skip to content

cics stub: carry RETURN TRANSID CHANNEL to the next task (Part of #5005) - #6352

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5005-20261024T0351Z
Oct 24, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5005-20261024T0351Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5005 (X17): the cobol-stub side of RETURN TRANSID CHANNEL.

The issue's premise was stale: the Java leg already carried the channel (an earlier slice). What was left was the stub, whose translator refused RETURN CHANNEL by name, so the three pc-return-channel cobol-stub cells were unsupported.

What changed

  • ggcics_containers.c: GGCRETC saves the task's current channel to return_channel.cfg and ends the task; below level 1 it logs INVREQ RESP2 2 and returns (IBM: RETURN below the highest logical level fails).
  • equivalence_cics.py: RETURN TRANSID CHANNEL becomes CALL 'GGCRETC'; CHANNEL without TRANSID, or beside COMMAREA/LENGTH/IMMEDIATE, stays refused by name. The task_driver() now calls GGCCHIN (it never did, so the next task started with no channel).
  • cics_crucible.py: COBOL_CAPS gains channel; the stub's RETURN lines are parsed; the runner copies the channel to the next terminal task only (not after an abend, a RETURN without CHANNEL, or a failed RETURN).
  • Tests: test_equivalence_cics.py (stale refusal pin replaced, new translation test), test_return_channel_carry_5005.py (both legs declare channel, stub log parse). baseline.json loses 3 cells; X17.md updated.

Gates

pr_gates --ratchets 9/9 pass; audit_check.py all clear; tests/cics_crucible 862 passed; pc-return-channel cobol-stub 3/3 pass. No engine parsing code touched, so no golden bless.

Class / Sibling gaps

Same mechanism (a channel handed to the next task): the Java leg and the det port already carry it. Not done here: the generated docs/language_status/cics_crucible.md still lists the 3 cells as unsupported (it needs a full Maven --update-baseline run; hand-editing its greedy tables is unreliable), and det_port_design.md:379 still describes the stub as refusing it. This PR touches 6 hand-written files (one over the limit): the extra is a stale pin that had to change.

Cross-repo

None; the expected logs already exist in cics-crucible.

🤖 Generated with Claude Code

…rt of #5005)

GGCRETC saves the task's current channel as return_channel.cfg and ends the
task; below level 1 it logs INVREQ RESP2 2 and returns. The runner copies the
file to the next terminal task's channel.cfg, and the task driver now calls
GGCCHIN so the channel is that task's current channel. pc-return-channel
carry / modify / link-level2 pass on cobol-stub; baseline lowered by 3 cells.

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 24, 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 24, 2026 04:18
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 04:20
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6352 @ ce0d14e: 1 failed check(s)

== measure (shard 1/2) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40061818827/job/120777248566
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
cobol-stub:unsupported 3, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:pass 2, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:unsupported 2, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 2, java-ported:fail 2, java:fail 2
cobol-stub:pass 4, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 4, java-ported:pass 4, java:fail 4
cobol-stub:pass 3, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:unsupported 1, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 1, java-ported:fail 1, java:fail 1
cobol-stub:pass 1, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 1, java-ported:fail 1, java:fail 1
cobol-stub:pass 7, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 7, java-ported:fail 7, java:fail 7
cobol-stub:unsupported 4, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 4, java-ported:fail 4, java:fail 4
cobol-stub:pass 5, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 5, java-ported:pass 5, java:fail 5
cobol-stub:fail 2, cobol-stub:pass 1, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 3, java-ported:fail 3, java:fail 3
cobol-stub:pass 9, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 9, java-ported:fail 9, java:fail 9
cobol-stub:unsupported 6, engine-facts:pass 1, forge-compile:pass 1, java-facade:fail 6, java-ported:fail 6, java:fail 6
cobol-stub:pass 6, engine-facts:pass 1, forge-compile:pass 1, java-facade:pass 6, java-ported:pass 6, java:fail 6
CICS crucible: 167 pass, 232 fail, 19 unsupported (418 cells)
##[error]Process completed with exit code 1.
log tail:
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
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: cics-crucible-shard-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 16690
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 2550f95138e08ca8a1cf6676834024e031bb666c1704b4401719bf748528303a
Finalizing artifact upload
Artifact cics-crucible-shard-1 successfully finalized. Artifact ID 12547841539
Artifact cics-crucible-shard-1 has been successfully uploaded! Final size is 16690 bytes. Artifact ID is 12547841539
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40061818827/artifacts/12547841539
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/44bb83c0-7e49-4d72-aa37-2f5983e116ee' 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 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

squid-protocol and others added 2 commits October 24, 2026 00:32
…port (Part of #5005)

The stub now measures PCRCA / PCRCB / PCRCL, so measure (shard 1/2) failed
"COVERAGE NEW". Regenerated with --update-baseline on the full run; the
baseline ledger already matched.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 24, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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

Copy link
Copy Markdown
Owner Author

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