@mutmutco/cli 4.5.18 → 4.5.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +17 -13
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -16162,10 +16162,10 @@ var rollout_plan_default = {
|
|
|
16162
16162
|
note: "The v4.0.0 stamp happens at cut time (D6e #4463); until then the candidate is the origin/development head artifacts (built cli/dist + npm pack), identity proven by dist content hash (D6a)."
|
|
16163
16163
|
},
|
|
16164
16164
|
baseline: {
|
|
16165
|
-
version: "4.5.
|
|
16166
|
-
tag: "v4.5.
|
|
16167
|
-
commit: "
|
|
16168
|
-
npm: "@mutmutco/cli@4.5.
|
|
16165
|
+
version: "4.5.20",
|
|
16166
|
+
tag: "v4.5.20",
|
|
16167
|
+
commit: "c659b1785086",
|
|
16168
|
+
npm: "@mutmutco/cli@4.5.20"
|
|
16169
16169
|
},
|
|
16170
16170
|
exitCriterion: "fleet-n-of-n",
|
|
16171
16171
|
hubOnlyShortcut: "forbidden",
|
|
@@ -16182,14 +16182,14 @@ var rollout_plan_default = {
|
|
|
16182
16182
|
repo: "mutmutco/mmi-hub",
|
|
16183
16183
|
role: "canary",
|
|
16184
16184
|
schedule: "train",
|
|
16185
|
-
v3Target: "v4.5.
|
|
16185
|
+
v3Target: "v4.5.20"
|
|
16186
16186
|
}
|
|
16187
16187
|
],
|
|
16188
16188
|
rollbackTrigger: "Any red inside the post-contract soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a pre-v4 client admitted instead of receiving actionable HTTP 426, or npm consumer install/doctor failure on the v4-only dist.",
|
|
16189
16189
|
rollback: {
|
|
16190
16190
|
independent: true,
|
|
16191
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
16192
|
-
v3Target: "v4.5.
|
|
16191
|
+
mechanism: "npm dist-tag latest -> 4.5.20 and redeploy the Hub Lambda from tag v4.5.20 (c659b1785086); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
16192
|
+
v3Target: "v4.5.20 (@mutmutco/cli@4.5.20, tag commit c659b1785086 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
16193
16193
|
}
|
|
16194
16194
|
},
|
|
16195
16195
|
{
|
|
@@ -18520,14 +18520,14 @@ async function watchTenantRun(deps, runId, repo = HUB_REPO2) {
|
|
|
18520
18520
|
confirmError = e;
|
|
18521
18521
|
}
|
|
18522
18522
|
}
|
|
18523
|
-
if (!watchSaidSuccess) return "failure";
|
|
18524
18523
|
if (confirmError) {
|
|
18525
18524
|
deps.warn?.(
|
|
18526
|
-
`run ${runId} (${repo}): the confirming \`gh run view --json status,conclusion\` read FAILED (${describeReadError(confirmError)}) \u2014 \`gh run watch\` exited green, but an unconfirmed
|
|
18525
|
+
`run ${runId} (${repo}): the confirming \`gh run view --json status,conclusion\` read FAILED (${describeReadError(confirmError)}) \u2014 \`gh run watch\` exited ${watchSaidSuccess ? "green" : "non-zero"}, but an unconfirmed verdict is not a result (#2561, #7136); reporting the run as PENDING. Re-check: gh run view ${runId} --repo ${repo} (#4713).`
|
|
18527
18526
|
);
|
|
18528
18527
|
return "pending";
|
|
18529
18528
|
}
|
|
18530
|
-
|
|
18529
|
+
deps.warn?.(`run ${runId} (${repo}): \`gh run watch\` exited ${watchSaidSuccess ? "green" : "non-zero"} while the run is still in progress, reporting PENDING (#7136)`);
|
|
18530
|
+
return "pending";
|
|
18531
18531
|
}
|
|
18532
18532
|
async function fetchControlRunLog(deps, runId) {
|
|
18533
18533
|
try {
|
|
@@ -30265,12 +30265,16 @@ function registerBootstrapCommands(program3) {
|
|
|
30265
30265
|
}
|
|
30266
30266
|
let registryRequiredCheckBranches;
|
|
30267
30267
|
let registryMeta = null;
|
|
30268
|
-
|
|
30269
|
-
|
|
30268
|
+
const metaRead = await fetchProjectBySlugChecked(slug, registryClientDeps(await loadConfig()));
|
|
30269
|
+
if (metaRead.ok) {
|
|
30270
|
+
const meta = metaRead.project;
|
|
30270
30271
|
registryMeta = meta;
|
|
30271
30272
|
registryRequiredCheckBranches = meta?.requiredCheckBranches;
|
|
30272
30273
|
for (const [k, v] of Object.entries(gateConfigToVars(meta?.gate))) if (rawVars[k] == null) rawVars[k] = v;
|
|
30273
|
-
}
|
|
30274
|
+
} else if (o.execute && !onlyTarget) {
|
|
30275
|
+
return failGraceful(`bootstrap apply: registry META unreadable (${metaRead.error}); refusing the live registry write, which would reset a registered project's releaseTrack and edgeDomains to class defaults (#7138)`);
|
|
30276
|
+
} else {
|
|
30277
|
+
console.error(onlyTarget ? `bootstrap apply: registry META unreadable (${metaRead.error}); --only ${onlyTarget} writes no registry META, so --execute proceeds only with an explicit --release-track (#7138, #7142)` : `bootstrap apply: registry META unreadable (${metaRead.error}); this plan assumes an unregistered project and a full --execute will refuse (#7138, #7142)`);
|
|
30274
30278
|
}
|
|
30275
30279
|
const vars = withDerivedRepoVars(rawVars, parsedRepo, o.class, effectiveTrack, registryRequiredCheckBranches, registryMeta?.requiredChecks);
|
|
30276
30280
|
if (!vars.PROJECT_ID) {
|
package/package.json
CHANGED