Repository navigation
port_surface: a det port keeps the translator's facades (Part of #5089) - #5986
Conversation
#5982 committed the first det CICS equivalence port (carddemo-copaua0c). The facade check compared it with the generator's text and failed "committed ports compile" on every PR that merged main. A det port has no model leftovers: the translator rebuilds its facades itself (det/program.py facades()), and det_port.py check re-proves it when the translation moves. Resurfacing it pulls in log.info lines it has no logger for, and the Java side does not build. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5986 @ 7f047fc: 1 failed check(s) == ground-truth part 2/2 (failure) -- real |
|
No description provided. |
Part of #5089. Fixes the red
committed ports compilecheck on main.#5982 committed the first det CICS equivalence port (carddemo-copaua0c).
port_surface.equivalencecompared it with the generator's text and failed on every PR that merged main. A det port has no model leftovers: the translator rebuilds its facades itself (det/program.py facades()), anddet_port.py checkre-proves it when the translation moves. Resurfacing it pulls in log.info lines it has no logger for, so the Java side does not build.Change:
port_surface.is_det_port(provenancetranslator: det);equivalence()skips such ports. Test:test_a_det_port_is_left_to_the_translator.Class
Class: a committed equivalence port that is resurfaced against the model generator's text although its facades are the det translator's own. Source:
tests/equivalence/*/port/provenance.jsonwithtranslator: det.portsratchet PASStranslator: dettranslator: dettranslator: det)test_equivalence_resurfaces_each_case_port_and_records_itcrucible()(non-equivalence ports)translator: detSibling gaps: none: every member handled.
Gates:
pytest tests/cics_crucible/test_port_surface.py8 passed;pr_gates --ratchets --only-ratchets portsPASS;pr_gates --fast7/7 pass.Cross-repo: none.
Lessons for agents
port_surface.is_det_port).🤖 Generated with Claude Code