Skip to content

Equivalence harness: add a java-facade side; consider layout conversion in returned() instead of Object (after #4441) #4449

Closed

Description

@squid-protocol

Follow-ups from #4441 (PR #4445).

  1. The equivalence harness has no façade side. The 14 regenerated CardDemo equivalence ports are proven through runTask only. The CICS crucible gained a java-facade side in Prove crucible ports through their deployed entry points (Spring façades), not only runTask #4343. Add the same to the equivalence harness so CardDemo, CBSA and GenApp façades are proven through handleTransaction / handleLink, as the crucible ports are.
  2. A typed alternative to Object for cross-program façade sides. Resurface the 14 CardDemo equivalence ports' facades after #4427; keep Object for cross-program COMMAREAs (#4441) #4445 kept Object, because a sealed interface would claim a closed set of DTO classes that isn't closed (e.g. COSGN00C's RETURN TRANSID(CC00) COMMAREA(CARDDEMO-COMMAREA) has no DTO of its own). COBOL's contract there is a byte layout. The honest typed option is converting by layout in returned(). Design it before the 4th-estate attempt if the generated API should be typed.

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    legacy-modernization
    priority: high
    testing
    on Oct 5, 2026
  2. squid-protocol commented on Oct 5, 2026

    @squid-protocol
    OwnerAuthor

    Suggestion from #4463 (PR #4466): compile the COBOL side of equivalence/crucible runs with EC-BOUND-SUBSCRIPT (GnuCOBOL -fec=EC-BOUND-SUBSCRIPT or equivalent), so a scenario that drives a subscript outside its table is refused by name instead of reading past it. #4463's carddemo-menu scenario sent option 99 into a 12-entry table. X8 now forbids such scenarios; the runtime check would enforce it.

  3. added
    scope:core
    era:4
    on Oct 16, 2026
  4. squid-protocol commented on Oct 17, 2026

    @squid-protocol
    OwnerAuthor

    Acceptance met: item 1 (java-facade side in the equivalence harness) landed in #4455, item 2 (typed alternative to Object / layout conversion) in #4529, and the remaining bounds-check comment in #5311 (merged).

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

    enhancementera:4legacy-modernizationpriority: highscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions