Skip to content

CICS: SET / INQUIRE TDQUEUE OPENSTATUS and TYPE in the stub and CicsTask (Part of #5168) - #5222

Merged
squid-protocol merged 5 commits into
mainfrom
churn/5168-20261015T2315Z
Oct 16, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
churn/5168-20261015T2315Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5168 (round 3, X61).

What

SET TDQUEUE(q) OPENSTATUS(OPEN|CLOSED) and INQUIRE TDQUEUE(q) OPENSTATUS / TYPE in the stub (GGCSTDQ / GGCITDQ), CicsTask (setTdQueueOpenStatus / inquireTdQueue), both translators and the spec (SET TDQUEUE, INQUIRE TDQUEUE). The run-time state replaces the CSD's OPENTIME for READQ TD, WRITEQ TD and INQUIRE, and outlives the task. IBM cites and assumptions 8-13 are in X61.

Class

TD queue state commands refused by name; same mechanism as X61's extrapartition open/closed state (td_extra_state) and X26's SET/INQUIRE TERMINAL pattern.

Member Status
SET OPENSTATUS OPEN/CLOSED, extrapartition done (QIDERR 1, INVREQ 8 invalid CVDA, INVREQ 9 intrapartition)
INQUIRE OPENSTATUS / TYPE done (NOTAPPLIC for non-extra; TYPE EXTRA/INTRA/INDIRECT/REMOTE)
SET OPEN on INDIRECT/REMOTE, invalid CVDA on a non-extra queue, OPEN with no TYPEFILE, OPEN of an already-read input queue, INQUIRE of a queue with no TYPE refused by name
other SET/INQUIRE TDQUEUE options (ENABLESTATUS, ATIFACILITY, TRIGGERLEVEL, browse) refused by name (spec)
messaging forge TD runtime; HANDLE ABEND exit backout; REMOTE/SYSID; QBUSY; IOERR; ENABLESTATUS sibling gaps, not here

Evidence

  • tests/cics_crucible/test_td_queue_5168.py: 35 scenarios (15 new) run on the stub and on CicsTask with identical expected lines.
  • tests/cobol_mainframe/test_td_openstatus_translate_5168.py: both translators, every refused form.
  • tests/cobol_mainframe/test_td_openstatus_e2e_5168.py (EQUIVALENCE_E2E=1): 15-step synthetic program proven against GnuCOBOL, hand-traced SEND TEXT lines.
  • pr_gates --fast 6/6, --ratchets 8/8, none skipped. No golden bless (no parsing change).
  • det_port.py check: every port's embedded CicsTask.java grows (new methods only); no TD queue command appears in a burned port, so no port's behaviour moves. I did not re-prove the 98 listed ports.

Cross-repo

None.

🤖 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 15, 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 15, 2026 23:39
@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 23:44
@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

PR #5222 @ 6d8bdbd: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38824880331/job/116731438700
repro: python -m pytest -q tests/core_engine/test_cics_spec.py::test_cli_check_and_emit tests/core_engine/test_cics_spec.py::test_coverage_45_full_entries_and_the_name_only_api_commands tests/core_engine/test_cics_spec.py::test_python_m_runs_the_cli
failing tests: tests/core_engine/test_cics_spec.py::test_cli_check_and_emit tests/core_engine/test_cics_spec.py::test_coverage_45_full_entries_and_the_name_only_api_commands tests/core_engine/test_cics_spec.py::test_python_m_runs_the_cli
errors:
fail-on-cache-miss: false
E AssertionError: assert '255 commands, ok' in 'cics spec: 257 commands, ok\n'
tests/core_engine/test_cics_spec.py:172: AssertionError
tests/core_engine/test_cics_spec.py:240: AssertionError
E AssertionError: assert (100 == 98)
tests/core_engine/test_cics_spec.py:250: AssertionError
FAILED tests/core_engine/test_cics_spec.py::test_cli_check_and_emit - AssertionError: assert '255 commands, ok' in 'cics spec: 257 commands, ok\n'
FAILED tests/core_engine/test_cics_spec.py::test_python_m_runs_the_cli - assert 'cics spec: 255 commands, ok' in 'cics spec: 257 commands, ok'
FAILED tests/core_engine/test_cics_spec.py::test_coverage_45_full_entries_and_the_name_only_api_commands - AssertionError: assert (100 == 98)
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 216213
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 313e792f9517f81af55d7392d842a71a61b1a3edaf33aa73f30bfed7188df331
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12015685382
Artifact test-times-part-2 has been successfully uploaded! Final size is 216213 bytes. Artifact ID is 12015685382
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38824880331/artifacts/12015685382
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/f40acb8b-ceb5-459e-8536-3189b514576c' 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 15, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (f65498a) 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 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 00:03
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5222 @ f65498a: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/38827195348/job/116738985347
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/cultural_gauntlet/test_cultural_gauntlet.py::test_the_sampled_plan_runs_part_3: 53.3s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 215488
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 6e00e6469912a2affdd74a59ca2a51ceaf59c55f33154675cce736c5e538adef
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12016340591
Artifact test-times-part-2 has been successfully uploaded! Final size is 215488 bytes. Artifact ID is 12016340591
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/38827195348/artifacts/12016340591
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/f69818ec-6ce3-47f4-b916-9339c1773318' 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 16, 2026
…xture slow (Part of #5168)

The module fixture's ~55 s setup lands on whichever test a CI part runs first;
the duration balance moved with the new tests and the time ratchet flagged
test_the_sampled_plan_runs_part_3.

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (233ee8b) 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 and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 16, 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 Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit c779d21 into main Oct 16, 2026
64 of 65 checks passed
@squid-protocol
squid-protocol deleted the churn/5168-20261015T2315Z branch October 16, 2026 01:31
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