Repository navigation
equivalence: ZECS000 expired-record scenarios, stub resolves ZC@ID@FILE (Part of #5089) - #5983
Conversation
…solved ZC01FILE name (Part of #5089) The stub's files.cfg kept the literal CSD name ZC@ID@FILE, so every READ of ZC01FILE was FILENOTFOUND on both legs and the two compared equal (11/38 paragraphs). stub_files now resolves install symbols in the file name. The case declares TRUNC(BIN) (ZF-LENGTH is S9(4) COMP, MOVE 32700 stores 2700 under STD: every full record LENGERR) and gains three expired-record scenarios: peer 201 (REWRITE + SYNCPOINT), peer 404 (per-segment DELETE) and a single-segment record. Coverage 11/38 -> 30/38 paragraphs, 10/46 -> 35/46 branches. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5983 @ 653cf19: 1 failed check(s) == committed ports compile (failure) -- real |
What
[c:e64f078b]ZECS000 / ZECS003 dynamicZC##FILE/ZC##KEYfile names (Part of #5089). The plan said case-only; it was not: a harness fix was needed.tests/tools/equivalence_cics.py):stub_filesnow resolves install symbols in the CICS file name. The CSD nameZC@ID@FILEwas written to the stub'sfiles.cfgliterally, so every READ ofZC01FILEwas FILENOTFOUND on both legs and the two compared equal (det-port: ZECS000 run-time ZC##FILE / ZC##KEY names bind; resume scenarios (Part of #5089) #5972's "names bind" covered engine lineage only).zecs-zecs000):TRUNC(BIN)declared;reclen32700; newurimapsentry; three scenarios on a new seedzcfile-expired.bin(peer 201 -> REWRITE + SYNCPOINT, peer 404 -> per-segment DELETE, single-segment record).test_a_file_name_written_with_an_install_symbol_is_the_resolved_name_the_stub_serves.det_sweep_coverage/zecs-zecs000.json(11/38 -> 30/38 paragraphs, 10/46 -> 35/46 branches, 5 -> 8 scenarios),zecs-zecs003.json(harness fingerprint only).Assumption needing the owner
TRUNC(BIN)in the case.ZF-LENGTHisS9(4) COMPand the program doesMOVE LENGTH OF ZF-RECORD(32700) to it: under TRUNC(STD) that stores 2700 and every full-size record is LENGERR, so the program only works as shipped under BIN.ASMZECS.jcl(DFHYITVL) states no TRUNC option, so this is recorded as the case'scompiler_options(the evidence report shows it as "assumed: owner decision").Class table
Gates
pr_gates --fast7/7,--ratchets9/9,audit_checkclear,det_port check(zecs000 CHANGED 2 lines -> re-proved PROVED; zecs003 unchanged), new test + evidence tests pass. No engine change, golden masters not expected to move.Rescue fix:
committed ports compile(red after merging main)The red check was not this PR's change. #5982 committed the first det CICS equivalence port (
carddemo-copaua0c). The facade checkport_surface.py equivalence --checkcompared it with the generator's text and reported its twohandleTransactionoverloads as different: they lack the generator's Javadoc, itslog.infoline and one import. Main had no Ports Compile run after #5982, so every PR merged against main inherited this failure.Resurfacing the port is wrong. I tried it and the Java side failed to build, because the det port declares no
logfield. On top of that, the det translator rebuilds its facades on purpose (det/program.pyfacades(): the COMMAREA-bytes and codec answers).port_surface.pyexists to bring a model's leftover facades up to the generator's (#4343). A det port has no model leftovers, anddet_port.py checkalready re-proves it when the translation moves.tests/tools/port_surface.py:equivalencenow skips a port whose provenance saystranslator: det, and says so in its output.tests/cics_crucible/test_port_surface.py:test_a_det_port_is_left_to_the_translator.Hand-written files in this PR: 5 (
equivalence_cics.py, its test,zecs-zecs000/case.json,port_surface.py, its test).Cross-repo
none
Lessons for agents
port_surface.pyis for model ports; a det port (translator: det) keeps the translator's facades. Resurfacing one pulls inlog.infolines it has no logger for.events.txtresp and the coverage numbers, not only the verdict.MOVE LENGTH OF <32700 record> TO <S9(4) COMP>is 2700 under TRUNC(STD): READ ... LENGTH then gives LENGERR on a full-size record..binis line-sequential text (one record per line, harness pads toreclen): padding the file yourself makes blank extra records.WEB-PATHbuilt withSTRING ... DELIMITED BY '*'keeps a double slash when the key starts with/.Checklist: partial [c:e64f078b] -- ZECS000 file-name binding and the expired-record DEPLICATE paths are proven; ZECS003's dynamic-name paths were already bound but its seeds stay empty (19/21 paragraphs), and the TRUNC(BIN) assumption awaits the owner.
🤖 Generated with Claude Code