@mutmutco/cli 3.122.0 → 3.123.0
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 +17 -9
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -15851,10 +15851,10 @@ var rollout_plan_default = {
|
|
|
15851
15851
|
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)."
|
|
15852
15852
|
},
|
|
15853
15853
|
baseline: {
|
|
15854
|
-
version: "3.
|
|
15855
|
-
tag: "v3.
|
|
15856
|
-
commit: "
|
|
15857
|
-
npm: "@mutmutco/cli@3.
|
|
15854
|
+
version: "3.123.0",
|
|
15855
|
+
tag: "v3.123.0",
|
|
15856
|
+
commit: "825593f55f12",
|
|
15857
|
+
npm: "@mutmutco/cli@3.123.0"
|
|
15858
15858
|
},
|
|
15859
15859
|
exitCriterion: "fleet-n-of-n",
|
|
15860
15860
|
hubOnlyShortcut: "forbidden",
|
|
@@ -15871,14 +15871,14 @@ var rollout_plan_default = {
|
|
|
15871
15871
|
repo: "mutmutco/mmi-hub",
|
|
15872
15872
|
role: "canary",
|
|
15873
15873
|
schedule: "train",
|
|
15874
|
-
v3Target: "v3.
|
|
15874
|
+
v3Target: "v3.123.0"
|
|
15875
15875
|
}
|
|
15876
15876
|
],
|
|
15877
15877
|
rollbackTrigger: "Any red inside the post-cut soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a v3 client refused while the compat window must still admit it (SUPPORTED_MINOR_WINDOW=2, MIN_CLIENT_VERSION 0.0.0 \u2014 D6a), or npm consumer install/doctor failure on the v4 dist.",
|
|
15878
15878
|
rollback: {
|
|
15879
15879
|
independent: true,
|
|
15880
|
-
mechanism: "npm dist-tag latest -> 3.
|
|
15881
|
-
v3Target: "v3.
|
|
15880
|
+
mechanism: "npm dist-tag latest -> 3.123.0 and redeploy the Hub Lambda from tag v3.123.0 (825593f55f12); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
15881
|
+
v3Target: "v3.123.0 (@mutmutco/cli@3.123.0, tag commit 825593f55f12 \u2014 the preserved latest-v3 distribution, D6b)"
|
|
15882
15882
|
}
|
|
15883
15883
|
},
|
|
15884
15884
|
{
|
|
@@ -27639,6 +27639,8 @@ function evaluateCloudStatus(status, golden) {
|
|
|
27639
27639
|
}
|
|
27640
27640
|
async function runRepoIndexHealth(opts) {
|
|
27641
27641
|
const findings = [];
|
|
27642
|
+
const searchAttempts = Math.max(1, opts.searchRetry?.attempts ?? 3);
|
|
27643
|
+
const sleep3 = opts.searchRetry?.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
27642
27644
|
if (opts.live) {
|
|
27643
27645
|
if (!opts.queriesOnly) {
|
|
27644
27646
|
const st = await opts.live.status();
|
|
@@ -27649,13 +27651,19 @@ async function runRepoIndexHealth(opts) {
|
|
|
27649
27651
|
}
|
|
27650
27652
|
}
|
|
27651
27653
|
for (const q of opts.golden.queries) {
|
|
27652
|
-
|
|
27654
|
+
let res = await opts.live.search(q.q, q.mode);
|
|
27655
|
+
let attempts = 1;
|
|
27656
|
+
while (!res.ok && attempts < searchAttempts) {
|
|
27657
|
+
await sleep3(500 * attempts);
|
|
27658
|
+
res = await opts.live.search(q.q, q.mode);
|
|
27659
|
+
attempts += 1;
|
|
27660
|
+
}
|
|
27653
27661
|
if (!res.ok) {
|
|
27654
27662
|
const semantic503 = q.mode === "semantic" && (res.status === 503 || /semantic unavailable|503/i.test(res.error));
|
|
27655
27663
|
findings.push({
|
|
27656
27664
|
ok: false,
|
|
27657
27665
|
code: semantic503 ? "semantic-503" : "search-error",
|
|
27658
|
-
detail: `${q.id}: ${res.error}`
|
|
27666
|
+
detail: `${q.id}: ${res.error}${attempts > 1 ? ` (no answer after ${attempts} attempts)` : ""}`
|
|
27659
27667
|
});
|
|
27660
27668
|
continue;
|
|
27661
27669
|
}
|
package/package.json
CHANGED