fix(release): keep beta performance advisory

This commit is contained in:
Peter Steinberger
2026-07-17 03:06:34 +01:00
parent aafbf7aabc
commit dffb136784
2 changed files with 20 additions and 1 deletions
+1 -1
View File
@@ -1215,7 +1215,7 @@ export function validateFullManifest(manifest, params) {
`full validation must record runReleaseSoak=true for ${params.releaseProfile} release candidates`,
);
}
if (manifest.controls?.performanceBlocking !== true) {
if (params.releaseProfile !== "beta" && manifest.controls?.performanceBlocking !== true) {
throw new Error("full validation manifest must record blocking product performance evidence");
}
}
@@ -707,6 +707,25 @@ describe("release candidate checklist", () => {
).toThrow("blocking product performance");
});
it("keeps product performance advisory for beta release candidates", () => {
expect(() =>
validateFullManifest(
{
workflowName: "Full Release Validation",
targetSha: "candidate-sha",
releaseProfile: "beta",
rerunGroup: "all",
runReleaseSoak: "false",
controls: { performanceBlocking: false },
},
{
targetSha: "candidate-sha",
releaseProfile: "beta",
},
),
).not.toThrow();
});
it("binds SHA-pinned full validation evidence through its manifest", () => {
const source = readFileSync("scripts/release-candidate-checklist.mjs", "utf8");