Skip to content

equivalence: DELCUS on generated Db2 rows (Part of #4507) - #5721

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4507-20261020T1001Z
Oct 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4507-20261020T1001Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4507

Checklist: partial [c:a7f4b905] -- bnk1ccs (via CRECUST) and bankdata left; everything else in (a)/(b) already merged

What

cbsa-delcus-generated: CBSA's DELCUS (LINKs INQCUST, INQACCCU, DELACC; deletes the CUSTOMER record) on 30 ACCOUNT and 12 PROCTRAN rows generated from CRETB01/CREI101/CRETB02 (no foreign key joins them in CRETB02). 4 stated scenarios (SYSIDERR retry, DELETE IOERR, not on file, customer 0) plus 30 generated COMMAREAs whose customer number is drawn from the rows (20% a customer the table does not hold). Customer 5 has accounts but no CUSTOMER record.

Evidence (GnuCOBOL + Db2 in Docker)

  • Translated 635/635, PROVED on 40 scenarios, 22/22 paragraphs, 13/16 branches (the 3 uncovered are DCV010 true-outcomes at lines 384, 391, 498).
  • 30/30 generated tasks: every statement answered alike on both sides (SELECT, DELETE, INSERT seen); ACCOUNT and PROCTRAN compared after every task.
  • pr_gates --fast 6/6, --ratchets 8/8, audit_check clear, tree-wide guards 184 passed.
  • New E2E test is EQUIVALENCE_E2E=1 only (52 s locally, skipped in CI like its siblings).

Class table (generated-Db2 CBSA siblings)

member status
delacc, inqacccu, acctctrl, crecust, xfrfun, dbcrfun, bnk1cac/cca/cra/dac/tfn/uac, creacc, inqacc, updacc already merged
delcus this PR
bnk1ccs remaining (no SQL of its own; LINKs CRECUST)
bankdata remaining; batch loader, may be "nothing to prove"
carddemo cotrtlic/copaus2c/cotrtupc, genapp lg* other checklist items, not burned work here

Cross-repo: none.

🤖 Generated with Claude Code

cbsa-delcus-generated: 30 ACCOUNT and 12 PROCTRAN rows generated from the DDL; 4 stated scenarios and 30 generated
COMMAREAs. Proven on 40 scenarios, 22/22 paragraphs, 13/16 branches.

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 20, 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 20, 2026 10:24
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 10:28
@squid-protocol
squid-protocol merged commit 655cc14 into main Oct 20, 2026
49 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261020T1001Z branch October 20, 2026 10:58
@squid-protocol squid-protocol mentioned this pull request Oct 20, 2026
7 tasks done
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