Skip to content

Commit 2256387

Browse files
committed
fix(ci): clear duplicate declaration and retired-state assertion breaks
Two direct-landed changes left every PR red: release-candidate-checklist.d.mts declared isDirectReleaseCandidateExecution twice with other declarations between them (adjacent-overload-signatures), and the parallels smoke model test still asserted the workspace-state.json seeding that b6535fb deliberately retired. Drop the duplicate and flip the assertion to guard the retirement.
1 parent 55bb6cf commit 2256387

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

scripts/release-candidate-checklist.d.mts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,6 @@ export function validateWindowsSourceRelease(
9898
digest: unknown;
9999
}[];
100100
}>;
101-
export function isDirectReleaseCandidateExecution(
102-
directPath: string | undefined,
103-
modulePath: string,
104-
resolveRealPath?: (path: string) => string,
105-
): boolean;
106101
export function validateCandidateCheckout({
107102
targetSha,
108103
targetHeadSha,

test/scripts/parallels-smoke-model.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,9 @@ if (isPrlctl) {
11831183
it("seeds agent workspace state before OS smoke agent turns", () => {
11841184
const workspace = readFileSync(TS_PATHS.agentWorkspace, "utf8");
11851185

1186-
expect(workspace).toContain("workspace-state.json");
1186+
// workspace-state.json was retired (b6535fb8de5: stop writing retired
1187+
// smoke state); identity/bootstrap seeding remains the contract.
1188+
expect(workspace).not.toContain("workspace-state.json");
11871189
expect(workspace).toContain("IDENTITY.md");
11881190
expect(workspace).toContain("BOOTSTRAP.md");
11891191

0 commit comments

Comments
 (0)