@mutmutco/cli 4.3.35 → 4.3.36
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 +18 -7
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -15617,10 +15617,10 @@ var rollout_plan_default = {
|
|
|
15617
15617
|
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)."
|
|
15618
15618
|
},
|
|
15619
15619
|
baseline: {
|
|
15620
|
-
version: "4.3.
|
|
15621
|
-
tag: "v4.3.
|
|
15622
|
-
commit: "
|
|
15623
|
-
npm: "@mutmutco/cli@4.3.
|
|
15620
|
+
version: "4.3.36",
|
|
15621
|
+
tag: "v4.3.36",
|
|
15622
|
+
commit: "6309473a245d",
|
|
15623
|
+
npm: "@mutmutco/cli@4.3.36"
|
|
15624
15624
|
},
|
|
15625
15625
|
exitCriterion: "fleet-n-of-n",
|
|
15626
15626
|
hubOnlyShortcut: "forbidden",
|
|
@@ -15637,14 +15637,14 @@ var rollout_plan_default = {
|
|
|
15637
15637
|
repo: "mutmutco/mmi-hub",
|
|
15638
15638
|
role: "canary",
|
|
15639
15639
|
schedule: "train",
|
|
15640
|
-
v3Target: "v4.3.
|
|
15640
|
+
v3Target: "v4.3.36"
|
|
15641
15641
|
}
|
|
15642
15642
|
],
|
|
15643
15643
|
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.",
|
|
15644
15644
|
rollback: {
|
|
15645
15645
|
independent: true,
|
|
15646
|
-
mechanism: "npm dist-tag latest -> 4.3.
|
|
15647
|
-
v3Target: "v4.3.
|
|
15646
|
+
mechanism: "npm dist-tag latest -> 4.3.36 and redeploy the Hub Lambda from tag v4.3.36 (6309473a245d); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
15647
|
+
v3Target: "v4.3.36 (@mutmutco/cli@4.3.36, tag commit 6309473a245d \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
15648
15648
|
}
|
|
15649
15649
|
},
|
|
15650
15650
|
{
|
|
@@ -21625,6 +21625,17 @@ async function runTrainDoctor(input) {
|
|
|
21625
21625
|
} catch (e) {
|
|
21626
21626
|
add({ code: "contexts-not-tag-addressable", severity: "blocker", source: "local", title: `required ${stage} check(s) cannot materialize on a tag push (#5428)`, remedy: message(e) });
|
|
21627
21627
|
}
|
|
21628
|
+
if (startBranch) {
|
|
21629
|
+
const tip = await git3(["rev-parse", "--verify", "--quiet", `refs/remotes/origin/${startBranch}`]);
|
|
21630
|
+
const checkRuns = JSON.parse(await train.run("gh", ["api", `repos/${repo}/commits/${tip}/check-runs`, "--jq", TRAIN_CHECK_RUNS_JQ]));
|
|
21631
|
+
const statuses = JSON.parse(await train.run("gh", ["api", `repos/${repo}/commits/${tip}/status`, "--jq", TRAIN_COMMIT_STATUS_JQ]));
|
|
21632
|
+
const observed = required.filter((c) => checkRuns.some((r) => r.name === c) || statuses.some((s) => s.context === c));
|
|
21633
|
+
const red = observed.filter((c) => resolveContextState(c, checkRuns, statuses) === "failed");
|
|
21634
|
+
const inFlight = observed.filter((c) => resolveContextState(c, checkRuns, statuses) === "pending");
|
|
21635
|
+
const at = `${startBranch}@${tip.slice(0, 12)}`;
|
|
21636
|
+
if (red.length) add({ code: "required-check-red", severity: "blocker", source: "origin", title: `required ${stage} check(s) failed on the lane's start branch tip: ${red.join(", ")} at ${at}`, remedy: `--heal never clears this one \u2014 a red trunk needs a fix, not a heal: land the failure's fix on ${startBranch} through a CI-gated PR, then rerun once its run is green (#6461)` });
|
|
21637
|
+
else if (inFlight.length) add({ code: "required-check-red", severity: "warning", source: "origin", title: `required ${stage} check(s) still in flight on the lane's start branch tip: ${inFlight.join(", ")} at ${at}`, remedy: `wait for the run to conclude and rerun \u2014 the tip's verdict is not known yet, and the train would tag before it is` });
|
|
21638
|
+
}
|
|
21628
21639
|
}
|
|
21629
21640
|
} catch (e) {
|
|
21630
21641
|
unverified(`required status checks on ${stage}`, e);
|
package/package.json
CHANGED