gatelineAPI reference

An engine's fault (#502), written to its health file as failed while it stands.

Two kinds, cleared differently. A tick or seed fault is a pass that threw; the next pass that completes clears it, and failures counts the passes in a row that threw. A settlement or sweep fault is a job whose closing commit threw, leaving its ledger entry (or sweep marker) open; it stands until that entry is closed or aged out, whatever passes complete meanwhile, and failures counts the entries faults have left open. When both kinds stand, the health file shows the newest.

interface EngineFault {
    at: string;
    failures: number;
    reason: string;
    where: "seed" | "sweep" | "tick" | "settlement";
}

Properties

Properties

at: string

ISO timestamp of the latest fault.

failures: number

Passes in a row that threw (tick, seed), or entries left open by faults (settlement, sweep).

reason: string

The error's message.

where: "seed" | "sweep" | "tick" | "settlement"

Where it was caught: a tick, a dispatch's settlement, a sweep's settlement, or the startup seed.