Outcome record for one issue processed by applyFixes.

interface ApplyFixesIssueOutcome {
    error?: string;
    issue: inspect.sceneModel.Issue;
    reason?: FixSkipReason;
    strategy?: string;
    trace?: string;
}

Properties

error?: string

Error message from the strategy when it threw / returned ok: false. Absent on success or when no strategy matched.

The original issue that was considered.

reason?: FixSkipReason

Why this issue ended up in ApplyFixesResult.skipped. Absent on fixed and errors outcomes — only populated for skipped entries. See FixSkipReason for the categories.

strategy?: string

Description from the strategy that handled (or declined) this issue.

trace?: string

Short trace string returned by the strategy — peripheral ids destroyed / created / re-parented, new pieces a split produced, etc. UIs surface this as a debugging aid; the framework never inspects it. May be present alongside reason on a declined fix when the strategy wants to say more than the reason category alone conveys.