Skip to content

equivalence: GenApp LGAPDB01 on generated multi-table Db2 rows with FKs (Part of #4507) - #5791

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4507-20261020T2217Z
Oct 20, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4507-20261020T2217Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4507

Checklist: partial [c:2b495ce4] -- LGACDB01 + LGACDB02 (CUSTOMER_SECURE FK) and the inquire / update / delete programs (LGICDB01, LGIPDB01, LGUPDB01, LGUCDB01, LGDPDB01) are still on hand-written seeds.

What

genapp-lgapdb01-generated: GenApp's add-policy service (LGAPDB01, LINKed with LGAPVS01) on rows generated from base/cntl/db2cre.jcl: 10 CUSTOMER, 12 POLICY (FK to CUSTOMER) and ENDOWMENT 3 / HOUSE 4 / MOTOR 4 / COMMERCIAL 3 (FK to POLICY), NULLs and boundary values from the generator. CUSTOMERNUMBER is stated 1..10 so the 4 stated scenarios' customers exist. 24 generated requests (house / motor / commercial / unknown id in turn) draw CA-CUSTOMER-NUM from the generated customers. Uses the existing hand port (port_from: genapp-lgapdb01).

Evidence levels

  • Executed-equivalent: proven on 28 scenarios (4 stated + 24 generated); every Db2 statement answered alike on both sides (SQLCODEs 0), the five compared tables alike after each task (compare_sql).
  • Coverage: 5/7 paragraphs, 13/31 branches (LGAPDB01). Uncovered: INSERT-ENDOW and the error branches (below).
  • Oracle is GnuCOBOL plus our stub, not z/OS.

Class table (GenApp Db2 programs on generated rows)

Member Status
LGAPDB01 this PR
LGACDB01 / LGACDB02 gap: CUSTOMER_SECURE FK, counter-aware case
LGICDB01, LGIPDB01 (46 stated scenarios on seed.sql), LGUPDB01, LGUCDB01, LGDPDB01 gap: read / update / delete on the same tables
Not generated here -530 miss path (the error log's ASKTIME / FORMATTIME stamp reads 1900-01-01 in a LINKed COBOL task, the Java side reads the case clock; plus X6); endowment path (X8)

Tried and dropped: miss: 0.2 on the customer number reached the -530 path, and the two sides differ on the WRITEQ TD text's date there. That is an oracle/harness gap, not a case fix.

Gates

pr_gates --fast 6/6, --ratchets 8/8 (none skipped), audit_check clear, tree-wide guards 184 passed, test_evidence.py + test_equivalence_db2_rows.py pass (stale-record warning is on other cases). The new test is EQUIVALENCE_E2E=1-gated (~47 s locally), so it is skipped in CI.

🤖 Generated with Claude Code

…Ks (Part of #4507)

genapp-lgapdb01-generated: 10 CUSTOMER, 12 POLICY and ENDOWMENT / HOUSE / MOTOR / COMMERCIAL rows generated from db2cre.jcl, 4 stated and 24 generated requests. Proven on 28 scenarios, 5/7 paragraphs, 13/31 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 22:37
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 22:43
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5791 @ e797aea: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39509439668/job/118935021511
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 141 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 113839
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 333cd4c5e8721d5aa04a369a086bc08e27638185e6f978afbc8445c3584bc799
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12306681980
Artifact det-sweep-ledger has been successfully uploaded! Final size is 113839 bytes. Artifact ID is 12306681980
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39509439668/artifacts/12306681980
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/1025baf7-6085-402e-b2f1-7f1f1b5aae42' 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 20, 2026
@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 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

2 similar comments
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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