Repository navigation
GenApp LGICDB01: SQL-fault seam in the model-written port (Part of #6882) - #6947
Conversation
) 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]>
|
No description provided. |
|
PR #6947 @ d979614: 1 failed check(s) == det (failure) -- real |
|
No description provided. |
…Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (962975d) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
Part of #6882.
What changed
GenApp LGICDB01's model-written port had no SQL fault seam:
sql_seam_programs()only counts Java services that callDetSql., so the case was recorded "not judged" for SQL faults. The port's SELECT (LGICDB01:169) now goes throughDetSql.selectOneagainst a 136-byte SQLCA; the -305 null-column check stays.case.jsongainsprograms(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):
ASKTIMEis taken% 100_000_000(register X11: the narrowWS-ABSTIMES9(8) COMP gives01011900), and theCOMMAREA=prefix on the logged commarea text.provenance.jsonrecords the hand edit;test_porting_loop_tooling.pypins 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.pyneeded the slot.Class / Sibling gaps
Class: Db2 model-written ports with no
DetSqlseam, so SQL faults are "not judged". Siblings:cbsa-inqaccandcbsa-updaccare 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 andevidence.jsonfromequivalence.py run genapp-lgicdb01 --record;test_proof_reachandtest_porting_loop_toolingpass (EQUIVALENCE_E2E=1).Gates
pr_gates --fast9/9;audit_checkclear;pr_gates --ratchets8/9:fact-crosscheckfails 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