Interface HonuaPluginConformanceSpecExperimental

Declared behavioral bounds a plugin must satisfy to conform.

interface HonuaPluginConformanceSpec {
    bundle: {
        gzipBytes: number;
        maxGzipBytes: number;
        maxMinifiedBytes: number;
        minifiedBytes: number;
    };
    factory: AnyHonuaPluginFactory;
    performance: {
        maxServiceCalls: number;
    };
    probe: HonuaPluginConformanceProbe;
    retries: {
        injectedFailures: number;
        maxAttempts: number;
    };
}

Properties

bundle: {
    gzipBytes: number;
    maxGzipBytes: number;
    maxMinifiedBytes: number;
    minifiedBytes: number;
}

Factory carrying inert manifest JSON plus the initialize hook.

performance: {
    maxServiceCalls: number;
}

Type declaration

  • ReadonlymaxServiceCalls: number

    Upper bound on host-service interactions caused by one probe run.

Invoke exactly one canonical plugin operation. Errors fail the scenario.

retries: {
    injectedFailures: number;
    maxAttempts: number;
}

Type declaration

  • ReadonlyinjectedFailures: number

    Transient host failures the harness injects before the call succeeds.

  • ReadonlymaxAttempts: number

    Upper bound on total host attempts the plugin may make to recover.