mirror of
https://github.com/morluto/rea.git
synced 2026-10-18 20:10:13 -05:00
* fix(package-verifier): reject overview responses without a procedure count The analyze and inspect checks compared procedure_count with `< 1`, and an absent or null normalized_result makes that comparison false, so a binary_overview response without its required result passed the platform smoke check. Require an integer procedure count before the positive-count comparison. * test(package-verifier): cover malformed overview receipts --------- Co-authored-by: REA Maintenance <76467478+morluto@users.noreply.github.com>
18 lines
613 B
TypeScript
18 lines
613 B
TypeScript
/** Validate the expected fail-closed Linux fixture outcome. */
|
|
export function assertLinuxPackageProviderFailure(execution: {
|
|
readonly status: number | null;
|
|
readonly stdout: string;
|
|
}): void;
|
|
|
|
/** Run platform-specific packaged analysis checks. */
|
|
export function verifyPackagePlatform(input: {
|
|
readonly cli: string;
|
|
readonly environment: Readonly<Record<string, string | undefined>>;
|
|
readonly platform?: string;
|
|
readonly runCommand?: (
|
|
command: string,
|
|
arguments_: readonly string[],
|
|
environment: Readonly<Record<string, string | undefined>>,
|
|
) => Promise<string>;
|
|
}): Promise<void>;
|