Skip to content

Commit 7dfe406

Browse files
authored
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
1 parent 89e38cf commit 7dfe406

8 files changed

Lines changed: 2380 additions & 333 deletions

‎.github/workflows/install-smoke-reusable.yml‎

Lines changed: 790 additions & 154 deletions
Large diffs are not rendered by default.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
type InstallSmokeCandidatePayloadManifest = {
2+
files: Array<{
3+
name: string;
4+
role: "package" | "package-metadata" | "installer" | "cli-installer";
5+
sha256: string;
6+
size: number;
7+
}>;
8+
harnessRepository: string;
9+
harnessSha: string;
10+
packageVersion: string;
11+
repository: string;
12+
runAttempt: string;
13+
runId: string;
14+
schema: "openclaw.install-smoke-candidate-payload/v1";
15+
sourceArchiveSha256: string;
16+
targetSha: string;
17+
};
18+
19+
type SealInstallSmokeCandidatePayloadOptions = {
20+
archivePath: string;
21+
harnessRepository: string;
22+
harnessSha: string;
23+
outputDir: string;
24+
packageDir: string;
25+
repository: string;
26+
runAttempt: string;
27+
runId: string;
28+
targetSha: string;
29+
};
30+
31+
type VerifyInstallSmokeCandidatePayloadOptions = {
32+
expectedManifestSha256: string;
33+
expectedPackageVersion: string;
34+
expectedSourceArchiveSha256: string;
35+
harnessRepository: string;
36+
harnessSha: string;
37+
payloadDir: string;
38+
repository: string;
39+
runAttempt: string;
40+
runId: string;
41+
targetSha: string;
42+
};
43+
44+
export function sealInstallSmokeCandidatePayload(
45+
options: SealInstallSmokeCandidatePayloadOptions,
46+
): Promise<InstallSmokeCandidatePayloadManifest>;
47+
48+
export function verifyInstallSmokeCandidatePayload(
49+
options: VerifyInstallSmokeCandidatePayloadOptions,
50+
): Promise<InstallSmokeCandidatePayloadManifest>;

0 commit comments

Comments
 (0)