Member Junction
    Preparing search index...
    interface ComponentExecutionResult {
        browserCrash?: boolean;
        codeExecutionSuccess?: boolean;
        console: { text: string; type: string }[];
        errors: Violation[];
        executionTime: number;
        html: string;
        lintViolations?: Violation[];
        renderCount?: number;
        screenshot?: Buffer;
        sourceMaps?: Record<string, any>;
        success: boolean;
        warnings: Violation[];
    }
    Index

    Properties

    browserCrash?: boolean

    If true, the browser/page crashed during execution or cleanup. This is an infrastructure issue, not a code issue.

    codeExecutionSuccess?: boolean

    Whether the component code executed successfully, independent of browser crashes.

    Calculation: No critical or high severity errors exist, EXCLUDING errors with rule='browser-crash' (which are infrastructure issues, not code issues). Medium, low, and warning severity errors do not affect this metric.

    Usage: Use this field to determine if the generated code is valid:

    • If codeExecutionSuccess=true: the code works (don't regenerate)
    • If codeExecutionSuccess=false: there are real code errors (regenerate)

    Note: The success field may be false due to browser crashes even when code is fine. This field gives you the "did the code work?" answer directly.

    console: { text: string; type: string }[]
    errors: Violation[]
    executionTime: number
    html: string
    lintViolations?: Violation[]
    renderCount?: number
    screenshot?: Buffer
    sourceMaps?: Record<string, any>

    Raw Babel sourcemaps keyed by component name. Populated when debug: true (which enables Babel sourcemap generation in the compiler). Used by callers to translate runtime stack frame line numbers back to original JSX positions.

    success: boolean
    warnings: Violation[]