Skip to content

ladder(cics-genapp): three Db2 twins reach every net branch outcome or a reviewed infeasible one (Part of #6072) - #6801

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6072-20261027T1524Z
Oct 27, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6072-20261027T1524Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

What

Ladder slice (#6072), cics-genapp Db2 twins: every net branch outcome is now taken or has a reviewed infeasible entry. It's mostly data: case.json files, ledgers, one infeasible file and two test pins.

case net branches before after open
genapp-lgupdb01-generated 29/38 38/38 0
genapp-lgipvs01-linked 4/6 6/6 0
genapp-lgipdb01-generated 55/74 73/74 l.907 true: infeasible (the seed holds 3 COMMERCIAL rows; the branch needs 21+ for one customer)

New scenarios:

  • no COMMAREA and a short COMMAREA
  • injected SQL faults on OPEN, CLOSE and SELECT; LGSTSQ is linked through programs and region
  • a terminal-key start for LGIPVS01
  • NULL-indicator endowment and house rows, added to the seed. EQUITIES, WITHPROFITS and MAKE are pinned non-NULL because those columns have no indicator.

Rescue cut (Opus): genapp-lgicdb01 is out of this PR, and its files are byte-identical to main again. Its committed port is model-written and does not reach Db2 through DetSql. So the new sql_faults scenarios cannot fire through it, and test_the_loops_committed_ports_are_proven[genapp-lgicdb01] went red. The facade_baseline entry and the test_proof_reach pin change (74 -> 68) existed only because of lgicdb01, so both are reverted too.

Pins re-read from a local run against real Db2 (det_port.py run, both cases proven):

  • test_lgipdb01_det_port_holds_on_generated_multi_table_rows_with_fk: ENDOWMENT 3 -> 5, HOUSE 4 -> 5 (the NULL-indicator seed rows). The 32 generated requests and the SQLCODEs {0, 100} are unchanged.
  • test_lgupdb01_det_port_holds_on_generated_multi_table_rows_with_fk: SQL records 19 -> 21 (no-commarea and unknown-request-id; the injected-fault scenarios record none). SQLCODEs are still {0, 100}.

Gates: pr_gates.py --fast 9/9 and --ratchets 9/9, after merging origin/main.

Checklist: none of the issue's checklist lines are worked here. This slice covers GenApp Db2 twins, which the checklist does not list.

Remaining slices:

  1. genapp-lgicdb01 L3->L4 (4/12 -> 11/12, l.231 true infeasible, X23). It is blocked on det-porting the case so the model port goes away (same class as cbsa-inqacc: model-written port cannot fire declared sql_faults through the java facade (det-port it) #6692, cbsa-inqacc). After that, re-apply the scenarios and the infeasible entry from commits 53c473e and 47e89eb on this branch, minus the facade_baseline and stale-note workaround, and re-run the lgicdb01 mutation run so the test_proof_reach pin stays at 74.

Cross-repo: none.

Part of #6072

🤖 Generated with Claude Code

…e or a reviewed infeasible one (Part of #6072)

genapp-lgupdb01-generated 29/38 -> 38/38, genapp-lgipvs01-linked 4/6 -> 6/6,
genapp-lgicdb01 4/12 -> 11/12, genapp-lgipdb01-generated 55/74 -> 73/74.
New scenarios: no / short COMMAREA, injected SQL faults (OPEN, CLOSE, SELECT),
a terminal-key start for LGIPVS01, NULL-indicator endowment / house rows.
Two reviewed infeasible outcomes: lgicdb01 l.231 (X23), lgipdb01-generated l.907
(21+ commercial rows for one customer). Pin: test_proof_reach 74 -> 68 (lgicdb01
mutation record is stale after the re-prove).

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 27, 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 27, 2026 15:52
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 27, 2026 15:56
 (Part of #6072)

Re-proving genapp-lgicdb01 through the deployed entry point fails the three new
scenarios that need sql_faults or no COMMAREA: the model-written port is the same
class as cbsa-inqacc. facade_baseline.json and the port's stale note name #6692.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (47e89eb) 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-shepherd
squid-shepherd Bot disabled auto-merge October 27, 2026 16:03
@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Oct 27, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 27, 2026 16:05
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6801 @ 47e89eb: 2 failed check(s)

== db2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40536970074/job/122308060503
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgipdb01_det_port_holds_on_generated_multi_table_rows_with_fk tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgupdb01_det_port_holds_on_generated_multi_table_rows_with_fk
errors:
fail-on-cache-miss: false
E AssertionError: assert {'GENASA1.CUS...OUSE': 5, ...} == {'GENASA1.CUS...OUSE': 4, ...}
tests/cobol_mainframe/test_equivalence_db2_rows.py:683: AssertionError
E AssertionError: assert (21 == 19)
tests/cobol_mainframe/test_equivalence_db2_rows.py:727: AssertionError
FAILED tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgipdb01_det_port_holds_on_generated_multi_table_rows_with_fk - AssertionError: assert {'GENASA1.CUS...OUSE': 5, ...} == {'GENASA1.CUS...OUSE': 4, ...}
FAILED tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgupdb01_det_port_holds_on_generated_multi_table_rows_with_fk - AssertionError: assert (21 == 19)
##[error]Process completed with exit code 1.
log tail:
Omitting 4 identical items, use -vv to show
Differing items:
{'GENASA1.ENDOWMENT': 5} != {'GENASA1.ENDOWMENT': 3}
{'GENASA1.HOUSE': 5} != {'GENASA1.HOUSE': 4}
Full diff:
{
'GENASA1.CUSTOMER': 10,
'GENASA1.POLICY': 12,
- 'GENASA1.ENDOWMENT': 3,
? ^
+ 'GENASA1.ENDOWMENT': 5,
? ^
- 'GENASA1.HOUSE': 4,
? ^
+ 'GENASA1.HOUSE': 5,
? ^
'GENASA1.MOTOR': 4,
'GENASA1.COMMERCIAL': 3,
}
FAILED tests/cobol_mainframe/test_equivalence_db2_rows.py::test_lgupdb01_det_port_holds_on_generated_multi_table_rows_with_fk - AssertionError: assert (21 == 19)
+ where 21 = len([{'statements': 4, 'records': 4, 'equal': 4, 'diffs': [], ...}, {'statements': 4, 'records': 4, 'equal': 4, 'diffs': [...s': 4, 'records': 4, 'equal': 4, 'diffs': [], ...}, {'statements': 4, 'records': 4, 'equal': 4, 'dif
2 failed, 178 passed in 1188.99s (0:19:48)
##[error]Process completed with exit code 1.
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/b8119e60-0ae8-486c-8f52-98037a7f5006' 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

== shard 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40536970074/job/122308060617
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
failing tests: tests/cobol_mainframe/test_porting_loop_tooling.py::test_the_loops_committed_ports_are_proven[genapp-lgicdb01]
errors:
fail-on-cache-miss: false
E AssertionError: ult hook in LGICDB01 (its Java does not reach Db2 through cobolrt.sql.DetSql)
E LGICDB01 COBOL coverage: not proven; 16 scenarios cover 4/4 paragraphs and 11/12 branches
tests/cobol_mainframe/test_porting_loop_tooling.py:227: AssertionError
FAILED tests/cobol_mainframe/test_porting_loop_tooling.py::test_the_loops_committed_ports_are_proven[genapp-lgicdb01] - AssertionError: ult hook in LGICDB01 (its Java does not reach Db2 through cobolrt.sql.DetSql)
LGICDB01 COBOL coverage: not proven; 16 scenarios cover 4/4 paragraphs and 11/12 branches
##[error]Process completed with exit code 1.
log tail:
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
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
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-equivalence-e2e-shard-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 38825
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 1774a7b7a18f21c5ab74b0e658d657e6feec401d14a501e3cd8af424238dfd4b
Finalizing artifact upload
Artifact test-times-equivalence-e2e-shard-2 successfully finalized. Artifact ID 12751001418
Artifact test-times-equivalence-e2e-shard-2 has been successfully uploaded! Final size is 38825 bytes. Artifact ID is 12751001418
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40536970074/artifacts/12751001418
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/b3d25d80-6be3-4bc5-9b8d-926acc0bcb61' 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-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 27, 2026
@squid-protocol squid-protocol changed the title ladder(cics-genapp): Db2 twins reach every net branch outcome or a reviewed infeasible one (Part of #6072) ladder(cics-genapp): three Db2 twins reach every net branch outcome or a reviewed infeasible one (Part of #6072) Oct 27, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (e6e00ac) 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-shepherd
squid-shepherd Bot disabled auto-merge October 27, 2026 16:48
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 27, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 27, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 27, 2026 16:49
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 059d411 into main Oct 27, 2026
41 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6072-20261027T1524Z branch October 27, 2026 17:07
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