@mutmutco/cli 4.1.17 → 4.1.18
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 +29 -11
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -13181,10 +13181,10 @@ var rollout_plan_default = {
|
|
|
13181
13181
|
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)."
|
|
13182
13182
|
},
|
|
13183
13183
|
baseline: {
|
|
13184
|
-
version: "4.1.
|
|
13185
|
-
tag: "v4.1.
|
|
13186
|
-
commit: "
|
|
13187
|
-
npm: "@mutmutco/cli@4.1.
|
|
13184
|
+
version: "4.1.18",
|
|
13185
|
+
tag: "v4.1.18",
|
|
13186
|
+
commit: "6a8f41433f0f",
|
|
13187
|
+
npm: "@mutmutco/cli@4.1.18"
|
|
13188
13188
|
},
|
|
13189
13189
|
exitCriterion: "fleet-n-of-n",
|
|
13190
13190
|
hubOnlyShortcut: "forbidden",
|
|
@@ -13201,14 +13201,14 @@ var rollout_plan_default = {
|
|
|
13201
13201
|
repo: "mutmutco/mmi-hub",
|
|
13202
13202
|
role: "canary",
|
|
13203
13203
|
schedule: "train",
|
|
13204
|
-
v3Target: "v4.1.
|
|
13204
|
+
v3Target: "v4.1.18"
|
|
13205
13205
|
}
|
|
13206
13206
|
],
|
|
13207
13207
|
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.",
|
|
13208
13208
|
rollback: {
|
|
13209
13209
|
independent: true,
|
|
13210
|
-
mechanism: "npm dist-tag latest -> 4.1.
|
|
13211
|
-
v3Target: "v4.1.
|
|
13210
|
+
mechanism: "npm dist-tag latest -> 4.1.18 and redeploy the Hub Lambda from tag v4.1.18 (6a8f41433f0f); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
13211
|
+
v3Target: "v4.1.18 (@mutmutco/cli@4.1.18, tag commit 6a8f41433f0f \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
13212
13212
|
}
|
|
13213
13213
|
},
|
|
13214
13214
|
{
|
|
@@ -26939,9 +26939,9 @@ function buildGraphEdges(cwd, repo, commit, rosterRepos2) {
|
|
|
26939
26939
|
}
|
|
26940
26940
|
|
|
26941
26941
|
// src/repo-index-sync.ts
|
|
26942
|
-
function execFileUtf8(file, args, env) {
|
|
26942
|
+
function execFileUtf8(file, args, env, cwd) {
|
|
26943
26943
|
return new Promise((resolve6, reject) => {
|
|
26944
|
-
(0, import_node_child_process15.execFile)(file, args, { encoding: "utf8", windowsHide: true, ...env ? { env } : {} }, (error, stdout) => {
|
|
26944
|
+
(0, import_node_child_process15.execFile)(file, args, { encoding: "utf8", windowsHide: true, ...env ? { env } : {}, ...cwd ? { cwd } : {} }, (error, stdout) => {
|
|
26945
26945
|
if (error) reject(error);
|
|
26946
26946
|
else resolve6(String(stdout ?? ""));
|
|
26947
26947
|
});
|
|
@@ -27030,8 +27030,26 @@ async function remoteHead(repo, token) {
|
|
|
27030
27030
|
try {
|
|
27031
27031
|
stdout = await execFileUtf8(
|
|
27032
27032
|
"git",
|
|
27033
|
-
[
|
|
27034
|
-
|
|
27033
|
+
[
|
|
27034
|
+
"-c",
|
|
27035
|
+
"credential.helper=",
|
|
27036
|
+
// #5750: actions/checkout persists its token as a URL-scoped extraheader in the checked-out
|
|
27037
|
+
// repo's .git/config — repo-local config that env sanitization cannot reach. Run from a
|
|
27038
|
+
// neutral cwd so no repo config applies, and blank both extraheader scopes so the ONLY
|
|
27039
|
+
// credential is the app token below. Credential values are never copied or logged.
|
|
27040
|
+
"-c",
|
|
27041
|
+
"http.extraheader=",
|
|
27042
|
+
"-c",
|
|
27043
|
+
"http.https://github.com/.extraheader=",
|
|
27044
|
+
"-c",
|
|
27045
|
+
`http.extraHeader=Authorization: Basic ${basic}`,
|
|
27046
|
+
"ls-remote",
|
|
27047
|
+
"--exit-code",
|
|
27048
|
+
`https://github.com/${repo}.git`,
|
|
27049
|
+
"HEAD"
|
|
27050
|
+
],
|
|
27051
|
+
headProbeEnv(),
|
|
27052
|
+
(0, import_node_os14.tmpdir)()
|
|
27035
27053
|
);
|
|
27036
27054
|
} catch (error) {
|
|
27037
27055
|
throw toHeadProbeError(error, repo);
|
package/package.json
CHANGED