@codyswann/lisa 4.42.6 → 4.43.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/README.md +4 -0
- package/all/copy-overwrite/scripts/check-orphaned-branches.mjs +7 -0
- package/all/copy-overwrite/scripts/lib/process-tree-runner.mjs +12 -2
- package/all/copy-overwrite/scripts/lisa-cross-worktree-guard.mjs +4 -0
- package/all/copy-overwrite/scripts/lisa-environment-prepare.mjs +2 -0
- package/all/copy-overwrite/scripts/lisa-hooks/worktree-binding-guard.mjs +31 -3
- package/all/copy-overwrite/scripts/lisa-run-gates.mjs +4 -0
- package/all/copy-overwrite/scripts/lisa-work-item.mjs +13 -0
- package/dist/cli/doctor-readiness-delivery.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-delivery.js +13 -6
- package/dist/cli/doctor-readiness-delivery.js.map +1 -1
- package/dist/cli/doctor-readiness-deploy-outcome.d.ts +9 -0
- package/dist/cli/doctor-readiness-deploy-outcome.d.ts.map +1 -0
- package/dist/cli/doctor-readiness-deploy-outcome.js +87 -0
- package/dist/cli/doctor-readiness-deploy-outcome.js.map +1 -0
- package/dist/cli/doctor-readiness-workflows.d.ts +8 -0
- package/dist/cli/doctor-readiness-workflows.d.ts.map +1 -1
- package/dist/cli/doctor-readiness-workflows.js +1 -0
- package/dist/cli/doctor-readiness-workflows.js.map +1 -1
- package/dist/configs/vitest/base.d.ts +1 -1
- package/dist/configs/vitest/base.d.ts.map +1 -1
- package/dist/configs/vitest/base.js +1 -0
- package/dist/configs/vitest/base.js.map +1 -1
- package/dist/configs/vitest/cdk.d.ts +2 -2
- package/dist/configs/vitest/cdk.d.ts.map +1 -1
- package/dist/configs/vitest/cdk.js +5 -2
- package/dist/configs/vitest/cdk.js.map +1 -1
- package/dist/configs/vitest/coverage-reports-directory.d.ts +47 -0
- package/dist/configs/vitest/coverage-reports-directory.d.ts.map +1 -0
- package/dist/configs/vitest/coverage-reports-directory.js +131 -0
- package/dist/configs/vitest/coverage-reports-directory.js.map +1 -0
- package/dist/configs/vitest/harper-fabric.d.ts +2 -2
- package/dist/configs/vitest/harper-fabric.d.ts.map +1 -1
- package/dist/configs/vitest/harper-fabric.js +5 -2
- package/dist/configs/vitest/harper-fabric.js.map +1 -1
- package/dist/configs/vitest/nestjs.d.ts +2 -2
- package/dist/configs/vitest/nestjs.d.ts.map +1 -1
- package/dist/configs/vitest/nestjs.js +5 -2
- package/dist/configs/vitest/nestjs.js.map +1 -1
- package/dist/configs/vitest/phaser.d.ts +2 -2
- package/dist/configs/vitest/phaser.d.ts.map +1 -1
- package/dist/configs/vitest/phaser.js +5 -2
- package/dist/configs/vitest/phaser.js.map +1 -1
- package/dist/configs/vitest/typescript.d.ts +2 -2
- package/dist/configs/vitest/typescript.d.ts.map +1 -1
- package/dist/configs/vitest/typescript.js +5 -2
- package/dist/configs/vitest/typescript.js.map +1 -1
- package/dist/core/deploy-release-dependence.d.ts +72 -0
- package/dist/core/deploy-release-dependence.d.ts.map +1 -0
- package/dist/core/deploy-release-dependence.js +236 -0
- package/dist/core/deploy-release-dependence.js.map +1 -0
- package/dist/core/github-actions-condition.d.ts +78 -0
- package/dist/core/github-actions-condition.d.ts.map +1 -0
- package/dist/core/github-actions-condition.js +307 -0
- package/dist/core/github-actions-condition.js.map +1 -0
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +24 -0
- package/dist/core/lisa-owned-hash-ledger.js.map +1 -1
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +45 -24
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/dist/migrations/deploy-outcome-guard-edit.d.ts +11 -0
- package/dist/migrations/deploy-outcome-guard-edit.d.ts.map +1 -0
- package/dist/migrations/deploy-outcome-guard-edit.js +184 -0
- package/dist/migrations/deploy-outcome-guard-edit.js.map +1 -0
- package/dist/migrations/deploy-outcome-guard-yaml.d.ts +91 -0
- package/dist/migrations/deploy-outcome-guard-yaml.d.ts.map +1 -0
- package/dist/migrations/deploy-outcome-guard-yaml.js +180 -0
- package/dist/migrations/deploy-outcome-guard-yaml.js.map +1 -0
- package/dist/migrations/ensure-deploy-outcome-guard.d.ts +41 -0
- package/dist/migrations/ensure-deploy-outcome-guard.d.ts.map +1 -0
- package/dist/migrations/ensure-deploy-outcome-guard.js +238 -0
- package/dist/migrations/ensure-deploy-outcome-guard.js.map +1 -0
- package/dist/migrations/index.d.ts +1 -0
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +3 -0
- package/dist/migrations/index.js.map +1 -1
- package/expo/copy-overwrite/scripts/bdd/baseline.mjs +26 -7
- package/package.json +5 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-drive-pr-to-merge/SKILL.md +11 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/bootstrap-store.mjs +3 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +3 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-secrets-access/scripts/providers.mjs +4 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-setup-workstation/scripts/workstation.mjs +3 -0
- package/plugins/lisa/hooks/threshold-ratchet.mjs +6 -0
- package/plugins/lisa/hooks/worktree-binding-guard.mjs +31 -3
- package/plugins/lisa/scripts/design-variable-ids.mjs +2 -0
- package/plugins/lisa/skills/lisa-drive-pr-to-merge/SKILL.md +11 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/bootstrap-store.mjs +3 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +3 -0
- package/plugins/lisa/skills/lisa-secrets-access/scripts/providers.mjs +4 -0
- package/plugins/lisa/skills/lisa-setup-workstation/scripts/workstation.mjs +3 -0
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/scripts/design-variable-ids.mjs +2 -0
- package/plugins/lisa-agy/skills/lisa-drive-pr-to-merge/SKILL.md +11 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/bootstrap-store.mjs +3 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +3 -0
- package/plugins/lisa-agy/skills/lisa-secrets-access/scripts/providers.mjs +4 -0
- package/plugins/lisa-agy/skills/lisa-setup-workstation/scripts/workstation.mjs +3 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/hooks/threshold-ratchet.mjs +6 -0
- package/plugins/lisa-copilot/hooks/worktree-binding-guard.mjs +31 -3
- package/plugins/lisa-copilot/scripts/design-variable-ids.mjs +2 -0
- package/plugins/lisa-copilot/skills/lisa-drive-pr-to-merge/SKILL.md +11 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/bootstrap-store.mjs +3 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +3 -0
- package/plugins/lisa-copilot/skills/lisa-secrets-access/scripts/providers.mjs +4 -0
- package/plugins/lisa-copilot/skills/lisa-setup-workstation/scripts/workstation.mjs +3 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/hooks/threshold-ratchet.mjs +6 -0
- package/plugins/lisa-cursor/hooks/worktree-binding-guard.mjs +31 -3
- package/plugins/lisa-cursor/scripts/design-variable-ids.mjs +2 -0
- package/plugins/lisa-cursor/skills/lisa-drive-pr-to-merge/SKILL.md +11 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/bootstrap-store.mjs +3 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +3 -0
- package/plugins/lisa-cursor/skills/lisa-secrets-access/scripts/providers.mjs +4 -0
- package/plugins/lisa-cursor/skills/lisa-setup-workstation/scripts/workstation.mjs +3 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/scripts/ingest-git.mjs +2 -0
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/scripts/ingest-git.mjs +2 -0
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/scripts/ingest-git.mjs +2 -0
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/scripts/ingest-git.mjs +2 -0
- package/plugins/src/base/hooks/threshold-ratchet.mjs +6 -0
- package/plugins/src/base/hooks/worktree-binding-guard.mjs +31 -3
- package/plugins/src/base/scripts/design-variable-ids.mjs +2 -0
- package/plugins/src/base/skills/lisa-drive-pr-to-merge/SKILL.md +11 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/bootstrap-store.mjs +3 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/preflight-secrets.mjs +3 -0
- package/plugins/src/base/skills/lisa-secrets-access/scripts/providers.mjs +4 -0
- package/plugins/src/base/skills/lisa-setup-workstation/scripts/workstation.mjs +3 -0
- package/plugins/src/wiki/scripts/ingest-git.mjs +2 -0
- package/rails/copy-overwrite/scripts/check-threshold-ratchet.mjs +6 -0
- package/scripts/check-merge-driver-registration.mjs +2 -0
- package/scripts/check-probe-absence-direction.mjs +611 -0
- package/scripts/check-test-case-executed.mjs +184 -0
- package/scripts/install-generated-artifact-merge-driver.mjs +7 -1
- package/scripts/lib/shell-guard-refusal-coverage.mjs +18 -19
- package/typescript/copy-overwrite/scripts/check-threshold-ratchet.mjs +6 -0
- package/typescript/copy-overwrite/scripts/lisa-mutation.mjs +4 -0
package/README.md
CHANGED
|
@@ -283,6 +283,10 @@ You do not have to configure any of this. A run discovers how many sibling runs
|
|
|
283
283
|
|
|
284
284
|
A smaller pool is not automatically safer, which is why the floor is a proportion rather than a small constant and why the divisor stops at two workers. Below that a suite serialises, every file waits behind every other file, and per-test time budgets start expiring even as machine load falls — trading a visible failure for a subtler one.
|
|
285
285
|
|
|
286
|
+
Worker count is not the only thing several runs contend over. Coverage runs write their working files to disk while they measure, and a shared location means the second run to start wipes the first one's files out from under it — so the first run finishes having measured nothing, after paying the full cost of the attempt. Lisa gives every run its own directory under `coverage/`, named after the run, so no run can reach another's files and none of them has to negotiate for the space. Your finished coverage reports land in that per-run directory rather than directly in `coverage/`.
|
|
287
|
+
|
|
288
|
+
- **`LISA_COVERAGE_REPORTS_DIR`** — put the reports at a fixed path instead. For somewhere only one run happens at a time and something downstream expects to find the report in a known place, such as a CI job that uploads `coverage/lcov.info`.
|
|
289
|
+
|
|
286
290
|
> **Prompt for your coding agent**
|
|
287
291
|
> "Show me how this project's test worker pool is sized — find the resolver, tell me what each of the three layers would give on this machine right now, and how many sibling runs it currently detects."
|
|
288
292
|
|
|
@@ -161,6 +161,10 @@ function run(command, args) {
|
|
|
161
161
|
encoding: "utf8",
|
|
162
162
|
maxBuffer: 8 * 1024 * 1024,
|
|
163
163
|
});
|
|
164
|
+
// probe-direction: fail-closed — every caller of this helper refuses on
|
|
165
|
+
// undefined (`EXIT.UNAVAILABLE`, "This is NOT a clean result") instead of
|
|
166
|
+
// reporting a clean tree, so losing the answer costs a refusal, never a
|
|
167
|
+
// missed orphan.
|
|
164
168
|
if (result.error || result.status !== 0) return undefined;
|
|
165
169
|
return result.stdout.trim();
|
|
166
170
|
}
|
|
@@ -211,6 +215,9 @@ export function branchesWithPullRequests() {
|
|
|
211
215
|
: []
|
|
212
216
|
);
|
|
213
217
|
} catch {
|
|
218
|
+
// probe-direction: fail-closed — unparseable output is not an empty pull-
|
|
219
|
+
// request set. `main` turns undefined into EXIT.UNAVAILABLE, so a branch is
|
|
220
|
+
// never called orphaned because the listing could not be read.
|
|
214
221
|
return undefined;
|
|
215
222
|
}
|
|
216
223
|
}
|
|
@@ -155,8 +155,18 @@ export function windowsTreeExists(pid, probe = process.kill) {
|
|
|
155
155
|
try {
|
|
156
156
|
probe(pid, 0);
|
|
157
157
|
return true;
|
|
158
|
-
} catch {
|
|
159
|
-
|
|
158
|
+
} catch (error) {
|
|
159
|
+
// probe-direction: fail-closed — only an ESRCH-shaped error proves the
|
|
160
|
+
// process is gone. A blanket `return false` reported EPERM, and every other
|
|
161
|
+
// failure to ask, as "the tree exited": `killWindowsTree` then returns
|
|
162
|
+
// without killing anything and `waitForTreeExit` stops waiting, so a live
|
|
163
|
+
// tree is left behind and recorded as reaped. That is the exact rule
|
|
164
|
+
// `killTree` states two functions below — "Only ESRCH proves absence.
|
|
165
|
+
// EPERM and every other error leave cleanup authority uncertain and must
|
|
166
|
+
// fail the supervisor closed" — which the POSIX sibling followed and this
|
|
167
|
+
// one did not.
|
|
168
|
+
if (isAbsentProcessError(error)) return false;
|
|
169
|
+
throw error;
|
|
160
170
|
}
|
|
161
171
|
}
|
|
162
172
|
|
|
@@ -107,6 +107,10 @@ function probe(args, cwd) {
|
|
|
107
107
|
stdio: ["ignore", "pipe", "ignore"],
|
|
108
108
|
}).trim();
|
|
109
109
|
} catch {
|
|
110
|
+
// probe-direction: fail-closed — every consumer reads null as "not proven
|
|
111
|
+
// safe": `isIntegrationContent` and `declaresItselfGenerated` return false,
|
|
112
|
+
// and `integrationRef` yields null, each of which makes the guard FIRE.
|
|
113
|
+
// A git that cannot answer costs a false report, never a silent pass.
|
|
110
114
|
return null;
|
|
111
115
|
}
|
|
112
116
|
}
|
|
@@ -219,6 +219,8 @@ function spawnExec(argv) {
|
|
|
219
219
|
// Not dead code: a non-timeout `spawnSync` failure — `ENOENT` for a runner
|
|
220
220
|
// that is not installed — still arrives on the result rather than as a
|
|
221
221
|
// throw, and it means the verb did not run, which is the same verdict.
|
|
222
|
+
// probe-direction: fail-closed — null means the verb did not run, and the
|
|
223
|
+
// caller renders that as a refusal rather than as a passing verb.
|
|
222
224
|
if (child.error) return null;
|
|
223
225
|
return child.status;
|
|
224
226
|
} catch (error) {
|
|
@@ -99,14 +99,35 @@ function git(args, cwd) {
|
|
|
99
99
|
stdio: ["ignore", "pipe", "ignore"],
|
|
100
100
|
}).trim();
|
|
101
101
|
} catch {
|
|
102
|
+
// probe-direction: neutral — this helper REPORTS, it does not decide. Both
|
|
103
|
+
// callers below read null and each one says out loud what it could not do
|
|
104
|
+
// before returning, so no gate outcome follows from this null silently
|
|
105
|
+
// (#3848). Keep that true: a caller added here that spends null as an
|
|
106
|
+
// answer has to say so at its own line.
|
|
102
107
|
return null;
|
|
103
108
|
}
|
|
104
109
|
}
|
|
105
110
|
|
|
106
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* The worktree root containing `cwd`, or null when `cwd` is not in a repo.
|
|
113
|
+
*
|
|
114
|
+
* `--show-toplevel` exits non-zero for two OPPOSITE reasons and hands back the
|
|
115
|
+
* same nothing for both: `cwd` is outside any repository — a real absence, and
|
|
116
|
+
* a call there is genuinely none of this guard's business — or git could not
|
|
117
|
+
* answer at all, where the binding is unproven rather than inapplicable. Only
|
|
118
|
+
* the second is a withdrawal of enforcement, and it is the one that must not
|
|
119
|
+
* pass for the first. `git --version` succeeds wherever git can run, so its
|
|
120
|
+
* failure is what separates them.
|
|
121
|
+
* @param {string} cwd Directory the tool call runs in.
|
|
122
|
+
* @returns {string|null} Absolute worktree root, or null.
|
|
123
|
+
*/
|
|
107
124
|
function worktreeRoot(cwd) {
|
|
108
125
|
const top = git(["rev-parse", "--show-toplevel"], cwd);
|
|
109
|
-
|
|
126
|
+
if (top) return resolve(top);
|
|
127
|
+
if (git(["--version"], cwd) === null) {
|
|
128
|
+
say("git could not be run here, so the worktree binding is NOT enforced");
|
|
129
|
+
}
|
|
130
|
+
return null;
|
|
110
131
|
}
|
|
111
132
|
|
|
112
133
|
/**
|
|
@@ -120,7 +141,14 @@ function mainCheckout(cwd) {
|
|
|
120
141
|
["rev-parse", "--path-format=absolute", "--git-common-dir"],
|
|
121
142
|
cwd
|
|
122
143
|
);
|
|
123
|
-
|
|
144
|
+
if (common) return dirname(resolve(common));
|
|
145
|
+
// Reached only for an `EnterWorktree` naming a worktree, which means a
|
|
146
|
+
// repository was already in hand — so failing here is "could not ask", and
|
|
147
|
+
// the consequence is that the claim goes unrecorded and the NEXT call's
|
|
148
|
+
// displacement check has nothing to compare against. Said out loud rather
|
|
149
|
+
// than returned as a quiet null (#3848).
|
|
150
|
+
say("git could not resolve the main checkout, so this claim is NOT recorded");
|
|
151
|
+
return null;
|
|
124
152
|
}
|
|
125
153
|
|
|
126
154
|
function stateFile(sessionId) {
|
|
@@ -1287,9 +1287,13 @@ function gitRev(spec) {
|
|
|
1287
1287
|
encoding: "utf8",
|
|
1288
1288
|
stdio: ["ignore", "pipe", "ignore"],
|
|
1289
1289
|
});
|
|
1290
|
+
// probe-direction: neutral — the value is a subject field in the run record.
|
|
1291
|
+
// No gate reads it; an unresolved revision is printed as unknown.
|
|
1290
1292
|
if (child.error || child.status !== 0) return null;
|
|
1291
1293
|
return String(child.stdout ?? "").trim() || null;
|
|
1292
1294
|
} catch {
|
|
1295
|
+
// probe-direction: neutral — same field, same reason: a killed `git` is
|
|
1296
|
+
// recorded as an unknown revision and gates no verdict.
|
|
1293
1297
|
// A killed `git` is not an answer about the tree, and this module's own
|
|
1294
1298
|
// doctrine is that an unknown answer is recorded as unknown.
|
|
1295
1299
|
return null;
|
|
@@ -1110,10 +1110,15 @@ function configAt(ref) {
|
|
|
1110
1110
|
const result = run("git", ["show", `${ref}:.lisa.config.json`], {
|
|
1111
1111
|
allowFailure: true,
|
|
1112
1112
|
});
|
|
1113
|
+
// probe-direction: fail-closed — an empty config grants no deploy-chain
|
|
1114
|
+
// exemption, so a config that cannot be read at the base makes the gate
|
|
1115
|
+
// stricter, never looser.
|
|
1113
1116
|
if (result.status !== 0) return {};
|
|
1114
1117
|
try {
|
|
1115
1118
|
return JSON.parse(result.stdout);
|
|
1116
1119
|
} catch {
|
|
1120
|
+
// probe-direction: fail-closed — same as above: unparseable config, no
|
|
1121
|
+
// exemption granted.
|
|
1117
1122
|
return {};
|
|
1118
1123
|
}
|
|
1119
1124
|
}
|
|
@@ -2426,6 +2431,8 @@ function remoteDefaultRef(remote) {
|
|
|
2426
2431
|
["symbolic-ref", "--quiet", `refs/remotes/${remote}/HEAD`],
|
|
2427
2432
|
{ allowFailure: true }
|
|
2428
2433
|
);
|
|
2434
|
+
// probe-direction: fail-closed — no ref means no range exclusion, so the
|
|
2435
|
+
// commit range examined grows rather than shrinks (#1956).
|
|
2429
2436
|
if (symref.status !== 0) return undefined;
|
|
2430
2437
|
const target = symref.stdout.trim();
|
|
2431
2438
|
if (!target.startsWith(`refs/remotes/${remote}/`)) return undefined;
|
|
@@ -3152,6 +3159,12 @@ function currentRepository() {
|
|
|
3152
3159
|
const result = run("gh", ["repo", "view", "--json", "nameWithOwner"], {
|
|
3153
3160
|
allowFailure: true,
|
|
3154
3161
|
});
|
|
3162
|
+
// probe-direction: neutral — undefined omits `--repo`, which is the CORRECT
|
|
3163
|
+
// call shape: `gh` then resolves the repository from the current branch's
|
|
3164
|
+
// remote. Note the asymmetry that #3848 turns on — this call SUCCEEDING is
|
|
3165
|
+
// what supplied the `--repo` value that broke `currentPullRequest` before
|
|
3166
|
+
// #3833, so it was upstream of that defect rather than beside it. Neutral
|
|
3167
|
+
// is a fact about the code as it stands, not a property of the call site.
|
|
3155
3168
|
if (result.status !== 0) return undefined;
|
|
3156
3169
|
return safeJson(result.stdout, "GitHub repository").nameWithOwner;
|
|
3157
3170
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-readiness-delivery.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-readiness-delivery.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor-readiness-delivery.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-readiness-delivery.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EACL,KAAK,cAAc,EAEpB,MAAM,iCAAiC,CAAC;AAGzC,+EAA+E;AAC/E,eAAO,MAAM,+BAA+B,uBAAuB,CAAC;AAoWpE;;;;;;;;;GASG;AACH,wBAAsB,gCAAgC,CACpD,IAAI,EAAE,MAAM,EACZ,eAAe,CAAC,EAAE,SAAS,cAAc,EAAE,GAC1C,OAAO,CAAC,wBAAwB,CAAC,CAoBnC"}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
import { readFile } from "node:fs/promises";
|
|
28
28
|
import * as path from "node:path";
|
|
29
29
|
import { detectCredentialFindings, } from "./doctor-readiness-credentials.js";
|
|
30
|
+
import { deployOutcomeObservations } from "./doctor-readiness-deploy-outcome.js";
|
|
30
31
|
import { informationalFindings } from "./doctor-readiness-shared.js";
|
|
31
32
|
import { assessReleasePaths, PROMOTION_ACTION, } from "./doctor-readiness-release-path.js";
|
|
32
33
|
import { unpinnedPublishingActionViolations } from "./doctor-readiness-action-pins.js";
|
|
@@ -48,6 +49,7 @@ function summarizeReleasePaths(workflows, defaultBranches) {
|
|
|
48
49
|
const outcomes = workflows.flatMap(workflow => workflow.jobs.flatMap(job => assessReleasePaths(workflow, job, defaultBranches, workflows)));
|
|
49
50
|
const unpinnedActionViolations = workflows.flatMap(workflow => workflow.jobs.flatMap(job => unpinnedPublishingActionViolations(workflow, job, workflows)));
|
|
50
51
|
return {
|
|
52
|
+
deployOutcomeObservations: deployOutcomeObservations(workflows),
|
|
51
53
|
violations: [
|
|
52
54
|
...outcomes.flatMap(outcome => outcome.kind === "violation" ? [outcome.evidence] : []),
|
|
53
55
|
...unpinnedActionViolations,
|
|
@@ -199,16 +201,17 @@ function credentialFinding(violations) {
|
|
|
199
201
|
/**
|
|
200
202
|
* Build the SKIP record for a repository whose release paths could not be
|
|
201
203
|
* settled from the workflow files alone.
|
|
202
|
-
* @param
|
|
204
|
+
* @param summary - What the release paths established
|
|
203
205
|
* @param credentials - The credential half of the assessment
|
|
204
206
|
* @returns The SKIP dimension record
|
|
205
207
|
*/
|
|
206
|
-
function unresolvedRecord(
|
|
208
|
+
function unresolvedRecord(summary, credentials) {
|
|
207
209
|
return {
|
|
208
210
|
id: DELIVERY_AUTHORITY_DIMENSION_ID,
|
|
209
211
|
status: "SKIP",
|
|
210
212
|
findings: [
|
|
211
|
-
{ reason:
|
|
213
|
+
{ reason: summary.unresolved.join(" | "), skip: true },
|
|
214
|
+
...informationalFindings(summary.deployOutcomeObservations),
|
|
212
215
|
...informationalFindings(credentials.informational),
|
|
213
216
|
],
|
|
214
217
|
};
|
|
@@ -234,6 +237,7 @@ function cleanRecord(summary, workflows, credentials) {
|
|
|
234
237
|
"static cloud keys.",
|
|
235
238
|
checked: [RELEASE_BLOCKER_ID, CREDENTIAL_BLOCKER_ID],
|
|
236
239
|
},
|
|
240
|
+
...informationalFindings(summary.deployOutcomeObservations),
|
|
237
241
|
...informationalFindings(credentials.informational),
|
|
238
242
|
],
|
|
239
243
|
};
|
|
@@ -261,6 +265,7 @@ function violationRecord(summary, credentials) {
|
|
|
261
265
|
// settled offline: dropping those reasons is #1898's defect one layer in.
|
|
262
266
|
// They carry no `blocker` key, so they add nothing to the verdict.
|
|
263
267
|
...informationalFindings(summary.unresolved),
|
|
268
|
+
...informationalFindings(summary.deployOutcomeObservations),
|
|
264
269
|
...informationalFindings(credentials.informational),
|
|
265
270
|
],
|
|
266
271
|
};
|
|
@@ -286,10 +291,11 @@ function noWorkflowsRecord() {
|
|
|
286
291
|
/**
|
|
287
292
|
* Build the SKIP record for a repository whose workflows publish nothing.
|
|
288
293
|
* @param workflows - Parsed workflows
|
|
294
|
+
* @param summary - What the release paths established
|
|
289
295
|
* @param credentials - The credential half of the assessment
|
|
290
296
|
* @returns The SKIP dimension record
|
|
291
297
|
*/
|
|
292
|
-
function noReleasePathRecord(workflows, credentials) {
|
|
298
|
+
function noReleasePathRecord(workflows, summary, credentials) {
|
|
293
299
|
return {
|
|
294
300
|
id: DELIVERY_AUTHORITY_DIMENSION_ID,
|
|
295
301
|
status: "SKIP",
|
|
@@ -301,6 +307,7 @@ function noReleasePathRecord(workflows, credentials) {
|
|
|
301
307
|
"assessed and found nothing over-authorized.",
|
|
302
308
|
skip: true,
|
|
303
309
|
},
|
|
310
|
+
...informationalFindings(summary.deployOutcomeObservations),
|
|
304
311
|
...informationalFindings(credentials.informational),
|
|
305
312
|
],
|
|
306
313
|
};
|
|
@@ -326,10 +333,10 @@ export async function assessDeliveryAuthorityDimension(root, parsedWorkflows) {
|
|
|
326
333
|
return violationRecord(summary, credentials);
|
|
327
334
|
}
|
|
328
335
|
if (summary.unresolved.length > 0) {
|
|
329
|
-
return unresolvedRecord(summary
|
|
336
|
+
return unresolvedRecord(summary, credentials);
|
|
330
337
|
}
|
|
331
338
|
if (summary.publishStepCount === 0) {
|
|
332
|
-
return noReleasePathRecord(workflows, credentials);
|
|
339
|
+
return noReleasePathRecord(workflows, summary, credentials);
|
|
333
340
|
}
|
|
334
341
|
return cleanRecord(summary, workflows, credentials);
|
|
335
342
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-readiness-delivery.js","sourceRoot":"","sources":["../../src/cli/doctor-readiness-delivery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GAEjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AAEvF,OAAO,EAEL,wBAAwB,GACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,+BAA+B,GAAG,oBAAoB,CAAC;AAEpE,gFAAgF;AAChF,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAEhC,+EAA+E;AAC/E,MAAM,qBAAqB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"doctor-readiness-delivery.js","sourceRoot":"","sources":["../../src/cli/doctor-readiness-delivery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EACL,kBAAkB,EAClB,gBAAgB,GAEjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AAEvF,OAAO,EAEL,wBAAwB,GACzB,MAAM,i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AI;aACX;YACD,GAAG,qBAAqB,CAAC,OAAO,CAAC,yBAAyB,CAAC;YAC3D,GAAG,qBAAqB,CAAC,WAAW,CAAC,aAAa,CAAC;SACpD;KACF,CAAC;AACJ,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,gCAAgC,CACpD,IAAY,EACZ,eAA2C;IAE3C,MAAM,SAAS,GAAG,eAAe,IAAI,CAAC,MAAM,wBAAwB,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5E,IAAI,SAAS,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,iBAAiB,EAAE,CAAC;IAC7B,CAAC;IACD,MAAM,OAAO,GAAG,qBAAqB,CACnC,SAAS,EACT,MAAM,yBAAyB,CAAC,IAAI,CAAC,CACtC,CAAC;IACF,MAAM,WAAW,GAAG,wBAAwB,CAAC,SAAS,CAAC,CAAC;IACxD,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,IAAI,WAAW,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvE,OAAO,eAAe,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,OAAO,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAClC,OAAO,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAChD,CAAC;IACD,IAAI,OAAO,CAAC,gBAAgB,KAAK,CAAC,EAAE,CAAC;QACnC,OAAO,mBAAmB,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;IAC9D,CAAC;IACD,OAAO,WAAW,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ParsedWorkflow } from "./doctor-readiness-workflows.js";
|
|
2
|
+
/**
|
|
3
|
+
* Find every deploy job across the repository that goes silent on a failed
|
|
4
|
+
* release.
|
|
5
|
+
* @param workflows - Parsed workflows
|
|
6
|
+
* @returns One observation per affected job, in workflow order
|
|
7
|
+
*/
|
|
8
|
+
export declare function deployOutcomeObservations(workflows: readonly ParsedWorkflow[]): readonly string[];
|
|
9
|
+
//# sourceMappingURL=doctor-readiness-deploy-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-readiness-deploy-outcome.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-readiness-deploy-outcome.ts"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAmCtE;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,SAAS,cAAc,EAAE,GACnC,SAAS,MAAM,EAAE,CAYnB"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Report a deploy job that goes SILENT when its release fails
|
|
3
|
+
* (CodySwannGT/lisa#3740).
|
|
4
|
+
*
|
|
5
|
+
* ## What this reports and what actually repairs it
|
|
6
|
+
*
|
|
7
|
+
* #3467 fixed the shape in Lisa's deploy templates, and #3738 shipped that fix.
|
|
8
|
+
* Those templates are `create-only` — Lisa seeds the file once and never
|
|
9
|
+
* overwrites it — so the fix reaches new adoptions and nothing else. The
|
|
10
|
+
* `ensure-deploy-outcome-guard` migration is what repairs an already-seeded
|
|
11
|
+
* `deploy.yml`; this finding is its reporting complement, covering the files
|
|
12
|
+
* that migration deliberately declines: a workflow whose condition it cannot
|
|
13
|
+
* rewrite without guessing, and a postinstall-mode run, where rewriting a
|
|
14
|
+
* reviewed, checked-in declaration is not something a dependency install gets
|
|
15
|
+
* to do.
|
|
16
|
+
*
|
|
17
|
+
* A finding here therefore means one of two things, and the operator does not
|
|
18
|
+
* need to know which: either the migration has not run yet, or it looked and
|
|
19
|
+
* decided this file was not one it could safely edit.
|
|
20
|
+
*
|
|
21
|
+
* ## Why this is NOT a ship blocker, decided rather than defaulted
|
|
22
|
+
*
|
|
23
|
+
* `doctor-readiness-blockers.ts` maps findings to a deliberately closed set of
|
|
24
|
+
* seven blockers, and #3740 required whoever implemented it to say, explicitly,
|
|
25
|
+
* which of three things this is. It reports as a **non-blocking readiness
|
|
26
|
+
* observation**, carrying no `blocker` key, for a reason that is about the
|
|
27
|
+
* property rather than about convenience:
|
|
28
|
+
*
|
|
29
|
+
* None of the seven describes it. B2 is "a release path bypasses the validated
|
|
30
|
+
* artifact" — nothing ships here at all, so nothing bypasses validation. B4 is
|
|
31
|
+
* "a consequential operation has no gate and no recovery", and the deploy has
|
|
32
|
+
* both; what it lacks is a *report*. The defect is the observability of a
|
|
33
|
+
* non-event, which the v1 rubric simply does not have a blocker for.
|
|
34
|
+
*
|
|
35
|
+
* Opening the closed set is a rule edit to `readiness-rubric` (intake decision
|
|
36
|
+
* O4) and is not something a reporting change gets to do as a side effect —
|
|
37
|
+
* which is exactly why #3740 called it out rather than letting it be smuggled
|
|
38
|
+
* in. Reporting it non-blocking is honest about the evidence: it is real,
|
|
39
|
+
* it is actionable, and it does not on its own make "an unattended fleet may
|
|
40
|
+
* run here" false, because the migration repairs the ordinary case.
|
|
41
|
+
* @module cli/doctor-readiness-deploy-outcome
|
|
42
|
+
*/
|
|
43
|
+
import { deployJobsSkippedByFailedRelease } from "../core/deploy-release-dependence.js";
|
|
44
|
+
/**
|
|
45
|
+
* The remediation, written for whoever is standing at the gate.
|
|
46
|
+
*
|
|
47
|
+
* Deliberately free of GitHub Actions vocabulary beyond the two words that name
|
|
48
|
+
* the thing to edit. #3740 makes this an acceptance criterion, and the reason is
|
|
49
|
+
* the factory's own: everything that crosses a gate outward is read by an
|
|
50
|
+
* operator who is not an engineer, and a remediation they cannot act on is a
|
|
51
|
+
* finding that stays open.
|
|
52
|
+
*/
|
|
53
|
+
const REMEDIATION = "Right now, if the release step fails, this deploy is quietly stepped over " +
|
|
54
|
+
"and the run still looks green — so nobody is told that the new version " +
|
|
55
|
+
"never went out. Make the deploy run anyway and stop with a clear error " +
|
|
56
|
+
"instead: in the deploy job add `if: ${{ !cancelled() }}` to its conditions, " +
|
|
57
|
+
"and make its first step check whether the release succeeded and fail with a " +
|
|
58
|
+
"message when it did not. Lisa's own deploy templates show the exact wording, " +
|
|
59
|
+
"and `lisa` normally makes this edit for you on your next update.";
|
|
60
|
+
/**
|
|
61
|
+
* Describe one skipping deploy job as an evidence line.
|
|
62
|
+
* @param workflow - Repo-relative workflow path
|
|
63
|
+
* @param job - The deploy job's id
|
|
64
|
+
* @param release - The release job whose failure skips it
|
|
65
|
+
* @returns A single operator-readable observation
|
|
66
|
+
*/
|
|
67
|
+
function observation(workflow, job, release) {
|
|
68
|
+
return (`${workflow} job \`${job}\` is skipped rather than failed when \`${release}\` ` +
|
|
69
|
+
"does not succeed. A skipped job shows as neutral and counts as a satisfied " +
|
|
70
|
+
`required check, so a deploy that never happened reports nothing. ${REMEDIATION}`);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Find every deploy job across the repository that goes silent on a failed
|
|
74
|
+
* release.
|
|
75
|
+
* @param workflows - Parsed workflows
|
|
76
|
+
* @returns One observation per affected job, in workflow order
|
|
77
|
+
*/
|
|
78
|
+
export function deployOutcomeObservations(workflows) {
|
|
79
|
+
return workflows.flatMap(workflow => deployJobsSkippedByFailedRelease(workflow.jobs.map(job => ({
|
|
80
|
+
id: job.id,
|
|
81
|
+
name: job.name,
|
|
82
|
+
needs: job.needs,
|
|
83
|
+
ifCondition: job.ifCondition,
|
|
84
|
+
environment: job.environment,
|
|
85
|
+
}))).map(found => observation(workflow.file, found.job.id, found.release)));
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=doctor-readiness-deploy-outcome.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor-readiness-deploy-outcome.js","sourceRoot":"","sources":["../../src/cli/doctor-readiness-deploy-outcome.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EAAE,gCAAgC,EAAE,MAAM,sCAAsC,CAAC;AAGxF;;;;;;;;GAQG;AACH,MAAM,WAAW,GACf,4EAA4E;IAC5E,yEAAyE;IACzE,yEAAyE;IACzE,8EAA8E;IAC9E,8EAA8E;IAC9E,+EAA+E;IAC/E,kEAAkE,CAAC;AAErE;;;;;;GAMG;AACH,SAAS,WAAW,CAAC,QAAgB,EAAE,GAAW,EAAE,OAAe;IACjE,OAAO,CACL,GAAG,QAAQ,UAAU,GAAG,2CAA2C,OAAO,KAAK;QAC/E,6EAA6E;QAC7E,oEAAoE,WAAW,EAAE,CAClF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,yBAAyB,CACvC,SAAoC;IAEpC,OAAO,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAClC,gCAAgC,CAC9B,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACxB,EAAE,EAAE,GAAG,CAAC,EAAE;QACV,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,WAAW,EAAE,GAAG,CAAC,WAAW;QAC5B,WAAW,EAAE,GAAG,CAAC,WAAW;KAC7B,CAAC,CAAC,CACJ,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CACxE,CAAC;AACJ,CAAC"}
|
|
@@ -39,6 +39,14 @@ export interface ParsedWorkflowStep {
|
|
|
39
39
|
/** One job inside a parsed workflow. */
|
|
40
40
|
export interface ParsedWorkflowJob {
|
|
41
41
|
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* The job's display `name:`, or `""` when it declares none.
|
|
44
|
+
*
|
|
45
|
+
* Load-bearing for #3740: a host is free to give a deploy job any id it
|
|
46
|
+
* likes, and the display name is often where the word "Deploy" actually
|
|
47
|
+
* appears. Classifying on the id alone silently misses those jobs.
|
|
48
|
+
*/
|
|
49
|
+
readonly name: string;
|
|
42
50
|
/** Repo-relative path of the workflow file declaring this job. */
|
|
43
51
|
readonly workflow: string;
|
|
44
52
|
readonly needs: readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-readiness-workflows.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-readiness-workflows.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,0EAA0E;IAC1E,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,4EAA4E;IAC5E,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IACzC,yEAAyE;IACzE,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,6CAA6C;AAC7C,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,sEAAsE;IACtE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,wEAAwE;IACxE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAED,wCAAwC;AACxC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,E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AAC,GAAG,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC;AAED,iDAAiD;AACjD,MAAM,WAAW,cAAc;IAC7B,uDAAuD;IACvD,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC;IACpC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,EAAE,qBAAqB,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,SAAS,iBAAiB,EAAE,CAAC;CAC7C;AAqND;;;;GAIG;AACH,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,SAAS,cAAc,EAAE,CAAC,CAQpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-readiness-workflows.js","sourceRoot":"","sources":["../../src/cli/doctor-readiness-workflows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,0EAA0E;AAC1E,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"doctor-readiness-workflows.js","sourceRoot":"","sources":["../../src/cli/doctor-readiness-workflows.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAk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,CAAC;YAC5B,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,MAAM,GAAG,QAAmC,CAAC;QACnD,OAAO;YACL,IAAI;YACJ,IAAI,EAAE,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ;YAC9D,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC;YACxC,EAAE,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;YAC3B,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC;SAC9B,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,2EAA2E;QAC3E,iEAAiE;QACjE,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,IAAY;IAEZ,MAAM,SAAS,GAAG,MAAM,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAChD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAC9B,SAAS,CAAC,GAAG,CAAC,KAAK,EAAC,QAAQ,EAAC,EAAE,CAAC,MAAM,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CACxE,CAAC;IACF,OAAO,MAAM,CAAC,MAAM,CAClB,CAAC,QAAQ,EAA8B,EAAE,CAAC,QAAQ,KAAK,IAAI,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -295,5 +295,5 @@ export declare const mergeThresholds: (defaults: PortableThresholds, overrides:
|
|
|
295
295
|
* @returns Single merged UserConfig
|
|
296
296
|
*/
|
|
297
297
|
export declare const mergeVitestConfigs: (...configs: UserConfig[]) => UserConfig;
|
|
298
|
-
export {};
|
|
298
|
+
export { COVERAGE_REPORTS_DIR_ENV, COVERAGE_RUNS_DIR, coverageReportsDirectory, coverageRunDirectory, resetCoverageReportsDirectory, } from "./coverage-reports-directory.js";
|
|
299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ASG;AACH,wBAAgB,iBAAiB,IAAI,SAAS,MAAM,EAAE,CAKrD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI,SAAS,MAAM,EAAE,CAEtD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,IAAI,SAAS,MAAM,EAAE,CAEvD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,GACxB,YAAY,kBAAkB,KAC7B,gBAaD,CAAC;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,GAC1B,UAAU,kBAAkB,EAC5B,WAAW,kBAAkB,KAC5B,kBAiBF,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAAI,GAAG,SAAS,UAAU,EAAE,KAAG,UA4C7D,CAAC;AAEF,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC"}
|
|
@@ -449,4 +449,5 @@ export const mergeVitestConfigs = (...configs) => {
|
|
|
449
449
|
};
|
|
450
450
|
}, {});
|
|
451
451
|
};
|
|
452
|
+
export { COVERAGE_REPORTS_DIR_ENV, COVERAGE_RUNS_DIR, coverageReportsDirectory, coverageRunDirectory, resetCoverageReportsDirectory, } from "./coverage-reports-directory.js";
|
|
452
453
|
//# sourceMappingURL=base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/configs/vitest/base.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,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,GAAG,CAAC,CAAC,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;YACpC,CAAC,CAAC,OAAO,MAAM,KAAK,QAAQ;gBACxB,MAAM,KAAK,IAAI;gBACf,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;gBACtB,OAAO,IAAI,KAAK,QAAQ;gBACxB,IAAI,KAAK,IAAI;gBACb,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBACtB,CAAC,CAAC;oBACE,GAAI,MAAkC;oBACtC,GAAI,IAAgC;iBACrC;gBACH,CAAC,CAAC,IAAI,CAAC;QAEb,OAAO,EAAE,GAAG,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,CAAC,EACD,EAAE,GAAG,CAAC,EAAE,CACT,CAAC;IAEJ,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACpC,MAAM,OAAO,GAAG,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAA4B,CAAC;QAElE,OAAO;YACL,GAAG,GAAG;YACN,GAAG,MAAM;YACT,IAAI,EAAE,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC;SACxC,CAAC;IACJ,CAAC,EAAE,EAAgB,CAAC,CAAC;AACvB,CAAC,CAAC;AAEF,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,6BAA6B,GAC9B,MAAM,iCAAiC,CAAC"}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
import type { ViteUserConfig } from "vitest/config";
|
|
14
14
|
/** Vite UserConfig augmented with Vitest's `test` property */
|
|
15
15
|
type UserConfig = ViteUserConfig;
|
|
16
|
-
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
16
|
+
import { coverageGlobalSetup, coverageReportsDirectory, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles } from "./base.js";
|
|
17
17
|
import type { PortableThresholds } from "./base.js";
|
|
18
18
|
/** Prefix used by AWS CDK's default CloudAssemblyBuilder output directory. */
|
|
19
19
|
export declare const CDK_SCRATCH_PREFIX = "cdk.out";
|
|
20
20
|
/** Opaque owner label recorded before a CDK suite is collected. */
|
|
21
21
|
export declare const CDK_SCRATCH_SUITE = "cdk";
|
|
22
|
-
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
22
|
+
export { coverageGlobalSetup, coverageReportsDirectory, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
23
23
|
export type { PortableThresholds };
|
|
24
24
|
/**
|
|
25
25
|
* Options for configuring the CDK Vitest config factory.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.d.ts","sourceRoot":"","sources":["../../../src/configs/vitest/cdk.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,8DAA8D;AAC9D,KAAK,UAAU,GAAG,cAAc,CAAC;AAEjC,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,WAAW,CAAC;AAEnB,OAAO,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,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC;;GAEG;AACH,UAAU,gBAAgB;IACxB,mFAAmF;IACnF,QAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB,CAAC;CAC1C;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,GAAI,kBAEhC,gBAAqB,KAAG,UA+BzB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
1
|
+
import { coverageGlobalSetup, coverageReportsDirectory, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, } from "./base.js";
|
|
2
2
|
/** Prefix used by AWS CDK's default CloudAssemblyBuilder output directory. */
|
|
3
3
|
export const CDK_SCRATCH_PREFIX = "cdk.out";
|
|
4
4
|
/** Opaque owner label recorded before a CDK suite is collected. */
|
|
5
5
|
export const CDK_SCRATCH_SUITE = "cdk";
|
|
6
6
|
// Re-export base utilities for entry-point configs
|
|
7
|
-
export { coverageGlobalSetup, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
7
|
+
export { coverageGlobalSetup, coverageReportsDirectory, defaultCoverageExclusions, defaultTestExclusions, defaultThresholds, mapThresholds, mergeThresholds, mergeVitestConfigs, resolveMaxWorkers, scratchGlobalSetup, scratchSetupFiles, };
|
|
8
8
|
/**
|
|
9
9
|
* Creates a Vitest configuration for AWS CDK projects.
|
|
10
10
|
*
|
|
@@ -35,6 +35,9 @@ export const getCdkVitestConfig = ({ thresholds, } = {}) => ({
|
|
|
35
35
|
testTimeout: 10000,
|
|
36
36
|
coverage: {
|
|
37
37
|
provider: "v8",
|
|
38
|
+
// Per-run, so a sibling run in this checkout cannot delete this
|
|
39
|
+
// run's live scratch. See configs/vitest/coverage-reports-directory.
|
|
40
|
+
reportsDirectory: coverageReportsDirectory(),
|
|
38
41
|
include: ["lib/**/*.ts", "util/**/*.ts"],
|
|
39
42
|
exclude: [...defaultCoverageExclusions],
|
|
40
43
|
thresholds: mapThresholds(thresholds
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cdk.js","sourceRoot":"","sources":["../../../src/configs/vitest/cdk.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAInB,8EAA8E;AAC9E,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,CAAC;AAE5C,mEAAmE;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEvC,mDAAmD;AACnD,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAYF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,MACU,EAAE,EAAc,EAAE,CAAC,CAAC;IACxC,IAAI,EAAE;QACJ,UAAU,EAAE,CAAC,GAAG,iBAAiB,EAAE,CAAC;QACpC,WAAW,EAAE,CAAC,GAAG,kBAAkB,EAAE,EAAE,GAAG,mBAAmB,EAAE,CAAC;QAChE,QAAQ,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE;QAChD,8EAA8E;QAC9E,UAAU,EAAE,iBAAiB,EAAE;QAC/B,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,MAAM;QACnB,OAAO,EAAE;YACP,mBAAmB;YACnB,mBAAmB;YACnB,+BAA+B;YAC/B,+BAA+B;SAChC;QACD,OAAO,EAAE,CAAC,GAAG,qBAAqB,CAAC;QACnC,WAAW,EAAE,KAAK;QAClB,QAAQ,EAAE;YACR,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,aAAa,EAAE,cAAc,CAAC;YACxC,OAAO,EAAE,CAAC,GAAG,yBAAyB,CAAC;YACvC,UAAU,EAAE,aAAa,CACvB,UAAU;gBACR,CAAC,CAAC,eAAe,CAAC,iBAAiB,EAAE,UAAU,CAAC;gBAChD,CAAC,CAAC,iBAAiB,CACtB;SACF;KACF;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"cdk.js","sourceRoot":"","sources":["../../../src/configs/vitest/cdk.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,WAAW,CAAC;AAInB,8EAA8E;AAC9E,MAAM,CAAC,MAAM,kBAAkB,GAAG,SAAS,CAAC;AAE5C,mEAAmE;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC;AAEvC,mDAAmD;AACnD,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,GAClB,CAAC;AAYF;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EACjC,UAAU,MACU,EAAE,EAAc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