Repository navigation
Standalone Sysout honours gitgalaxy.sysout: DISPLAY in CICS-only estates reaches the compared file (#8243) - #8246
Conversation
…LAY lands in the compared file (#8243) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8246 @ 78c3db9: 1 failed check(s) == det (failure) -- real |
…y.sysout: drop its det-sweep baseline entry, refresh its coverage ledger (#8243) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (4b8e45a) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
…, HCT1BI01 (Part of #8121) (#8254) * Equivalence cases for example-health-apis threshold inquire: HCITDB01, HCT1BI01; P128 fixed_by #8246 (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Record det sweep durations for HCITDB01, HCT1BI01 (Part of #8121) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Closes #8243. Prerequisite of #8121 (the parked cases in
handoffs/8121-parked-cases/resume after this merges).What changed
The det runtime's
cobolrt/standalone/Sysout.java(the DISPLAY a project gets when it has no batch package, i.e. a CICS-only estate) always wrote to stdout. The batchSysouthonours-Dgitgalaxy.sysout, and the CICS harness sets that property per task and compares that file (equivalence_cics.py,<task>.sysout), so a CICS-only port's DISPLAY output never reached the compared file. The standalonewrite()now appends to the named file when the property is set (under a lock, same charset and LF rules as before) and writes to stdout otherwise.Class / Sibling gaps
Class: DISPLAY/sysout routing in det-port runs without a batch package (a standalone
Sysoutthat ignoresgitgalaxy.sysout).displayanddisplayNoAdvancingshare the onewrite(), so both are fixed here and tested in every record charset (ISO-8859-1, IBM037, IBM1047, windows-1252, UTF-8), for both the batch and the standalone class. Sibling gaps: the two checked-in overlay copiestests/cics_crucible/ports/pc-return-immediate/PCIMMA/overlay/cobolrt/standalone/Sysout.javaand.../pc-wizard/PCCONF/overlay/...are frozen copies of the old runtime; neither program DISPLAYs and no burned estate needs them, so they are left as they are (cics-crucible case PRs only).Re-proof
det_port.py check(base origin/main): 174 of 288 ports changed, all by the 24-lineSysout.javadiff alone, but only 4 callSysout.displaythrough the standalone class: mortgage-cmort, mortgage-csmrt, mortgage-mlist, mortgage-mpmt. All four re-proved PROVED withdet_port.py run(204/204, 40/40, 91/91, 27/27 statements translated); their sysout comparison is now live (compared: true, 33 tasks) and showed 0 differing lines, because none of those scenarios executes a DISPLAY. No other changed port calls DISPLAY, so no other proof can move. The remaining 170 changed ports import the class but never call it.Facts checked
pytest tests/cobol_mainframe/test_det_sysout_bytes_4702.py test_cobolrt_api.py: 86 passed, none skipped (JDK 17).test_evidence.py+test_det_programs.py: 194 passed; the stale-record warning there lists harness/oracle/generator staleness for model ports, none caused by this change.pr_gates.py --fast: 9/9 pass. Golden masters: the change is a runtime Java template, not parsing logic; not re-blessed.Checklist: none.
Lessons for agents
det_port.py checkwith noGITGALAXY_LICENSE_KEYin the environment fails the base translation with a bare "non-zero exit status 1": exportGITGALAXY_LICENSE_KEY=COMMUNITY_FREE_TIERfirst.grep -rlE "Sysout\.display"over<work>/newbefore runningdet_port.py run.🤖 Generated with Claude Code