Skip to content

cics-crucible: case hc-tdqueue-enable, INQUIRE / SET TDQUEUE (Part of #7956) - #8288

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7956-20261111T0751Z
Nov 17, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/7956-20261111T0751Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Body-only PR (empty commit) for the data-only case hc-tdqueue-enable in cics-crucible: INQUIRE TDQUEUE and SET TDQUEUE ENABLESTATUS, QIDERR on an undefined queue, INVREQ on an invalid CVDA. Part of #7956.

The plan changed: the first plan (GET64/PUT64 CONTAINER) was dropped because those verbs are assembler-AMODE(64) only. The case moved to TDQUEUE inquire/set.

Evidence levels: cobol-stub 4/4 scenarios; det port 52/52 events, 0 holes; java-ported 2 of 4 scenarios (inquire, undefined diverge on the undefined queue, a harness gap, below).

Class / Sibling gaps

  • java-ported harness: java_plan in tests/tools/cics_crucible.py passes no TDQUEUE list, so CicsTask.tdQueues stays null and an undefined queue answers NORMAL. Fix: add tdqueues to plan.json (only when non-empty) and call withTdQueues / withTdQueueTypes in the generated test.
  • Stub: GG-FLAGS is 40 bytes, so an INQUIRE TDQUEUE naming all four of TYPE ENABLESTATUS TRIGGERLEVEL RECOVSTATUS returns RECOVSTATUS as 0.
  • TRIGGERLEVEL's CSD default is 1; not asserted by the case.
  • WRITEQ/READQ/DELETEQ TD against a DISABLED queue: RESP/RESP2 unverified, not asserted.

Remaining slices

WEB RETRIEVE, EXTRACT TCPIP and the WEB CONVERSE request side need SPEC rows (not data-only).

Cross-repo

Companion: squid-protocol/cics-crucible#97 (draft). The crucible PR merges first, then the pin bump here (orchestrator's call); after that re-run the cics-crucible sweep.

Checklist: done [c:b1a1d268]

Lessons for agents

  • python is not on PATH in a worker worktree: export the selfscan venv bin dir in every Bash call.
  • Four-option INQUIRE TDQUEUE overflows the stub's 40-byte flags; keep INQUIREs to three options.
  • A java-ported failure on an undefined-resource QIDERR may be the harness, not the case: check java_plan carries the CSD list first.

🤖 Generated with Claude Code

@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-11-11). Nothing is needed from contributors; work resumes once it is answered.

@squid-protocol

Copy link
Copy Markdown
Owner Author

The harness gap this PR was held on is fixed in #8403.

java_plan now carries the CSD's TDQUEUEs into plan.json and the generated test hands them to the task, so the undefined queue HCNQ answers QIDERR RESP2 1 instead of NORMAL. Measured on cics-crucible d0e7ebe, same det port both runs, the harness change the only difference:

  • without it: 2 pass / 2 fail (inquire, undefined: 'R=44 R2=01' expected, got 'R=00 R2=00') — the 2/4 this PR's body records
  • with it: 4 pass / 0 fail, PROVEN

Two corrections to this PR's framing, for whoever picks it up:

  1. cics-crucible#97 is not a blocker. It was closed on 11-11 as superseded by Unclog the PR backlog: 7 cases, the missing RELEASING.md rows, and two stale doc lines cics-crucible#104, squash-merged as b80c334b3, which carries this case. The case is on crucible main.
  2. The case had no committed det port, so java-ported could not run it at all — a plain run reports no port of any of its programs (0/4). The 2/4 above came from a scratch build that this body-only PR never committed. java-ported: plan.json carries the CSD's TDQUEUEs, so an undefined queue is QIDERR (Part of #7956) #8403 commits it (HCTDEN, 52/52 statements, no holes).

So the java-ported line here is 4/4 once #8403 lands. What still stands between this PR and a merge is the pin: the pin is v0.18.0 and the case is only on crucible main, so it needs a cics-crucible release and a pin bump (its own PR, per tests/_cics_crucible_pin.py) — an owner call on release timing, not a defect.

squid-protocol added a commit that referenced this pull request Nov 13, 2026
…eue is QIDERR (Part of #7956) (#8403)

The java-ported side answered NORMAL where the CSD defines no such transient-data queue: `java_plan`
put no TDQUEUE list in plan.json, so `CicsTask.tdQueues` stayed null and the task took every queue
as defined. The cobol-stub side got the same facts through tdqueues.cfg, so the two runtimes
disagreed on the oracle's QIDERR.

The plan now emits `tdqueues` (name -> "TYPE KEY=VALUE...") when, and only when, the case's CSD
defines some -- an always-present empty key would break the exact-equality plan tests -- and the
generated test hands them to the task through withTdQueues / withTdQueueTypes, plus
withTdQueueAttributes for the rest (RECOVSTATUS and friends, #5168 X61). The Java runtime already
had all three setters; only the harness side was missing.

This is the gap that held PR #8288. `hc-tdqueue-enable` also had no committed deterministic port,
so java-ported could not run it at all ("no port of any of its programs"), so this registers the
case in cics_crucible_det.PROGRAMS and commits HCTDEN's det port (52/52 statements, no holes).

Measured on cics-crucible d0e7ebe, same det port both times, the harness change the only difference:

  without  2 pass / 2 fail  (`inquire`, `undefined`: 'R=44 R2=01' expected, got 'R=00 R2=00')
  with     4 pass / 0 fail  PROVEN

tests/cics_crucible: 1113 passed, 15 skipped.

Co-authored-by: Claude Opus 5 <[email protected]>
@squid-protocol

squid-protocol commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner Author

Status 2026-11-14: nothing is wrong with this PR; it waited on one thing, the pin. cics-crucible v0.19.0 is now released (it carries hc-tdqueue-enable), and the pin bump is #8477, where the case reads pass 4/4 on cobol-stub, java-facade and java-ported. Once #8477 merges, this PR can be marked ready and labelled.

@squid-protocol
squid-protocol marked this pull request as ready for review November 17, 2026 20:52
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 17, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 17, 2026 20:52
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-11-17). Nothing is needed from contributors; work resumes once it is answered.

@squid-shepherd
squid-shepherd Bot merged commit c9c0494 into main Nov 17, 2026
33 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7956-20261111T0751Z branch November 17, 2026 20:57
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