Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

Commit b47eba8

Browse files
committed
Build before release gate verifiers
1 parent 9826444 commit b47eba8

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ jobs:
6868
- name: Install dependencies
6969
run: npm ci
7070

71+
- name: Build package files
72+
run: npm run build
73+
7174
- name: Daemon-ready installed-package gate
7275
run: npm run daemon:verify
7376

tests/contract.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1905,6 +1905,13 @@ setInterval(() => {}, 1000);
19051905
expect(ci.match(/npm run daemon:verify/gu)).toHaveLength(1);
19061906
expect(ci.match(/npm run runtime:safety/gu)).toHaveLength(1);
19071907
expect(ci.match(/npm run dogfood/gu)).toHaveLength(1);
1908+
const releaseGatesStart = ci.indexOf("release-gates:");
1909+
const releaseGateBuild = ci.indexOf("npm run build", releaseGatesStart);
1910+
const daemonGate = ci.indexOf("npm run daemon:verify");
1911+
expect(releaseGatesStart).toBeGreaterThanOrEqual(0);
1912+
expect(releaseGateBuild).toBeGreaterThanOrEqual(0);
1913+
expect(daemonGate).toBeGreaterThanOrEqual(0);
1914+
expect(releaseGateBuild).toBeLessThan(daemonGate);
19081915
expect(ci).not.toContain("Package install smoke");
19091916
expect(ci).not.toContain("agent-runtime-release-smoke");
19101917
expect(ci).not.toContain("--allow-real-run");

0 commit comments

Comments
 (0)