@mutmutco/codex-plugin 4.5.168 → 4.5.169
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/.codex-plugin/plugin.json +1 -1
- package/cli/dist/main.cjs +13 -9
- package/cli/package.json +1 -1
- package/package.json +1 -1
package/cli/dist/main.cjs
CHANGED
|
@@ -19074,10 +19074,10 @@ var rollout_plan_default = {
|
|
|
19074
19074
|
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)."
|
|
19075
19075
|
},
|
|
19076
19076
|
baseline: {
|
|
19077
|
-
version: "4.5.
|
|
19078
|
-
tag: "v4.5.
|
|
19079
|
-
commit: "
|
|
19080
|
-
npm: "@mutmutco/cli@4.5.
|
|
19077
|
+
version: "4.5.169",
|
|
19078
|
+
tag: "v4.5.169",
|
|
19079
|
+
commit: "4732697958bc",
|
|
19080
|
+
npm: "@mutmutco/cli@4.5.169"
|
|
19081
19081
|
},
|
|
19082
19082
|
exitCriterion: "fleet-n-of-n",
|
|
19083
19083
|
hubOnlyShortcut: "forbidden",
|
|
@@ -19094,14 +19094,14 @@ var rollout_plan_default = {
|
|
|
19094
19094
|
repo: "mutmutco/mmi-hub",
|
|
19095
19095
|
role: "canary",
|
|
19096
19096
|
schedule: "train",
|
|
19097
|
-
v3Target: "v4.5.
|
|
19097
|
+
v3Target: "v4.5.169"
|
|
19098
19098
|
}
|
|
19099
19099
|
],
|
|
19100
19100
|
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.",
|
|
19101
19101
|
rollback: {
|
|
19102
19102
|
independent: true,
|
|
19103
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
19104
|
-
v3Target: "v4.5.
|
|
19103
|
+
mechanism: "npm dist-tag latest -> 4.5.169 and redeploy the Hub Lambda from tag v4.5.169 (4732697958bc); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
19104
|
+
v3Target: "v4.5.169 (@mutmutco/cli@4.5.169, tag commit 4732697958bc \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
19105
19105
|
}
|
|
19106
19106
|
},
|
|
19107
19107
|
{
|
|
@@ -23272,7 +23272,11 @@ async function runTenantRedeploy(deps, options) {
|
|
|
23272
23272
|
const ctx = { repo, owner, slug: name.toLowerCase(), login };
|
|
23273
23273
|
const meta = requireProjectMetaForTrain(await loadProjectMeta(deps, ctx), repo);
|
|
23274
23274
|
const deployModel = requireDeployModel(meta, repo);
|
|
23275
|
-
const
|
|
23275
|
+
const singleTrackMain = stage === "main" && meta.releaseTrack === "single";
|
|
23276
|
+
if (singleTrackMain && options.ref === "main") {
|
|
23277
|
+
throw new Error(`${repo} is single-track: its \`main\` branch is stale, so --ref main would roll main back. Pin --ref <last good deployed SHA or development head>, or omit --ref to deploy development.`);
|
|
23278
|
+
}
|
|
23279
|
+
const ref = options.ref ?? (stage === "dev" || singleTrackMain ? "development" : stage);
|
|
23276
23280
|
if (!isCentralDispatchModel(deployModel)) {
|
|
23277
23281
|
throw new Error(`${repo} is ${deployModel}, not a centrally-dispatched model (tenant-container/solo-container/static-cdn) \u2014 there is no central tenant-deploy run to retry (its deploy fires from its own workflow)`);
|
|
23278
23282
|
}
|
|
@@ -57405,7 +57409,7 @@ tenant.command("status <owner/repo> <stage>").description("read tenant runtime r
|
|
|
57405
57409
|
console.log(JSON.stringify(result, null, 2));
|
|
57406
57410
|
if (result.publicProbe?.ok === false || result.edgeCertificate?.missing) process.exitCode = 1;
|
|
57407
57411
|
});
|
|
57408
|
-
tenant.command("redeploy <owner/repo> <stage>").description("re-dispatch the central tenant-deploy.yml for an already-promoted ref (no re-tag/merge); train-authority gated").option("--ref <ref>", "ref to deploy (defaults to the stage branch rc/main, or `development` for dev and for a single-track repo's main)").option("--watch", "block on the dispatched run and report its outcome (gh run watch --exit-status)").option("--json", "machine-readable output").action(async (repo, stage, o) => {
|
|
57412
|
+
tenant.command("redeploy <owner/repo> <stage>").description("re-dispatch the central tenant-deploy.yml for an already-promoted ref (no re-tag/merge); train-authority gated").option("--ref <ref>", "ref to deploy (defaults to the stage branch rc/main, or `development` for dev and for a single-track repo's main, where --ref main is refused)").option("--watch", "block on the dispatched run and report its outcome (gh run watch --exit-status)").option("--json", "machine-readable output").action(async (repo, stage, o) => {
|
|
57409
57413
|
if (stage !== "dev" && stage !== "rc" && stage !== "main") return fail("runtime tenant redeploy: <stage> must be dev, rc, or main");
|
|
57410
57414
|
try {
|
|
57411
57415
|
const raw = await runTenantRedeploy(trainApplyDeps(), { repo, stage, ref: o.ref, watch: o.watch });
|
package/cli/package.json
CHANGED