@mutmutco/cli 4.5.105 → 4.5.107
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 +10 -7
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -384,6 +384,8 @@ function classifyGhTokenExecFailure(e) {
|
|
|
384
384
|
return { state: "failed", detail };
|
|
385
385
|
}
|
|
386
386
|
async function githubTokenRead() {
|
|
387
|
+
const mmiPat = process.env.MMI_GH_PAT?.trim();
|
|
388
|
+
if (mmiPat) return { state: "ok", token: mmiPat };
|
|
387
389
|
if (process.env.GH_TOKEN) return { state: "ok", token: process.env.GH_TOKEN };
|
|
388
390
|
if (process.env.GITHUB_TOKEN) return { state: "ok", token: process.env.GITHUB_TOKEN };
|
|
389
391
|
cachedGhCliTokenRead ??= execFileP("gh", ["auth", "token"]).then(({ stdout }) => {
|
|
@@ -13392,6 +13394,7 @@ function asBoardStatus(value) {
|
|
|
13392
13394
|
return BOARD_STATUSES.includes(value) ? value : void 0;
|
|
13393
13395
|
}
|
|
13394
13396
|
function describeTokenSource() {
|
|
13397
|
+
if (process.env.MMI_GH_PAT?.trim()) return "env MMI_GH_PAT";
|
|
13395
13398
|
if (process.env.GH_TOKEN) return "env GH_TOKEN";
|
|
13396
13399
|
if (process.env.GITHUB_TOKEN) return "env GITHUB_TOKEN";
|
|
13397
13400
|
return "`gh auth token` (the gh CLI login)";
|
|
@@ -17699,10 +17702,10 @@ var rollout_plan_default = {
|
|
|
17699
17702
|
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)."
|
|
17700
17703
|
},
|
|
17701
17704
|
baseline: {
|
|
17702
|
-
version: "4.5.
|
|
17703
|
-
tag: "v4.5.
|
|
17704
|
-
commit: "
|
|
17705
|
-
npm: "@mutmutco/cli@4.5.
|
|
17705
|
+
version: "4.5.107",
|
|
17706
|
+
tag: "v4.5.107",
|
|
17707
|
+
commit: "a14b5368bc55",
|
|
17708
|
+
npm: "@mutmutco/cli@4.5.107"
|
|
17706
17709
|
},
|
|
17707
17710
|
exitCriterion: "fleet-n-of-n",
|
|
17708
17711
|
hubOnlyShortcut: "forbidden",
|
|
@@ -17719,14 +17722,14 @@ var rollout_plan_default = {
|
|
|
17719
17722
|
repo: "mutmutco/mmi-hub",
|
|
17720
17723
|
role: "canary",
|
|
17721
17724
|
schedule: "train",
|
|
17722
|
-
v3Target: "v4.5.
|
|
17725
|
+
v3Target: "v4.5.107"
|
|
17723
17726
|
}
|
|
17724
17727
|
],
|
|
17725
17728
|
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.",
|
|
17726
17729
|
rollback: {
|
|
17727
17730
|
independent: true,
|
|
17728
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
17729
|
-
v3Target: "v4.5.
|
|
17731
|
+
mechanism: "npm dist-tag latest -> 4.5.107 and redeploy the Hub Lambda from tag v4.5.107 (a14b5368bc55); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
17732
|
+
v3Target: "v4.5.107 (@mutmutco/cli@4.5.107, tag commit a14b5368bc55 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
17730
17733
|
}
|
|
17731
17734
|
},
|
|
17732
17735
|
{
|
package/package.json
CHANGED