Skip to content

equivalence: CRECUST on generated Db2 rows (Part of #4507) - #5542

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4507

Checklist: partial [c:a7f4b905] -- crecust done (Db2 side: PROCTRAN only; CUSTOMER/CONTROL nothing to prove); bnk1* and the rest of the multi-table list left

What

cbsa-crecust-generated: 12 generated PROCTRAN rows from CRETB02's DDL, 16 generated LINKs (BNK1CCS SUBPGM-PARMS; name/address from 1 byte to full width; dates of birth before 1601), compare_sql on, port from cbsa-crecust.

CRECUST's only Db2 statement is INSERT INTO PROCTRAN; it reads no ACCOUNT, CUSTOMER or CONTROL row (CUSTOMER and its control record are VSAM). So there is nothing to prove on generated CONTROL/ACCOUNT rows.

Evidence levels

  • translated: 554/554 whole
  • executed-equivalent: det_port.py run PROVED on 16 scenarios, 13/37 paragraphs, 23/74 branches (the credit check, five children, FETCH ANY x6, then the before-1601 refusal)
  • assumptions relied on: X18 (child schedule ASSUMED); dates >= 1601 stay out because they reach CEEDAYS (L1, refused by name), so cbsa-crecust stays unproven
  • residual: the create path (VSAM write, PROCTRAN insert) is unreached; no mutation run; no --record

Gates: pr_gates --fast 6/6, --ratchets 8/8; new test + test_source_reads, test_proof_reach, test_det_coverage_ledger pass.

Class table

member status
crecust this PR
xfrfun, dbcrfun already merged (#5537 etc.)
bnk1* screen-driven, not Db2 rows: not here

Cross-repo: none.

🤖 Generated with Claude Code

…cenarios (Part of #4507)

cbsa-crecust-generated: 12 generated PROCTRAN rows, 16 generated LINKs with dates of
birth before 1601 (they end before CEEDAYS, L1), compare_sql on. CRECUST reads no
ACCOUNT/CUSTOMER/CONTROL row in Db2 (CUSTOMER is VSAM), so there is nothing to prove on
them. det_port proves it on 16 scenarios, 13/37 paragraphs, 23/74 branches; X18 (child
schedule) stays assumed, cbsa-crecust itself stays refused on L1.

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

Copy link
Copy Markdown
Owner Author

PR #5542 @ 7d2f74c: 2 failed check(s)

== ground-truth (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39173616442/job/117814133619
repro: python tests/tools/pr_gates.py --ratchets --only-ratchets ground-truth (when a ground-truth part failed too, run that part's repro)
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: f3dc54e1fb89da6852db922499a0233137369e1d
Build Date: 2026-10-12T17:48:21Z
Worker ID: {94c9f8f8-2fcc-4644-88e7-b4446d761b07}
Region: northcentralus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261012.334.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261012.334/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261012.334
##[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: ground-truth
##[group]Run echo "ground-truth parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
echo "ground-truth parts: $PARTS (tested-tree skip: $SKIP, plan mode: $MODE)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure
# #5164: ... or when the plan found no ground-truth input in the PR (mode none). An empty mode is not none.
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$MODE" = "none"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
MODE: full
##[endgroup]
ground-truth parts: failure (tested-tree skip: , plan mode: full)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39173616442/job/117811815161
repro: python -m pytest -q tests/cobol_mainframe/test_x18_child_scope_4950.py::test_the_cases_with_children_are_the_three_known_ones
failing tests: tests/cobol_mainframe/test_x18_child_scope_4950.py::test_the_cases_with_children_are_the_three_known_ones
errors:
fail-on-cache-miss: false
E AssertionError: assert ['asynccc-asy...st-generated'] == ['asynccc-asy...cbsa-crecust']
tests/cobol_mainframe/test_x18_child_scope_4950.py:45: AssertionError
FAILED tests/cobol_mainframe/test_x18_child_scope_4950.py::test_the_cases_with_children_are_the_three_known_ones - AssertionError: assert ['asynccc-asy...st-generated'] == ['asynccc-asy...cbsa-crecust']
##[error]Process completed with exit code 1.
log tail:
archive: true
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
PYTHONUTF8: 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
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 88432
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 52faf785f9bf12bf8b72759210cd55f0229f4f2b57f26fca2f2ff6fdc0163544
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12153553360
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 88432 bytes. Artifact ID is 12153553360
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39173616442/artifacts/12153553360
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/8c1b79c8-1e0c-4f0c-b93c-f65a284796f2' 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

@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 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 (8da8191) 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.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 23:55
@squid-protocol
squid-protocol merged commit 2d0ab32 into main Oct 19, 2026
32 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261018T2235Z branch October 19, 2026 00:11
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