@mutmutco/cli 4.5.18 → 4.5.19

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.
Files changed (2) hide show
  1. package/dist/main.cjs +17 -13
  2. 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.18",
16166
- tag: "v4.5.18",
16167
- commit: "afc70753c56b",
16168
- npm: "@mutmutco/cli@4.5.18"
16165
+ version: "4.5.19",
16166
+ tag: "v4.5.19",
16167
+ commit: "513a4686091e",
16168
+ npm: "@mutmutco/cli@4.5.19"
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.18"
16185
+ v3Target: "v4.5.19"
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.18 and redeploy the Hub Lambda from tag v4.5.18 (afc70753c56b); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
16192
- v3Target: "v4.5.18 (@mutmutco/cli@4.5.18, tag commit afc70753c56b \u2014 last known-good release carrying the repo-index v4-only contract)"
16191
+ mechanism: "npm dist-tag latest -> 4.5.19 and redeploy the Hub Lambda from tag v4.5.19 (513a4686091e); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
16192
+ v3Target: "v4.5.19 (@mutmutco/cli@4.5.19, tag commit 513a4686091e \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 green is the false success #2561 proved; reporting the run as PENDING. Re-check: gh run view ${runId} --repo ${repo} (#4713).`
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
- return "success";
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
- try {
30269
- const meta = await fetchProjectBySlug(slug, registryClientDeps(await loadConfig()));
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
- } catch {
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(`bootstrap apply: registry META unreadable (${metaRead.error}); this plan assumes an unregistered project and --execute will refuse (#7138)`);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "4.5.18",
3
+ "version": "4.5.19",
4
4
  "description": "MMI Future CLI — the org dev toolbox and shared cross-IDE engine for every registry-declared MMI coding surface.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",