Repository navigation
ladder(cics-genapp): lgicdb01 short-commarea, 5/12; fault arms need a port PR (Part of #6072) - #6811
Merged
Merged
Conversation
…hes; fault arms left open (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6072. Ladder slice, estate cics-genapp. Data only (case.json, regenerated ledger and evidence record).
Class / Sibling gaps
Class: a hand-seeded Db2 GenApp case that lacks the error-path scenarios its
-generatedtwin carries. Measured from the committed ledgers (uncoveredminusinfeasible_outcomes),genapp-lgicdb01is the ONLY one of the 48 genapp cases below L4; every other case, twins and linked ones included, has net-uncovered = [].It cannot close by data alone. Adding the twin's four error scenarios (no-commarea, short-commarea, SQLCODE -913, SQLCODE -811) made the det port prove 17 scenarios at 4/4 paragraphs and 11/12 branches (the 12th, line 231 true, is the twin's stated infeasible outcome). But the model-written Java port of LGICDB01 then fails the deployed-entry-point proof (evidence verdict
proven->not-proven, 13/16):select-fails-deadlock,select-fails-other:facade/out/*.hole: "no SQL fault hook in LGICDB01 (its Java does not reach Db2 through cobolrt.sql.DetSql)": Java side yields no events.no-commarea: the port's LGSTSQ error record carries the clock time (10012026 103015) where COBOL has01011900 105655(ASKTIME never ran on that path): a port divergence.Fixing either is port/harness code, not allowed in a ladder PR, and there is no per-scenario det-only switch, so I did not loosen the proof or ship a regressed record.
select-fails-*(192 WHEN@197/OTHER, 230, 231 false, WRITE-ERROR-MESSAGE paragraph)no-commarea(119 true, 230)Remaining slices
Lgicdb01ServiceSELECT through a fault-injectable seam (as lgapdb01's port does) and fix the no-commarea LGSTSQ timestamp, then re-prove.programsLGSTSQ +region, scenariosno-commarea,select-fails-deadlock,select-fails-other(copy fromgenapp-lgicdb01-generated) andinfeasible_outcomes/genapp-lgicdb01.json(231 true), refresh,evidence.py prove.Change and evidence
Added
short-commarea(EIBCALEN 60, copied from the twin) togenapp-lgicdb01: it passes COBOL vs det vs Java facade. Theevidence.jsonre-provedproven.Gates:
pr_gates --ratchets9/9,--fast9/9, tree-wide guard tests 265 passed,test_evidence.py58 passed.ladder_refreshpin tests: 232 passed, 61 skipped (translator-dependent skips not investigated).Checklist: no line of the #6072 checklist covers a genapp program, so none is ticked by this PR.
Lessons for agents
tests/equivalence/<case>/port/) must check the Java facade table inreport.mdfirst: a port with nocobolrt.sql.DetSqlhook cannot judgesql_faults, andladder_refreshsilently rewritesevidence.jsontonot-proven. Runequivalence.py run CASE --keep DIRand readfacade/out/*.holebefore adding fault scenarios.🤖 Generated with Claude Code