Skip to content

Crucible ports: close the 34 mutation case gaps and mutate the 4 PC* ports (after #4439) #4443

Closed as not planned

Description

@squid-protocol

Follow-up to PR #4439 (8375678), the mutation re-run of the 13 non-PC crucible ports after #4343. The runner now proves mutants on both java-ported and java-facade.

Result

205 killed, 86 survived, 21 stillborn (seed 0, 24 mutants per port). Weakest ports: HCMAIN 10/23, HCQREAD 10/21, GTTERM 13/21. The survivor triage is in #4439's body: 34 case gaps, 35 equivalent, 17 unreachable, 0 harness gaps.

Do

  1. Close the 34 case gaps. Add scenarios to the cics-crucible cases that kill them. 19 need a fault plan (an injected condition or abend), so check whether the harness can express each one; anything it can't is a harness gap to file separately. Then re-run and update the exact per-port counts in test_the_re_run_crucible_ports_keep_their_measured_floor.
  2. Run mutation on the 4 PC* ports (PCCONF, PCWIZ, PCMENU, PCDETL). Generator: CICS facades type the COMMAREA per program, but a pseudo-conversation carries it across programs #4427 / PR Generator: CICS facades carry the COMMAREA a pseudo-conversation passes across programs (#4427) #4435 has merged, so they are final. Then drop the stale-only-for-PC* clause from the proof_reach tripwire and add their exact counts.
  3. Spot-check a sample of the 35 "equivalent" verdicts. They were judged by reading the code, not verified by hand.

🤖 Generated with Claude Code

Remaining slices (as of 2026-10-18)

Done so far: 2 merged PRs (#5392, #5318).

Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.

Activity

  1. squid-protocol commented on Oct 5, 2026

    @squid-protocol
    OwnerAuthor

    Also re-run (or mark stale) the mutation entries for carddemo-acctview and carddemo-menu: #4441 (PR #4445) regenerated their handleTransaction façades. Survivor line numbers shifted (by 22 in menu), and mutants inside the old façade are gone; runTask is unchanged.

  2. squid-protocol commented on Oct 5, 2026

    @squid-protocol
    OwnerAuthor

    Add a scenario for READ ... INTO LENGTH → LENGERR (truncation, RESP2 11) when cics-crucible gets its next release. #4436 (PR #4453) models it, but no GenApp scenario reaches LENGERR: every non-NORMAL READ LINKs LGSTSQ, and both READs are UPDATE. So truncation is covered by unit tests only. LENGERR on READ UPDATE stays refused (IBM doesn't say whether the record stays held).

  3. added
    enhancement
    legacy-modernization
    testing
    on Oct 5, 2026
  4. added
    scope:core
    on Oct 16, 2026
  5. added
    needs:crucible
    needs:docker
    on Oct 18, 2026
  6. 31 remaining items

  7. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    #6240 merged: a partial slice of [c:8004bd43] "(verify) READ ... INTO LENGTH -> LENGERR scenario (#4436 / #4453), once a cics-crucible release carries it (check v0.9.0). Check: the scenario exists and a mutant on that branch dies. (1 PR)"; left: cobol-stub fix and LENGERR read-short done; Java, port legs and stub REWRITE/UNLOCK events remain. (promoter-bot)

  8. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Run 4443-20261023T1335Z found READ INTO LENGTH LENGERR verify blocked: the Java legs record no file events (JAVA_CAPS / java_actual / EVENT_KEYS / forge CicsTask have no READ-with-length, REWRITE, UNLOCK), so HCUNLK proves 0/4. Proposed replacement slices: A0 record READ(update,length,data)/REWRITE/UNLOCK events in compare layer + capability tables + CicsTask, re-prove existing file-using ports; A0b cobol-stub REWRITE/UNLOCK; A HCUNLK port 4/4; B mutation run; D READ-family LENGTH sibling survey. Side finding: cobol-stub read-short compares only file/ridfld/resp, not length/data.

  9. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 4443-20261023T1335Z (host melek) ended without a PR. no PR; A0 harness slice queued (Opus), issue commented

  10. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 4443-20261023T1450Z (host melek) ended without a PR. limit, requeued

  11. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Siblings: #6262 (file-control SPEC events not covered by PR #6261).

  12. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Owner decision 2026-10-23: L5 mutation work is sunset -- the existing det_mutation ledgers (28 cases, 9,416 judged mutants; 17 programs at L4 with every survivor accounted for) stand as the proof of principle. Effort moves to the L1->L4 ladder (#6072). Hosts: please drop claims and don't pick this up. The one remaining L5 item is #5862 (ledger freshness tied to the program's own port bytes, so the existing results show as L5); open L5 PRs that already passed review may still merge.

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

    claim:melekenhancementlegacy-modernizationneeds:crucibleneeds:dockerpriority: mediumscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions