Skip to content

evidence: CBSA INQACC and GenApp LGICDB01 committed as det ports, facade proven (Part of #6692) - #6969

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6692-det-port-inqacc-lgicdb01
Oct 29, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6692-det-port-inqacc-lgicdb01

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6692. CBSA INQACC and GenApp LGICDB01 are committed as the det translator's own ports (as #6684 did for LGAPDB01 / LGUPDB01), so the java facade fires every declared sql_faults scenario through cobolrt.sql.DetSql.

What changed

Class / Sibling gaps

Class: a Db2 equivalence case that declares sql_faults while its committed port/ is model-written, so the facade cannot fire the faults through DetSql. Swept every tests/equivalence/*/case.json with sql_faults against port/provenance.json: cbsa-inqacc (fixed here), genapp-lgicdb01 (fixed here, same mechanism), genapp-lgapdb01 / genapp-lgupdb01 / carddemo-copaus1c (already det); every other such case has no committed port/ (generated or det at proof time). None: every member handled.
Follow-up not done here: the mutation records for INQACC and LGICDB01 still judge the model ports; re-run evidence.py mutation (mutation.py run --record) to restore their 14 flagged survivors.

Evidence

det_port.py run cbsa-inqacc genapp-lgicdb01 --faults all: 240/240 and 70/70 translated, both PROVED. pr_gates --fast 9/9; --ratchets all PASS (cics-spec, ports, port-surface, estate, fact-crosscheck, completeness, ground-truth, det-mutation, time). test_evidence/test_proof_reach/test_sql_faults/6271 pin pass. Engine untouched, so no golden re-bless.

File-cap exception: four of the seven files are the translator's generated Java ports (not hand-written), and the ports, the pin test, the loop list and the reach count move together or a gate goes red (same shape as #6684).

Cross-repo

None. Note PR #6952 touches tests/tools/equivalence_cics.py; this PR does not.

🤖 Generated with Claude Code

…a-facade side proven (Part of #6692)

The model-written ports did not fire declared sql_faults through the java facade (INQACC 14/23). The det
translator's ports prove 26/26 and 18/18 through both sides; the facade baseline entry is gone.

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 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 02:34
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 02:34
@squid-shepherd
squid-shepherd Bot disabled auto-merge October 29, 2026 02:57
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6969 @ 0baff3c: 2 failed check(s)

== db2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40807143557/job/123228778132
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_inqacc_port_holds_on_generated_db2_rows
errors:
fail-on-cache-miss: false
E AssertionError: assert (44 == 41)
tests/cobol_mainframe/test_equivalence_db2_rows.py:253: AssertionError
FAILED tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_inqacc_port_holds_on_generated_db2_rows - AssertionError: assert (44 == 41)
##[error]Process completed with exit code 1.
log tail:
92.91s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgipdb01_det_port_holds_on_generated_multi_table_rows_with_fk
91.21s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_bnk1ccs_screen_holds_on_generated_db2_rows
84.24s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_bnk1uac_screen_holds_on_generated_db2_rows
83.78s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_bnk1tfn_screen_holds_on_generated_db2_rows
83.34s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_bnk1dac_screen_holds_on_generated_db2_rows
79.83s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_bnk1cra_screen_holds_on_generated_db2_rows
75.56s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_creacc_service_holds_on_generated_db2_rows
74.48s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgapdb01_port_holds_on_generated_multi_table_db2_rows
72.89s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_bnk1cca_screen_holds_on_generated_db2_rows
67.03s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_copaus2c_det_port_holds_on_generated_db2_rows
66.79s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_delacc_det_port_holds_on_generated_db2_rows
63.32s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgupdb01_det_port_holds_on_generated_multi_table_rows_with_fk
63.14s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgacus01_front_end_holds_on_generated_customer_rows_with_fk
63.07s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgacdb01_det_port_holds_on_generated_customer_rows_with_fk
62.15s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_dbcrfun_det_port_holds_on_generated_db2_rows
59.38s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgapol01_front_end_holds_on_generated_multi_table_rows_with_fk
58.69s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgucus01_front_end_holds_on_generated_customer_rows
57.83s call tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgicus01_front_end_holds_on_generated_customer_rows
=========================== short test summary info ============================
FAILED tests/cobol_mainframe/test_equivalence_db2_rows.py::test_the_inqacc_port_holds_on_generated_db2_rows - AssertionError: assert (44 == 41)
+ where 44 = len([{'equal': 2, 'records': 2, 'diffs': [], 'cobol': [{'event': 'RETURN', 'transid': None, 'commarea': None}, {'event': '... 'ABNDPROC'}, {'event': 'RETURN', 'transid': None, 'commarea': None}, {'event': 'ABEND', 'abcode': '
1 failed, 179 passed in 1214.81s (0:20:14)
##[error]Process completed with exit code 1.
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/8410beaa-4cca-4fe4-ab13-1db3f4ad0d08' 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

== equivalence-e2e (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40807143557/job/123235510234
repro: python tests/tools/pr_gates.py --fast
errors:
##[error]Process completed with exit code 1.
log tail:
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: equivalence-e2e
##[group]Run echo "plan: $PLAN, db2 $DB2_PLAN ($PLAN_RESULT), shards: $SHARDS, db2: $DB2"
echo "plan: $PLAN, db2 $DB2_PLAN ($PLAN_RESULT), shards: $SHARDS, db2: $DB2"
# runner-minutes of this run so far (every finished job but this one), for the PR body / the nightly trend
gh api --paginate "repos/$REPO/actions/runs/$RUN_ID/jobs?per_page=100" --jq '.jobs[] | select(.name != "equivalence-e2e" and .completed_at != null) | [.name, ((.completed_at | fromdateiso8601) - (.started_at | fromdateiso8601))] | @TSV' > j
python3 - <<'PY' >> "$GITHUB_STEP_SUMMARY"
rows = [ln.rstrip("\n").split("\t") for ln in open("jobs.tsv", encoding="utf-8") if ln.strip()]
total = sum(float(s) for _, s in rows)
print("## Equivalence E2E runner time")
print("| job | seconds |\n|---|---|")
print("".join(f"| {n} | {float(s):.0f} |\n" for n, s in rows), end="")
print(f"\n**{total / 60:.1f} runner-minutes** across {len(rows)} job(s)")
PY
# #4935: a tree the PR run of this workflow proved green: the gate skipped the plan and every job after it
if [ "$SKIP" = "true" ]; then test "$PLAN_RESULT" = "skipped" && test "$SHARDS" = "skipped" && test "$DB2" = "skipped"; exit; fi
test "$PLAN_RESULT" = "success"
if [ "$PLAN" = "none" ]; then test "$SHARDS" = "skipped" && test "$DB2" = "skipped"; exit; fi
test "$SHARDS" = "success"
# #6664: a skipped db2 is green only when the plan said none (no input of the Db2 files changed)
if [ "$DB2_PLAN" = "none" ]; then test "$DB2" = "skipped"; else test "$DB2" = "success"; fi
shell: /usr/bin/bash -e {0}
env:
PLAN: run
DB2_PLAN: run
PLAN_RESULT: success
SKIP:
SHARDS: success
DB2: failure
GH_TOKEN: ***
REPO: squid-protocol/gitgalaxy
RUN_ID: 40807143557
##[endgroup]
plan: run, db2 run (success), shards: success, db2: failure
##[error]Process completed with exit code 1.
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 29, 2026
squid-protocol and others added 2 commits October 28, 2026 23:00
…utputs) and skips fault scenarios with no statement comparison (Part of #6692)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@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 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 03:07
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 609d71d into main Oct 29, 2026
50 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6692-det-port-inqacc-lgicdb01 branch October 29, 2026 03:42
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