Skip to content

cics-crucible: browse events under conditions on both legs; stub ENDBR answers FILENOTFOUND (Part of #6262) - #7152

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6262-20261030T1413Z
Oct 30, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6262-20261030T1413Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6262.

What changed

READNEXT, READPREV and ENDBR already had Java (#6314) and stub (#6321) events on main, so the plan's premise changed: this slice is condition-path parity, not new events.

  • tests/cics_crucible/test_browse_conditions_6262.py (new): one command list (planned NOTOPEN on STARTBR, DUPKEY on READNEXT and READPREV, ENDFILE on READPREV, and all four commands on an undefined file) runs through CicsTask and the C stub against one hand-traced IBM log, compared with cc.compare under JAVA_CAPS / COBOL_CAPS. DUPKEY must carry its record, a failed browse read none.
  • tests/equivalence/cics/ggcics_filecontrol.c: GGCENBR answered INVREQ (35) to ENDBR on a file absent from files.cfg; IBM and the Java leg (endbrEvent via fileFault) give FILENOTFOUND, RESP2 1 (X75). Fixed.

Class / Sibling gaps

Class: browse-command events (SPEC 6.2) recorded identically by both runtimes on the condition paths. Swept: STARTBR, READNEXT, READPREV, ENDBR x planned fault, DUPKEY, undefined file; the one divergence found (stub ENDBR) is fixed.
Sibling gaps (no burned-estate program needs any today): WRITE and DELETE are not events in pinned cics-crucible v0.10.0 (needs a SPEC change, release and pin bump). The RBA browse event has no Java form. Java decides FILENOTFOUND only for blank or empty names while the stub decides it for any name absent from files.cfg (documented, X75); the stub test therefore uses a blank-free undefined name because the stub event line is whitespace-split. hc-file-read-set cobol-stub cells are blocked by the translator (#6348).

Evidence

  • tests/cics_crucible + test_source_reads + test_cics_spec: 934 passed, 6 skipped. New file 4 tests, 1.7 s.
  • pr_gates --fast: 9/9. audit_check: all clear. det_port check: 182/182 ports unchanged. No golden or baseline change.

Facts checked

  • Response numbers NOTOPEN 19 (RESP2 60), FILENOTFOUND 12 (RESP2 1), DUPKEY 15 (140), ENDFILE 20 (90): read from equivalence_cics.CICS_RESP and the fault tables.
  • WRITE/DELETE absent from the pinned SPEC 6.2 and schema: read in the pin.

🤖 Generated with Claude Code

…R answers FILENOTFOUND for an undefined file (Part of #6262)

New test_browse_conditions_6262.py runs one command list (planned NOTOPEN / DUPKEY / ENDFILE, and an undefined file)
through CicsTask and the C stub against one hand-traced IBM log. The stub answered INVREQ to ENDBR on an undefined
file; IBM and the Java leg give FILENOTFOUND (RESP2 1, X75).

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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 30, 2026 14:40
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #7152 @ 21ce564: 1 failed check(s)

== detmut (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41073745901/job/124124299910
repro: python tests/tools/pr_gates.py --fast
errors:
##[error]error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
##[error]fatal: expected 'packfile'
##[error]fatal: could not fetch 454b8427cd757f30dc7fdb9a325d19c399770417 from promisor remote
##[error]The process '/usr/bin/git' failed with exit code 128
log tail:
[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:
includeif.gitdir:/home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy/.git.path
includeif.gitdir:/home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy/.git/worktrees/.path
includeif.gitdir:/github/workspace/gitgalaxy/.git.path
includeif.gitdir:/github/workspace/gitgalaxy/.git/worktrees/
.path
[command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy/.git.path
/home/runner/work/_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy/.git.path /home/runner/work/_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --get-all includeif.gitdir:/home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy/.git/worktrees/.path
/home/runner/work/_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy/.git/worktrees/
.path /home/runner/work/_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/gitgalaxy/.git.path
/github/runner_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/gitgalaxy/.git.path /github/runner_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --get-all includeif.gitdir:/github/workspace/gitgalaxy/.git/worktrees/.path
/github/runner_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git config --local --unset includeif.gitdir:/github/workspace/gitgalaxy/.git/worktrees/
.path /github/runner_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Removing credentials config '/home/runner/work/_temp/git-credentials-45fb1d76-0038-43c2-a547-4221e5f77846.config'
##[endgroup]
##[error]The process '/usr/bin/git' failed with exit code 128
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/9693d800-588e-4535-91e8-7a514dd7ee16' 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-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 30, 2026 15:04
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@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 30, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 4fd57d7 into main Oct 30, 2026
50 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6262-20261030T1413Z branch October 30, 2026 16:22
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