Repository navigation
equivalence: genapp-lgdpdb01-generated -- LGDPDB01 delete on generated multi-table rows with FKs (Part of #4507) - #5834
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 07:21
squid-protocol
enabled auto-merge (squash)
October 21, 2026 07:21
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #4507
Checklist: partial [c:2b495ce4] -- LGICDB01, LGUCDB01 (CUSTOMER / CUSTOMER_SECURE) and LGACDB02 still on hand-written rows
What
genapp-lgdpdb01-generated: GenApp's delete-policy service (LGDPDB01, LINKing LGDPVS01 and LGSTSQ) on rows generated frombase/cntl/db2cre.jcl(seed 4507; CUSTOMER 10, POLICY 12, ENDOWMENT 3, HOUSE 4, MOTOR 4, COMMERCIAL 3, with FKs), not GenApp's INSERTs. It is the foreign-key-heavy member:DELETE FROM POLICYcascades into the type tables. All eight tables (CLAIM and CUSTOMER_SECURE included) are compared after each task, withcompare_sql.Scenarios (19): a delete of each type, a policy holding two type rows, the lowest and highest timestamps, wrong customer / unknown policy / repeated delete (+100 -> '90' -> LGSTSQ), non-delete ids ('99'), no and short COMMAREA, a forced -904.
Evidence
det_port.py run genapp-lgdpdb01-generated: PROVED, 99/99 translated.proof_sweep --det-only: proven on 19 scenarios, 3/3 paragraphs, 12/12 branches (LGDPVS01 0/4 branches: its WRITE-ERROR-MESSAGE is not reached; LGSTSQ 3/6).test_lgdpdb01_det_port_holds_on_generated_multi_table_rows_with_fk(EQUIVALENCE_E2E=1): passed (SQL equal on all 17 statement-bearing tasks, SQLCODEs {0, 100}, row counts pinned).pr_gates --fast7/7,--ratchets8/8; tree-wide guards,test_evidence.py,test_equivalence_db2_rows.py,test_det_coverage_ledger.pypass.Class table
Burned GenApp Db2 programs on DDL-generated rows: LGACDB01 #5811, LGAPDB01 #5791, LGIPDB01 #5820, LGUPDB01 #5827, LGDPDB01 (this PR). Still hand-seeded: LGICDB01, LGUCDB01, LGACDB02; the POL01 / LGTEST wrappers LINK those and need a generated sibling only if their own SQL differs.
Cross-repo: none (no companion PR).
🤖 Generated with Claude Code