Skip to content

CICS equivalence: nested RUN TRANSID (ASYNCPNT) and case-stated install symbols (ZECS000) (Part of #5089) - #5147

Merged
squid-protocol merged 7 commits into
mainfrom
churn/5089-20261014T1752Z
Oct 14, 2026
Merged

squid-protocol merged 7 commits into
mainfrom
churn/5089-20261014T1752Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5089 (boxes 1 and 2 ticked below; the others stay open).

Class table (nested RUN TRANSID / install symbols)

member status
child RUNs grandchildren, never waits (ASYNCPNT) handled, proved
child FETCH ANY / CHILD (WAIT, NOSUSPEND, TIMEOUT) of its own children handled (nested-* schedules, both runtimes)
FETCH CHANNEL of a grandchild, containers left to the parent handled (nested-channel)
grandchild TRANSIDERR, abend, tie, foreign token, FREE CHILD handled / refused as at level 1
depth 1-3 / RUN below depth 3 handled / refused by name
a child's region-resource commands (R1), HANDLE ABEND child unchanged, refused at every level
install symbols in a CICS file's CSD dsname handled (case-stated)
RETRIEVE in a started task was never compared on the COBOL side fixed here (needed for ZECS000), tests added

IBM, for the register (X18, docs/language_status/register/X18.md)

IBM's RUN TRANSID page puts no restriction on who may issue it ("runs asynchronously with the starting task"; "The parent task will get a response back when the API command FETCH CHILD or FETCH ANY is issued"); SG24-8411 describes a parent that may "initiate further child tasks"; FETCH CHILD: the token "will have been returned from the RUN TRANSID command", INVREQ RESP2 50 for an invalid token. ASSUMED (X18): tokens are per task; a task that never waits ends with its children not run, at every level.

For the owner: RETURN COMMAREA LENGTH (policy: stays REFUSED, not changed here)

IBM, EXEC CICS RETURN: COMMAREA names the data passed, LENGTH its length in bytes (halfword binary); CICS passes LENGTH bytes starting at the COMMAREA's address, so LENGTH longer than the data area passes whatever storage follows it -- storage whose layout GnuCOBOL and IBM's compiler differ on (BNK1UAC 99 into a 107-byte area holding a POINTER, BNK1TFN 29 from 28, BNK1CCS 248 from 5). IBM states no behaviour that makes those bytes defined, so the facade keeps refusing by name; a decision would need a register entry.

Verification

  • pr_gates.py --fast: 6/6 pass. --ratchets: 7/7 pass (nothing skipped).
  • test_cics_runtimes.py (stub and Java facade on one script): 25 schedules each, 13 new nested-*; test_equivalence_cics.py unit tests for install symbols and RETRIEVE.
  • det_port.py check: the facade runtime (CicsTask.java, 17 lines) differs for every port, zecs-zecs000 is NEW. The change is confined to RUN / dispatch, so I re-proved the ports that can reach it, not the 98: asynccc-* (all 10), cbsa-crecust / cbsa-bnk1ccs (RUN, unchanged: still NOT PROVEN, CEEDAYS), zecs-ecs001 / zecs003 (unchanged: NOT PROVEN, det/CICS: zECS file-name templates (READ GTEQ / DELETE GENERIC), GETMAIN/FREEMAIN pointers, CALL ZUIDSTCK #4771) / zecsplt, genapp-lgsetup / lgwebst5 / lgicvs01 / lgipvs01 (START / RETRIEVE users). Coverage ledgers refreshed.
  • Golden masters / field-testing record: not touched (no parsing or fact change).

Cross-repo: none (this repo only).

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 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 14, 2026 18:29
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 18:31
@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.

@squid-protocol squid-protocol added shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 14, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5147 @ 2858471: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38615586295/job/116052551779
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Hosted Compute Agent
Version: 20261012.601
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {e87b6fc4-62a7-4994-a146-17602a80e01d}
Region: eastus2
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: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && test "$SKIP" = "true"; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP: false
##[endgroup]
full-suite parts: failure (tested-tree skip: false)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38615586295/job/116032399278
repro: python -m pytest -q tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
failing tests: tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate
errors:
fail-on-cache-miss: false
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
##[error]Process completed with exit code 1.
log tail:
XFAIL tests/extraction/languages/test_jcl.py::test_jcl_class_start_invalid[//SYSIN DD \n//FAKE JOB 1\n/] - Known limitation: No block shielding for instream data in JCL
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid["fn (a: i32, b: i32)"] - Known limitation: No block shielding for args inside strings
XFAIL tests/extraction/languages/test_zig.py::test_zig_args_invalid[// fn (a: i32, b: i32)] - Known limitation: No block shielding for args inside comments
XPASS tests/extraction/languages/test_jcl.py::test_jcl_args_valid["//STEP1 EXEC PGM=PROG,PARM='THIS STRI"...len102-1d86da8b-"'THIS STRING CONTINUES "...len72-7c3fedb5] - Known limitation: Engine cannot parse JCL line con
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid[//DD DATA \n INCLUDE MEMBER=NOPE \n/*] - Known limitation: No block shielding for instream data in JCL
XPASS tests/extraction/languages/test_jcl.py::test_jcl_dependency_invalid['//STEP1 EXEC PGM=PROG1 THIS COMMENT CO'...len69-d3e393cd] - Known limitation: Inline comments aren't stripped before dependency capture
FAILED tests/tools/test_det_sweep_balance.py::test_a_rerun_shard_overwrites_its_sweep_json_and_merges_without_a_duplicate - Failed: DID NOT RAISE ValueError
1 failed, 9728 passed, 22 skipped, 8 xfailed, 3 xpassed, 2 warnings in 945.98s (0:15:45)
##[error]Process completed with exit code 1.
##[group]Run python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
python tests/tools/evidence_report.py --deltas --live >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
EVIDENCE_REPORT_ADVISORY: 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]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/7cedec40-fe75-4f7f-9766-687b658b98a9' 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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 14, 2026
@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 14, 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 14, 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