feat(hwlab): bootstrap v02 OpenFGA prerequisites

This commit is contained in:
Codex
2026-06-05 01:19:50 +00:00
parent 3875a8f08e
commit 56bf2dfa69
2 changed files with 407 additions and 12 deletions
+12
View File
@@ -48,6 +48,18 @@ assertCondition(
"v0.2 PR monitor help must expose the auto CI/CD lane, status query, latest-only CD, and dedupe comment state",
hwlabG14Help(),
);
assertCondition(
hwlabHelpUsage.some((line) => line.includes("secret status --lane v02 --name hwlab-v02-openfga"))
&& hwlabHelpUsage.some((line) => line.includes("secret ensure --lane v02 --name hwlab-v02-openfga --confirm")),
"v0.2 secret help must expose the controlled OpenFGA SecretRef bootstrap path",
hwlabHelpUsage,
);
assertCondition(
hwlabHelpUsage.some((line) => line.includes("upstream-image status --name openfga --tag v1.17.0"))
&& hwlabHelpUsage.some((line) => line.includes("upstream-image ensure --name openfga --tag v1.17.0 --confirm")),
"v0.2 help must expose the controlled OpenFGA upstream image mirroring path",
hwlabHelpUsage,
);
const v02CommentBody = v02PrAutomationCommentBody({
pr: {