mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
fix(release): keep beta performance advisory
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user