Skip to content

equivalence: GenApp LGAPOL01 / LGUPOL01 / LGDPOL01 front ends on generated multi-table rows with FKs (Part of #4507) - #6031

Merged
squid-protocol merged 2 commits into
mainfrom
equivalence/4507-genapp-front-ends
Oct 22, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
equivalence/4507-genapp-front-ends

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4507

Checklist: partial [c:2b495ce4] -- LGIPOL01 (hand seed.sql), LGACUS01, LGUCUS01, LGICUS01 front ends still on DDL / hand-written rows

What changed

GenApp front ends LGAPOL01 / LGUPOL01 / LGDPOL01 now run on the generated multi-table rows with FKs (seed 4507: 10 CUSTOMER, 12 POLICY, 3 ENDOWMENT, 4 HOUSE, 4 MOTOR, 3 COMMERCIAL), the same data as the matching -generated back-end cases. Front ends have no port, so each is proven by det_port.py run (deterministic translation vs GnuCOBOL + CICS stub + real Db2).

Case Scenarios SQL events (with statements) Verbs x SQLCODE
genapp-lgapol01-generated back-end set + no-commarea, short-commarea 30 (21) INSERT/SELECT/VALUES x {0}
genapp-lgupol01-generated back-end set + no-commarea, short-commarea-end/hou/mot, unknown-request-id 24 (20) SELECT/UPDATE x {0,100}
genapp-lgdpol01-generated 18 17 (13) DELETE x {0,100}
  • short-commarea-delete-fails was not carried to LGDPOL01: it DIFFERS (5/6 events, missing LINK on the Java side, an X23 refusal past EIBCALEN). Not loosened; the front end's own delete-fails covers the fault. Noted in the case.
  • tests/tools/det_port.py: proof_order raised KeyError proving a single case with no recorded duration; now weight.get(c, 0).
  • Three E2E tests (gated by EQUIVALENCE_E2E) in tests/cobol_mainframe/test_equivalence_db2_rows.py: 3 passed. Det sweep coverage JSONs regenerated through the ledger tool.

Gates

pr_gates --fast 7/7, --ratchets 9/9, audit_check all clear, pre-PR tests 237 passed. No parser/golden-master change.

Remaining slices / sibling gaps

LGIPOL01 (hand seed.sql), LGACUS01, LGUCUS01, LGICUS01 front ends (all GenApp, burned).

Lessons for agents

  • det_port.py run on a single case with no recorded duration hit a KeyError in proof_order (fixed here).
  • A front-end case copying back-end sql_faults needs program: <back-end program> on each fault, or the harness says "names no statement of ".
  • Front ends have no port: equivalence.py run reports 0/N events equal; prove them with det_port.py run <case> --work DIR.

🤖 Generated with Claude Code

…rated multi-table rows with FKs (Part of #4507)

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 22, 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 22, 2026 16:58
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 16:58
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6031 @ d1f6217: 5 failed check(s)

== db2 3/6 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524361/job/119963437315
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --db2-only --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
fail-on-cache-miss: false
Traceback (most recent call last):
equivalence_db2.Db2ImagePullError: INFRASTRUCTURE (not a code defect): could not pull the pinned Db2 image icr.io/db2_community/db2@sha256:2de8151713c261843868c5c3411b57be6ae79d99d70a5b3022337836776bfda6 after 4 attempts: docker pull -q icr
##[error]the background Db2 start did not bring up GGDB
##[error]Process completed with exit code 1.
log tail:
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
GITGALAXY_ORACLE_PREBUILT: 1
DB2_JOBS: 4
GITGALAXY_DB2_POOL: 4
GITGALAXY_DB2_READY_DIR: /home/runner/work/_temp/db2-ready.d
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-db2-logs-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 597
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 5d79d721a460a14d256789a5f6f8971e7c7734c9f83244cceccd020165f66c19
Finalizing artifact upload
Artifact det-sweep-db2-logs-2 successfully finalized. Artifact ID 12442744595
Artifact det-sweep-db2-logs-2 has been successfully uploaded! Final size is 597 bytes. Artifact ID is 12442744595
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524361/artifacts/12442744595
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/53ac9ffa-16c6-4558-87a5-dc08c579530c' 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

== db2 5/6 (failure) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524361/job/119963437168
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --db2-only --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
fail-on-cache-miss: false
Traceback (most recent call last):
equivalence_db2.Db2ImagePullError: INFRASTRUCTURE (not a code defect): could not pull the pinned Db2 image icr.io/db2_community/db2@sha256:2de8151713c261843868c5c3411b57be6ae79d99d70a5b3022337836776bfda6 after 4 attempts: docker pull -q icr
##[error]the background Db2 start did not bring up GGDB
##[error]Process completed with exit code 1.
log tail:
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
GITGALAXY_ORACLE_PREBUILT: 1
DB2_JOBS: 4
GITGALAXY_DB2_POOL: 4
GITGALAXY_DB2_READY_DIR: /home/runner/work/_temp/db2-ready.d
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-db2-logs-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 597
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 520fc38b26465d5e8aa3d2c8b7df960ddb0e4ddd22bb8f3482d4dbd26ba734a9
Finalizing artifact upload
Artifact det-sweep-db2-logs-4 successfully finalized. Artifact ID 12444305637
Artifact det-sweep-db2-logs-4 has been successfully uploaded! Final size is 597 bytes. Artifact ID is 12444305637
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524361/artifacts/12444305637
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/473f6411-384d-4674-8b9d-a4971c1cc272' 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

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524282/job/119965593103
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Hosted Compute Agent
Version: 20261015.610
Commit: 267fdb4e8bbec4ab5ea31367f3a00d5c480c7656
Build Date: 2026-10-14T17:06:54Z
Worker ID: {7007fea0-0388-4734-ad40-0b5d2de80a28}
Region: westus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261018.339.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261018.339/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261018.339
##[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: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && test "$SKIP" = "true"; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
##[endgroup]
full-suite parts: failure (tested-tree skip: )
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 1/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524282/job/119963300517
repro: python -m pytest -q tests/tools/test_det_sweep_timing.py::test_every_db2_case_has_a_committed_duration_but_the_newest
failing tests: tests/tools/test_det_sweep_timing.py::test_every_db2_case_has_a_committed_duration_but_the_newest
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
[--fail-on-malware]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
--fail-on-malware CI/CD Gate: Fail build if ML threat inference flags
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
E AssertionError: ['carddemo-copaus1c', 'cbsa-bnk1ccs-create', 'genapp-lgapol01-generated', 'genapp-lgdpol01-generated', 'genapp-lgicdb01-generated', 'genapp-lgucdb01-generated', ...]
tests/tools/test_det_sweep_timing.py:106: AssertionError
FAILED tests/tools/test_det_sweep_timing.py::test_every_db2_case_has_a_committed_duration_but_the_newest - AssertionError: ['carddemo-copaus1c', 'cbsa-bnk1ccs-create', 'genapp-lgapol01-generated', 'genapp-lgdpol01-generated', 'genapp-lgicdb
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 185628
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d8846382fb561252cda41e9a7a6dd166696e30f1b1558337039f93865fb02309
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 12444345353
Artifact test-times-part-1 has been successfully uploaded! Final size is 185628 bytes. Artifact ID is 12444345353
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524282/artifacts/12444345353
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/762beb99-531e-4ac6-b379-f8eda09160bc' 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

== full-suite part 3/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524282/job/119963300462
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/cics_crucible/test_cics_runtimes.py::test_cics_task_interval_control_follows_start_retrieve_and_cancel: 21.1s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-3.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 184342
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9b13a799a6d93134d7dd764421bb1cf1249ce02abac01f54344986ec50ce45b3
Finalizing artifact upload
Artifact test-times-part-3 successfully finalized. Artifact ID 12442793959
Artifact test-times-part-3 has been successfully uploaded! Final size is 184342 bytes. Artifact ID is 12442793959
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39818524282/artifacts/12442793959
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/647c10e6-0e9d-4cf2-97fa-27a2c16b21bd' 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 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 22, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 17:16
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit d1becbc into main Oct 22, 2026
48 checks passed
@squid-protocol
squid-protocol deleted the equivalence/4507-genapp-front-ends branch October 22, 2026 17:30
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