Skip to content

equivalence: INQACCCU on generated Db2 rows (Part of #4507) - #5510

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4507-20261018T1728Z
Oct 18, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4507-20261018T1728Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

cbsa-inqacccu-generated: CBSA's INQACCCU (CICS, ACC-CURSOR by customer, LINK INQCUST/ABNDPROC) on 30 Db2 IBMUSER.ACCOUNT rows generated from CRETB01/CREI101 (boundaries, a NULL per nullable column, a quarter under sort code 123456), ACCOUNT_CUSTOMER_NUMBER cycling through customers 1, 2, 4, 5 of the case's customer.txt, plus 30 generated LINKs drawing CUSTOMER-NUMBER from those rows (20% misses). Hand scenarios that do not depend on the old seed.sql rows (customer 0, 9999999999, 5 not on file, caller data left in the COMMAREA) are kept; the four that described seed.sql rows are dropped (the hand cbsa-inqacccu case is unchanged). Adds test_the_inqacccu_det_port_holds_on_generated_db2_rows (EQUIVALENCE_E2E).

Docker proof (det_port.py run cbsa-inqacccu-generated)

  • translated 361/361, PROVED, db2_generated == {IBMUSER.ACCOUNT: 30}; every task's statements equal what Db2 answered (compare_sql); ACCOUNT compared after every task.
  • INQACCCU coverage: paragraphs 16/22 live, branches 19/33. SQLCODEs seen: 0 and 100 (statement log shows the SELECTs; cursor FETCH -305 path is reached through generated NULL dates, customer 1/4/5 rows).
  • Honest limits: with generated rows only customer 2 (rows with no NULL date) returns accounts (5 of 30 tasks); a customer with any generated NULL date takes the -305 failure path. The ABEND-HANDLING branches and most of INQCUST are not reached.

Local gates

pr_gates --fast 6/6; test_equivalence_db2_rows + test_harness_report pass. audit_check.py could not run here (no mypy on PATH in the shell); the pr_gates audits gate passed.

Sibling gaps

  • (b) multi-table FK siblings: crecust, xfrfun, dbcrfun (PROCTRAN/CUSTOMER) and bnk1* (cbsa-bnk1cac/cca/ccs/cra/dac/dcs/tfn/uac). All burned (CBSA). They need a case that generates CUSTOMER + ACCOUNT + PROCTRAN with FKs; the generator already orders parents first, so the next slice is crecust.

Checklist: partial [c:a7f4b905] -- (b) multi-table FK siblings crecust, xfrfun, dbcrfun, bnk1* still on hand-written seed.sql

🤖 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 18, 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 18, 2026 17:38
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 17:40
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5510 @ 796f2df: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39150511380/job/117744624060
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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 117 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 92830
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is fe8cb2514413e3604df8e51f4488d752c096926d0a7818480106859f6ef1c404
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12145047021
Artifact det-sweep-ledger has been successfully uploaded! Final size is 92830 bytes. Artifact ID is 12145047021
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39150511380/artifacts/12145047021
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/1e77f08b-e4e7-41c6-b58e-127c018cb8ec' 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 18, 2026
squid-protocol and others added 2 commits October 18, 2026 14:00
The det sweep's ratchet failed on "no entry"; entry written by
det_coverage_ledger.py update from the CI Db2 sweep.json.

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

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 4e218dd into main Oct 18, 2026
32 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261018T1728Z branch October 18, 2026 18:24
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