Skip to content

porting_loop: --reuse fails (baseline COBOL run.sh missing), so model ports can't be regenerated after a generator change (cbsa-inqacc, #4471) #4476

Closed

Description

@squid-protocol

Found while landing #4471 (the #4457/#4458 engine train). The sanctioned way to update a model-written port after a generator change, porting_loop.py run, cannot run: every attempt (2 runs × 4) failed on harness --reuse errors, because the baseline COBOL run's run.sh was missing. The port itself was not at fault. equivalence.py run on the committed cbsa-inqacc port then fails at dto_shape ("no generated class InqaccCommarea") after #4457 correctly renamed the DTO to InqaccDfhcommarea.

So "never hand-edit model ports" has no working regeneration path for this case. Fix --reuse (or make it fall back to a fresh baseline run), then confirm porting_loop.py run cbsa-inqacc can regenerate and prove the port.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    testing
    legacy-modernization
    priority: high
    on Oct 5, 2026
  2. added
    scope:core
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglegacy-modernizationpriority: highscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions