Cotal TypeScript packages
    Preparing search index...

    Interface DryRunFailure

    A dry run whose program failed under its script: what ran up to the fault, and the fault. The walk's step count is not reported, because the walk did not finish.

    interface DryRunFailure {
        agents: readonly PlannedAgent[];
        checkpoints: readonly PlannedCheckpoint[];
        effects: readonly PlannedEffect[];
        elapsedMs: number;
        fault: Error & { code: string };
        journal: Journal;
        log: readonly { scope: string; values: readonly unknown[] }[];
        unusedScript: readonly string[];
        waits: readonly PlannedWait[];
    }

    Hierarchy

    Index
    agents: readonly PlannedAgent[]
    checkpoints: readonly PlannedCheckpoint[]
    effects: readonly PlannedEffect[]
    elapsedMs: number

    Total virtual time the simulated run consumed, in ms.

    fault: Error & { code: string }

    The program's own fault, an L3xxx effect call shape or L4xxx run time error, such as L4007 for a checkpoint scripted expired under the default onExpiry "fail".

    journal: Journal
    log: readonly { scope: string; values: readonly unknown[] }[]

    Each log(...) line the run wrote, in order, with the scope it was written from.

    unusedScript: readonly string[]

    Script entries the run never reached, usually a renamed step. Surfaced in the report rather than left for someone to ask about: a script that silently stops matching is a test that silently stops testing.

    waits: readonly PlannedWait[]

    Where the run would block on a non-mesh resource. See PlannedWait.