@mutmutco/codex-plugin 4.5.166 → 4.5.167
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 +9 -9
- package/cli/package.json +1 -1
- package/package.json +1 -1
package/cli/dist/main.cjs
CHANGED
|
@@ -19071,10 +19071,10 @@ var rollout_plan_default = {
|
|
|
19071
19071
|
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)."
|
|
19072
19072
|
},
|
|
19073
19073
|
baseline: {
|
|
19074
|
-
version: "4.5.
|
|
19075
|
-
tag: "v4.5.
|
|
19076
|
-
commit: "
|
|
19077
|
-
npm: "@mutmutco/cli@4.5.
|
|
19074
|
+
version: "4.5.167",
|
|
19075
|
+
tag: "v4.5.167",
|
|
19076
|
+
commit: "75accc753c8f",
|
|
19077
|
+
npm: "@mutmutco/cli@4.5.167"
|
|
19078
19078
|
},
|
|
19079
19079
|
exitCriterion: "fleet-n-of-n",
|
|
19080
19080
|
hubOnlyShortcut: "forbidden",
|
|
@@ -19091,14 +19091,14 @@ var rollout_plan_default = {
|
|
|
19091
19091
|
repo: "mutmutco/mmi-hub",
|
|
19092
19092
|
role: "canary",
|
|
19093
19093
|
schedule: "train",
|
|
19094
|
-
v3Target: "v4.5.
|
|
19094
|
+
v3Target: "v4.5.167"
|
|
19095
19095
|
}
|
|
19096
19096
|
],
|
|
19097
19097
|
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.",
|
|
19098
19098
|
rollback: {
|
|
19099
19099
|
independent: true,
|
|
19100
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
19101
|
-
v3Target: "v4.5.
|
|
19100
|
+
mechanism: "npm dist-tag latest -> 4.5.167 and redeploy the Hub Lambda from tag v4.5.167 (75accc753c8f); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
19101
|
+
v3Target: "v4.5.167 (@mutmutco/cli@4.5.167, tag commit 75accc753c8f \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
19102
19102
|
}
|
|
19103
19103
|
},
|
|
19104
19104
|
{
|
|
@@ -23258,7 +23258,6 @@ async function retireRcRuntime(deps, ctx, model, deployStatus, releasedRcSha) {
|
|
|
23258
23258
|
}
|
|
23259
23259
|
async function runTenantRedeploy(deps, options) {
|
|
23260
23260
|
const { stage } = options;
|
|
23261
|
-
const ref = options.ref ?? (stage === "dev" ? "development" : stage);
|
|
23262
23261
|
const watch = options.watch ?? false;
|
|
23263
23262
|
const repo = options.repo;
|
|
23264
23263
|
const [owner, name] = repo.split("/");
|
|
@@ -23270,6 +23269,7 @@ async function runTenantRedeploy(deps, options) {
|
|
|
23270
23269
|
const ctx = { repo, owner, slug: name.toLowerCase(), login };
|
|
23271
23270
|
const meta = requireProjectMetaForTrain(await loadProjectMeta(deps, ctx), repo);
|
|
23272
23271
|
const deployModel = requireDeployModel(meta, repo);
|
|
23272
|
+
const ref = options.ref ?? (stage === "dev" || stage === "main" && meta.releaseTrack === "single" ? "development" : stage);
|
|
23273
23273
|
if (!isCentralDispatchModel(deployModel)) {
|
|
23274
23274
|
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)`);
|
|
23275
23275
|
}
|
|
@@ -57402,7 +57402,7 @@ tenant.command("status <owner/repo> <stage>").description("read tenant runtime r
|
|
|
57402
57402
|
console.log(JSON.stringify(result, null, 2));
|
|
57403
57403
|
if (result.publicProbe?.ok === false || result.edgeCertificate?.missing) process.exitCode = 1;
|
|
57404
57404
|
});
|
|
57405
|
-
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
|
|
57405
|
+
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) => {
|
|
57406
57406
|
if (stage !== "dev" && stage !== "rc" && stage !== "main") return fail("runtime tenant redeploy: <stage> must be dev, rc, or main");
|
|
57407
57407
|
try {
|
|
57408
57408
|
const raw = await runTenantRedeploy(trainApplyDeps(), { repo, stage, ref: o.ref, watch: o.watch });
|
package/cli/package.json
CHANGED