Skip to content

CBSA slice 2: CRDTAGY1-5 DELAY/PUT-failure infeasible outcomes (Part of #6072) - #6123

Merged
squid-protocol merged 13 commits into
mainfrom
churn/6072-20261022T2207Z
Oct 23, 2026
Merged

squid-protocol merged 13 commits into
mainfrom
churn/6072-20261022T2207Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Part of #6072 (slice 2; slice 1 is #6079 on CardDemo, merged).

Opus rescue: sliced. This PR used to carry the BNK1DCS PF5 delete chain too. That part gave cbsa-bnk1dcs a hand seed.sql, so the #4507 guard (test_cbsa_generated_siblings.py) now requires a cbsa-bnk1dcs-generated Db2 sibling. That sibling is a full #4507-style slice of its own, so BNK1DCS moves to the next slice (see Remaining slices). Its work is kept in this branch's history at eb8b69d for reuse.

Before / after (det sweep, all proved)

Case Paragraphs Branches
CRDTAGY1-5 4/7 (unchanged) 4/6 -> 4/4 once the two stated outcomes are subtracted
XFRFUN 27/28 (unchanged) 46/81 (unchanged; ledger re-measured)

Changes

  • infeasible_outcomes.json: for each of CRDTAGY1-5, the DELAY failure arm and the PUT CONTAINER failure arm of A010 (family R, with the IBM condition in each reason).
  • det_sweep_coverage/ ledgers re-measured for CRDTAGY1-5 and XFRFUN; test_cbsa_slice2_6072.py pins the CRDTAGY entries.

Class: a CICS arm only an unmodelled command failure reaches

Sibling gaps

  • CRDTAGY1-5 paragraphs POPULATE-TIME-DATE, PTD010, PTD999 stay uncovered: infeasible_outcomes is branch-level, and DELAY is not in equivalence_cics.FAULT_COMMANDS; IBM documents no condition for DELAY FOR SECONDS(1-2).
  • XFRFUN AH999 is reached only after a VSAM RLS abend (AFCR/AFCS/AFCT) with a successful SYNCPOINT ROLLBACK, and XFRFUN's AD2Z arm and ROLLBACK failure need a Db2 deadlock abend and a SYNCPOINT fault: neither is injectable (no SQL fault injection, M2). These are reachable on a real region, so they are not stated infeasible.

Remaining slices

  1. BNK1DCS PF5 delete chain plus its cbsa-bnk1dcs-generated sibling: reuse tests/equivalence/cbsa-bnk1dcs/case.json and seed.sql from eb8b69d (LINKs DELCUS/INQACCCU/DELACC, five PF5 scenarios, 46/51 -> 51/51 paragraphs), and model the sibling on cbsa-delcus-generated (the @generate block) and equivalence: BNK1CCS on generated Db2 rows (Part of #4507) #5726. Acceptance: test_cbsa_generated_siblings.py green with no new exemption; both cases proved.
  2. XFRFUN residuals above.
  3. BNKMENU, DBCRFUN, INQACC, INQACCCU, INQCUST (the CBSA 12 list).

Assumption to review (owner)

The PUT CONTAINER failure arm is stated infeasible on the operands the program passes. CHANNELERR RESP2 3 (read-only channel) is the one condition the program's operands don't exclude, and each entry's reason flags it.

Gates (after merging origin/main and slicing)

pr_gates --fast 7/7 and --ratchets 9/9 (ground-truth included). test_cbsa_generated_siblings.py, test_infeasible_outcomes.py and the slice test pass. No evidence approved. No parsing logic was touched, so there is no golden bless.

Checklist: partial [c:db77a1b6] -- CRDTAGY1-5 stated at branch level (paragraphs need DELAY faults); BNK1DCS (next slice, needs a generated sibling), XFRFUN residual, BNKMENU, DBCRFUN, INQACC, INQACCCU, INQCUST not done

🤖 Generated with Claude Code

squid-protocol and others added 9 commits October 22, 2026 18:51
- cobol_coverage: a paragraph holding an ENTRY statement is entered by it (PAUDBUNL MAIN-PARA 9/10 -> 10/10)
- carddemo-cbstm03a: trnx.txt in the card+id+rest layout reaches 6000-WRITE-TRANS (23/25 -> 24/25)
- carddemo-acctview: pf3-xctl-fails-abend-routine scenario + hand-port abend path reach ABEND-ROUTINE (31/32 -> 32/32)
- regenerated: det_sweep_coverage, evidence.json, det_mutation ledger; test_proof_reach pin 95 -> 93 (COACTVWC mutation record stale)

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

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ter the main merge (Part of #6072)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…enerated, proof_reach pin 108)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…egenerated, cbstm03a det mutation re-run)

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

BNK1DCS links DELCUS, INQACCCU and DELACC with cbsa-delcus's Db2 seed and gains five PF5
scenarios: paragraphs 46/51 -> 51/51, branches 62/102 -> 69/102. CRDTAGY1-5 record the
DELAY-failure and PUT CONTAINER-failure outcomes as infeasible (family R); XFRFUN is unchanged.

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 23, 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 23, 2026 02:01
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 02:11
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added the shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6123 @ eb8b69d: 2 failed check(s)

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39887311878/job/120210190663
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
##[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: ground-truth
##[group]Run echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
echo "ground-truth warm: $WARM, parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE, layout: $LAYOUT, warm planned: $PLANNED_WARM)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
ok() { test "$1" = "success" || { test "$1" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }; }
# #5543: ... or when the layout needs no warm job (a cache hit on the scans, or the busy layout): the parts then warm for themselves
{ ok "$WARM" || { test "$WARM" = "skipped" && test "$PLANNED_WARM" = "false"; }; } && ok "$PARTS"
shell: /usr/bin/bash -e {0}
env:
WARM: skipped
PARTS: failure
SKIP:
MODE: full
PLANNED_WARM: false
LAYOUT: busy
##[endgroup]
ground-truth warm: skipped, parts: failure (tested-tree skip: , plan mode: full, layout: busy, warm planned: false)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 1/2 (failure) -- main
https://github.com/squid-protocol/gitgalaxy/actions/runs/39887311878/job/120202180758
repro: stale base (main changed these tests since this branch): git merge origin/main
failing tests: tests/cobol_mainframe/test_cbsa_generated_siblings.py::test_every_hand_seeded_cbsa_case_has_a_generated_sibling_or_a_named_reason
errors:
fail-on-cache-miss: false
E AssertionError: assert ['cbsa-bnk1dcs'] == []
tests/cobol_mainframe/test_cbsa_generated_siblings.py:40: AssertionError
FAILED tests/cobol_mainframe/test_cbsa_generated_siblings.py::test_every_hand_seeded_cbsa_case_has_a_generated_sibling_or_a_named_reason - AssertionError: assert ['cbsa-bnk1dcs'] == []
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: b09fd22c00fa3ad52d33f091a133c9428b4ccb8323a7283052628808c54b50d9
PYTHONUTF8: 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-ground-truth-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 112023
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 329a02b7d8d2b2dc3a66747890b2aa1deb55fe7687e2d332fec88a7f3197371f
Finalizing artifact upload
Artifact test-times-ground-truth-part-1 successfully finalized. Artifact ID 12474259285
Artifact test-times-ground-truth-part-1 has been successfully uploaded! Final size is 112023 bytes. Artifact ID is 12474259285
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39887311878/artifacts/12474259285
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/ee15b8d6-d90a-4f05-b9b3-d235853340f3' 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-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 23, 2026
@squid-protocol squid-protocol changed the title CBSA slice 2: BNK1DCS PF5 delete chain, CRDTAGY1-5 infeasible outcomes (Part of #6072) CBSA slice 2: CRDTAGY1-5 DELAY/PUT-failure infeasible outcomes (Part of #6072) Oct 23, 2026
…: keep main's BNK1CRA/BNK1UAC and our CRDTAGY1-5)

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (15ca32d) 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:waiting-on-main Bot: the failing check fails on main too (main's to fix). 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 03:53
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6123 @ 318e096: 1 failed check(s)

== ground-truth part 3/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39897296058/job/120230673691
repro: python -m pytest -q tests/cobol_mainframe/test_cbsa_slice2_6072.py::test_bnk1dcs_pf5_scenarios_cover_success_not_found_and_delete_failure
failing tests: tests/cobol_mainframe/test_cbsa_slice2_6072.py::test_bnk1dcs_pf5_scenarios_cover_success_not_found_and_delete_failure
errors:
fail-on-cache-miss: false
E AssertionError: assert {'delete-ioer...ree-accounts'} <= {'delete-customer-zero'}
tests/cobol_mainframe/test_cbsa_slice2_6072.py:37: AssertionError
FAILED tests/cobol_mainframe/test_cbsa_slice2_6072.py::test_bnk1dcs_pf5_scenarios_cover_success_not_found_and_delete_failure - AssertionError: assert {'delete-ioer...ree-accounts'} <= {'delete-customer-zero'}
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: 0f7e7a25dcd38b4807fd8af9b5432481aa4ab5a5d9c7ba8699c7177ca779b404
PYTHONUTF8: 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-ground-truth-part-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 63266
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is c7467913350be11d68b08e1cc394e64612b426f485384e0d9109e5b770b0dc59
Finalizing artifact upload
Artifact test-times-ground-truth-part-3 successfully finalized. Artifact ID 12477950683
Artifact test-times-ground-truth-part-3 has been successfully uploaded! Final size is 63266 bytes. Artifact ID is 12477950683
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39897296058/artifacts/12477950683
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/ca653638-73dd-4dc7-a0b6-331d1238e401' 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-protocol squid-protocol added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 23, 2026
The slice moved to CRDTAGY1-5 and the cbsa-bnk1dcs case no longer carries the
delete chain or PF5 scenarios; two tests still asserted them and failed
ground-truth parts 1/4 and 3/4.

Co-Authored-By: Claude Sonnet 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (9788a61) 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:retrying Bot: an infra/flake rerun is pending on this head. 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 04:12
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 51e6fd5 into main Oct 23, 2026
34 checks passed
@squid-protocol
squid-protocol deleted the churn/6072-20261022T2207Z branch October 23, 2026 04:17
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…ned fault, not stated infeasible (Part of #6271)

The PR removed the DELAY-failure entry from infeasible_outcomes/cbsa-crdtagy1-5.json; the #6123 pin
still expected two entries. It now expects the one PUT CONTAINER entry and a DELAY fault in the case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…er scenario; CRDTAGY1-5 reach the failure branch (Part of #6271) (#6318)

* DELAY faults in the equivalence harness: EXPIRED and INVREQ planned per scenario, CRDTAGY1-5 reach the failure branch (Part of #6271) (X72)

A scenario can plan a failed DELAY (EXPIRED; INVREQ RESP2 4/5/6/22) on the stub and the det port alike. CBSA CRDTAGY1-5 gain a
delay-invreq-seconds-out-of-range scenario, so the A010 DELAY-failure arm (stated infeasible before) is now reached and its
infeasible entries are removed. Register X72 states IBM's conditions and refuses NORMAL RESP2 23.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* test_cbsa_slice2_6072: the CRDTAGY DELAY arm is now reached by a planned fault, not stated infeasible (Part of #6271)

The PR removed the DELAY-failure entry from infeasible_outcomes/cbsa-crdtagy1-5.json; the #6123 pin
still expected two entries. It now expects the one PUT CONTAINER entry and a DELAY fault in the case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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