Skip to content

CICS crucible: LINK COMMAREA byte channel -- handleLink(T, byte[]) and lastLinkBytes() (Part of #5053) - #5369

Merged
squid-protocol merged 7 commits into
mainfrom
churn/5053-20261017T1423Z
Oct 17, 2026
Merged

squid-protocol merged 7 commits into
mainfrom
churn/5053-20261017T1423Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5053 (the LINK / XCTL COMMAREA item). Does not close the issue.

What

A facade's handleLink had no byte overload, so the crucible compared a LINKed program's COMMAREA, and the caller_commarea its RETURN gives back, through the DTO alone: a numeric DISPLAY field holding spaces was invisible.

  • Forge: handleLink(T request, byte[] area) beside the unchanged DTO form (only when the program has a request type), lastLinkBytes() (the bytes the program left, null if it never took the area); runtime accessors linkAreaView() (does not mark the area taken) and linkAreaOfCaller(), and Region.linked(program, commarea, bytes).
  • Det: facades() rebuilds both; lastLinkBytes registered in DET_HELPERS / METHODS_TAKEN.
  • Crucible driver: drives the byte overload, requires lastLinkBytes() to equal the task's own LINK bytes (a facade that stops carrying them is an error, not a silent fallback to the DTO), and compares caller_commarea through the runtime page / EBCDIC layout, cut at the LINK's LENGTH. LINK passes the area by address (det: a LINKed program that XCTLs with its DFHCOMMAREA -- the XCTL target's writes never reach the LINK caller (IBM: settle copy vs same storage) #4816); the FacadeRegion override enforces it.

Evidence

Sibling gaps

🤖 Generated with Claude Code

squid-protocol and others added 4 commits October 17, 2026 11:47
…d lastLinkBytes() (Part of #5053)

The forge emits a handleLink byte overload beside the DTO form, the det stub
rebuilds it, and the crucible drives it and compares the caller_commarea of a
RETURN by the bytes the program left, bounded by the LINK's LENGTH.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s() (Part of #5053)

port_surface equivalence regenerated the 14 ports whose facade has a LINK COMMAREA;
each was re-proved (det_port.py run) before.

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 17, 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 17, 2026 20:38


def _ebcdic_area(text: str, layout=None):
shapes = {}
@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 20:41
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5369 @ 76835a9: 1 failed check(s)

== Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39067549416/job/117498234625
repro: python tests/tools/pr_gates.py --only secrets xray
errors:
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
log tail:
Requirement already satisfied: tomli==2.5.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 116)) (2.5.0)
Requirement already satisfied: typing-extensions==4.16.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 186)) (4.16.0)
Requirement already satisfied: vcs-versioning==2.6.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 192)) (2.6.0)
Requirement already satisfied: wheel==0.48.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 196)) (0.48.0)
Obtaining file:///home/runner/work/gitgalaxy/gitgalaxy
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
INFO: pip is looking at multiple versions of gitgalaxy to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
##[end-action id=__self_3.__run;outcome=failure;conclusion=failure;duration_ms=1383]
##[start-action display=Execute GitGalaxy Tool;id=__self_3.__run_2]
##[end-action id=__self_3.__run_2;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__cefd7c1c-5462-42fc-8944-095ddcec80b9.__actions_setup-python]
##[end-action id=__cefd7c1c-5462-42fc-8944-095ddcec80b9.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__51cdbc5f-f9e9-465b-8980-7d942c9e475d.__actions_setup-python]
##[end-action id=__51cdbc5f-f9e9-465b-8980-7d942c9e475d.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__35aa12df-4c91-4687-a657-ba3dd16ddcee.__actions_setup-python]
##[end-action id=__35aa12df-4c91-4687-a657-ba3dd16ddcee.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/3e775468-d1dd-4231-a14c-f58e7c9b1f43' 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 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added 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:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5369 @ a6b8389: 1 failed check(s)

== Pre-gate (Vault Sentinel, X-Ray, Supply Chain) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39068081493/job/117499790769
repro: python tests/tools/pr_gates.py --only secrets xray
errors:
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
log tail:
Requirement already satisfied: tomli==2.5.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 116)) (2.5.0)
Requirement already satisfied: typing-extensions==4.16.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 186)) (4.16.0)
Requirement already satisfied: vcs-versioning==2.6.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 192)) (2.6.0)
Requirement already satisfied: wheel==0.48.0 in /opt/hostedtoolcache/Python/3.10.22/x64/lib/python3.10/site-packages (from -r /home/runner/work/gitgalaxy/gitgalaxy/.//ci/requirements/bootstrap.txt (line 196)) (0.48.0)
Obtaining file:///home/runner/work/gitgalaxy/gitgalaxy
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
INFO: pip is looking at multiple versions of gitgalaxy to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'gitgalaxy' requires a different Python: 3.10.22 not in '>=3.11'
##[error]Process completed with exit code 1.
##[end-action id=__self_3.__run;outcome=failure;conclusion=failure;duration_ms=2413]
##[start-action display=Execute GitGalaxy Tool;id=__self_3.__run_2]
##[end-action id=__self_3.__run_2;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__15b970dc-7017-42d7-a1e8-8103fdf39c7e.__actions_setup-python]
##[end-action id=__15b970dc-7017-42d7-a1e8-8103fdf39c7e.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__0e529449-f3bc-4a94-b4c5-6bd4b6412702.__actions_setup-python]
##[end-action id=__0e529449-f3bc-4a94-b4c5-6bd4b6412702.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
##[start-action display=Set up Python;id=__6eb812c3-2287-4996-bec2-4fb6fe7dc199.__actions_setup-python]
##[end-action id=__6eb812c3-2287-4996-bec2-4fb6fe7dc199.__actions_setup-python;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/490f23dd-128f-4d50-80c0-1fe6b0e51c68' 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 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@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 17, 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 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit f484174 into main Oct 17, 2026
57 checks passed
@squid-protocol
squid-protocol deleted the churn/5053-20261017T1423Z branch October 17, 2026 21:30
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.

2 participants