fix(ci): keep beta performance advisory at publish

This commit is contained in:
Peter Steinberger
2026-07-17 05:32:47 +01:00
parent e3618454f2
commit 97f75ed3c5
2 changed files with 13 additions and 1 deletions
@@ -499,7 +499,7 @@ jobs:
echo "Full release validation must run rerun_group=all before npm publish; got $rerun_group" >&2
exit 1
fi
if [[ "$performance_blocking" != "true" ]]; then
if [[ "$release_profile" != "beta" && "$performance_blocking" != "true" ]]; then
echo "Full release validation manifest does not record blocking product performance evidence." >&2
exit 1
fi
@@ -1271,6 +1271,18 @@ describe("package acceptance workflow", () => {
expect(workflow).toContain('blocking: ($releaseProfile != "beta")');
});
it("keeps beta performance advisory at the publish gate", () => {
const validationStep = workflowStep(
workflowJob(RELEASE_PUBLISH_WORKFLOW, "resolve_release_target"),
"Validate full release validation manifest",
);
expectTextToIncludeAll(validationStep.run, [
'if [[ "$release_profile" != "beta" && "$performance_blocking" != "true" ]]',
"Full release validation manifest does not record blocking product performance evidence.",
]);
});
it("keeps child-job fail-fast polling best-effort", () => {
const workflow = readFileSync(FULL_RELEASE_VALIDATION_WORKFLOW, "utf8");
expect(workflow.match(/continuing with authoritative workflow conclusion\./gu)).toHaveLength(3);