Skip to content

Prove crucible ports through their deployed entry points (Spring façades), not only runTask #4343

Closed

Description

@squid-protocol

Problem

In a deployment, traffic enters a crucible port through its Spring façade methods (handleTransaction, handleLink, submitXxx, renderXxx, returnedCommarea, executeX, bridgeX, seed). These build their own CicsTask, or run a small runtime of their own, and then call runTask. The CICS crucible proves only runTask. The façade's internal task never reports to the scenario, so the path production actually takes is not proven.

That is not hypothetical. The unproven-ports work (#4325, #4326) found façades whose behaviour differs from what runTask proves:

  • HXEXT handleTransaction returns a fresh WS-CA without running the program.
  • The render/submit methods (HXATTR renderHxm1/submitHxm1, HXEXT submitHxm2, PCWIZ renderPcm1/renderPcm2/submitPcm1) rebuild screens outside runTask and leave out subfields and options.
  • CASUB executeCasub/handleLink write TS through a repository, not through the task.

Remaining ported_unproven façade methods under the #4048 blocking policy: CALINK, CASUB (2), CAXB (3), GTWORK, HCMAIN (executeHcmain, bridgeHcsub, seed), HCSUB (handleLink), HCQREAD (executeHcqread, handleTransaction), HXATTR (3), HXEXT (2), PCDETL, PCMENU, PCWIZ (6).

Proposal

A hook in the shipped CicsTask runtime, and the crucible harness, so that a scenario can enter through a façade and the façade's task joins the scenario's environment: same events, TS/TD, COMMAREA, screens, abend/condition plumbing. Each scenario then runs through the deployed entry point and is compared against the COBOL exactly as runTask scenarios are.

Acceptance criteria

  • Runtime hook (generator runtime code, with tests), plus crucible harness support to drive a façade per scenario.
  • Every crucible façade method is either proven through a scenario that enters by it, or fixed when the proof shows it differs from the COBOL (e.g. HXEXT not running the program, render/submit omitting fields). Behaviour that has no COBOL counterpart goes to the generator issue filed alongside this one.
  • Records regenerated by the tools; the 12 crucible ports reach "proven, unapproved" or carry a stated reason.
  • Docs: evidence_records.md says what "proven" covers (which entry points).

Related: #4048, #4255, #4316, #4325, #4326, #3989 (CICS crucible).

Activity

  1. added
    enhancement
    testing
    legacy-modernization
    priority: high
    on Oct 4, 2026
  2. added
    scope:core
    era:4
    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

    enhancementera:4legacy-modernizationpriority: highscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions