Files
openclaw/scripts/install-smoke-candidate-payload.d.mts
Vincent Koc 7dfe406d20 perf(ci): parallelize installer smoke validation (#127138)
* fix(ci): parallelize installer smoke groups

* fix(ci): bind installer smoke artifacts

* fix(ci): isolate installer smoke candidate payload

* fix(ci): restore trusted install harness

* fix(ci): run Bun smoke from trusted harness
2026-08-21 17:02:11 -07:00

51 lines
1.3 KiB
TypeScript

type InstallSmokeCandidatePayloadManifest = {
files: Array<{
name: string;
role: "package" | "package-metadata" | "installer" | "cli-installer";
sha256: string;
size: number;
}>;
harnessRepository: string;
harnessSha: string;
packageVersion: string;
repository: string;
runAttempt: string;
runId: string;
schema: "openclaw.install-smoke-candidate-payload/v1";
sourceArchiveSha256: string;
targetSha: string;
};
type SealInstallSmokeCandidatePayloadOptions = {
archivePath: string;
harnessRepository: string;
harnessSha: string;
outputDir: string;
packageDir: string;
repository: string;
runAttempt: string;
runId: string;
targetSha: string;
};
type VerifyInstallSmokeCandidatePayloadOptions = {
expectedManifestSha256: string;
expectedPackageVersion: string;
expectedSourceArchiveSha256: string;
harnessRepository: string;
harnessSha: string;
payloadDir: string;
repository: string;
runAttempt: string;
runId: string;
targetSha: string;
};
export function sealInstallSmokeCandidatePayload(
options: SealInstallSmokeCandidatePayloadOptions,
): Promise<InstallSmokeCandidatePayloadManifest>;
export function verifyInstallSmokeCandidatePayload(
options: VerifyInstallSmokeCandidatePayloadOptions,
): Promise<InstallSmokeCandidatePayloadManifest>;