@codyswann/lisa 4.101.10 → 4.101.11
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/all/copy-overwrite/scripts/check-third-party-review-evidence.mjs +124 -28
- package/dist/cli/doctor-third-party-evidence-seed.d.ts +9 -2
- package/dist/cli/doctor-third-party-evidence-seed.d.ts.map +1 -1
- package/dist/cli/doctor-third-party-evidence-seed.js +64 -4
- package/dist/cli/doctor-third-party-evidence-seed.js.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.d.ts.map +1 -1
- package/dist/core/lisa-owned-hash-ledger.js +2 -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/third-party-evidence-seed.d.ts +9 -1
- package/dist/core/third-party-evidence-seed.d.ts.map +1 -1
- package/dist/core/third-party-evidence-seed.js +41 -9
- package/dist/core/third-party-evidence-seed.js.map +1 -1
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +5 -2
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- 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-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- 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-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-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-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-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-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-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-openclaw-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-devin/.devin-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-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-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-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-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-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-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-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/typescript/create-only/.github/workflows/third-party-review-evidence.yml +34 -12
|
@@ -165,20 +165,33 @@
|
|
|
165
165
|
* runs from the default branch, so the job's own check run lands on the
|
|
166
166
|
* default branch's latest commit — never on the pull request head it judged.
|
|
167
167
|
* `--publish` reads the verdict a `--json` run saved, and the exit code it
|
|
168
|
-
* ended with, and creates
|
|
168
|
+
* ended with, and creates a check run on that head: `success` for
|
|
169
169
|
* `satisfied` and `substituted`, `failure` for `unsatisfied` and for
|
|
170
170
|
* `pull-requests-unreadable`. A run with no head to show it on, or that cannot
|
|
171
171
|
* change the answer, publishes nothing and says why. A missing or unparseable
|
|
172
172
|
* verdict, an exit code other than the verdict's own, or a refused write fails
|
|
173
173
|
* the mode, so broken machinery still shows on the job.
|
|
174
174
|
*
|
|
175
|
+
* ## The verdict is published under every declared reviewer's name (#4738)
|
|
176
|
+
*
|
|
177
|
+
* The check run is named `🕵️ Third-party review evidence (<context>)`. The
|
|
178
|
+
* verdict covers every declared reviewer, so one is created for `--context`
|
|
179
|
+
* AND for each reviewer the checkout's config or the saved readings declare,
|
|
180
|
+
* each name once. Otherwise a red `(A)` stays red after B's later review makes
|
|
181
|
+
* the head acceptable, because B's run would update only `(B)`. An empty
|
|
182
|
+
* `--context` — a manual run that names no reviewer — adds the bare name; a
|
|
183
|
+
* manual run that names one overwrites that reviewer's stale check run, which
|
|
184
|
+
* is how a red check is cleared after a writer's substitute, since a comment
|
|
185
|
+
* wakes no run. Each refused write is reported and fails the mode; the other
|
|
186
|
+
* names are still written.
|
|
187
|
+
*
|
|
175
188
|
* CLI:
|
|
176
189
|
* node scripts/check-third-party-review-evidence.mjs --sha <sha> [--json]
|
|
177
190
|
* [--context <context>] [--root <dir>] [--repo <owner/repo>]
|
|
178
191
|
* [--arm [--vacuity-report <path>]]
|
|
179
192
|
* node scripts/check-third-party-review-evidence.mjs --sha <sha>
|
|
180
193
|
* --publish <saved-verdict.json> --prover-exit <code>
|
|
181
|
-
* [--context <context>] [--repo <owner/repo>]
|
|
194
|
+
* [--context <context>] [--root <dir>] [--repo <owner/repo>]
|
|
182
195
|
*
|
|
183
196
|
* `--arm` answers the merge driver's arm gate instead (#4653): whether
|
|
184
197
|
* auto-merge may be turned on for this head, and if not, what to do next.
|
|
@@ -2170,6 +2183,60 @@ function writeArmDecision(verdict, { opts, io, out, repo, pulls, canWrite }) {
|
|
|
2170
2183
|
/** The check run a verdict is published as, before a waking reviewer's name. */
|
|
2171
2184
|
export const PUBLISHED_CHECK_NAME = "🕵️ Third-party review evidence";
|
|
2172
2185
|
|
|
2186
|
+
/**
|
|
2187
|
+
* The check run name a verdict is published under for one reviewer context.
|
|
2188
|
+
* @param {string} context - A reviewer context; empty for the bare name.
|
|
2189
|
+
* @returns {string} The check run name.
|
|
2190
|
+
*/
|
|
2191
|
+
const publishedCheckName = context =>
|
|
2192
|
+
context ? `${PUBLISHED_CHECK_NAME} (${context})` : PUBLISHED_CHECK_NAME;
|
|
2193
|
+
|
|
2194
|
+
/**
|
|
2195
|
+
* Every reviewer context one publishing run publishes its verdict under
|
|
2196
|
+
* (#4738), the supplied one first and each once.
|
|
2197
|
+
*
|
|
2198
|
+
* The verdict covers every declared reviewer, so it is published under each
|
|
2199
|
+
* one's name: otherwise a red `(A)` stays red after B's later review makes the
|
|
2200
|
+
* head acceptable, because B's run updated only `(B)`. The declared reviewers
|
|
2201
|
+
* are the config's, joined by every context the saved readings name, so a
|
|
2202
|
+
* verdict saved with no readings — an unreadable pull-request list — still
|
|
2203
|
+
* reaches them. The supplied context is kept even when nothing declares it,
|
|
2204
|
+
* and an empty one (the manual path) is the bare name.
|
|
2205
|
+
* @param {object} options - The run.
|
|
2206
|
+
* @param {string} options.context - The context that woke the run; empty on the manual path.
|
|
2207
|
+
* @param {object} options.gates - The `gates` block of `.lisa.config.json`.
|
|
2208
|
+
* @param {ReadonlyArray<{context?: unknown}>} options.readings - The saved verdict's readings.
|
|
2209
|
+
* @returns {string[]} The contexts, deduplicated; "" stands for the bare name.
|
|
2210
|
+
*/
|
|
2211
|
+
function publishedContexts({ context, gates, readings }) {
|
|
2212
|
+
const declared = [
|
|
2213
|
+
...configuredReviewers({ gates }).map(reviewer => reviewer.context),
|
|
2214
|
+
...readings
|
|
2215
|
+
.map(reading => reading?.context)
|
|
2216
|
+
.filter(named => typeof named === "string" && named !== ""),
|
|
2217
|
+
];
|
|
2218
|
+
return [...new Set([context, ...declared])];
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* The `gates` block the publish step's checkout declares.
|
|
2223
|
+
*
|
|
2224
|
+
* It is only consulted to widen which names a verdict is published under, so
|
|
2225
|
+
* a config that cannot be read narrows the publication to the supplied name
|
|
2226
|
+
* and the saved readings' — today's behaviour — rather than failing a run
|
|
2227
|
+
* that already reached a verdict.
|
|
2228
|
+
* @param {string} root - The checkout's root.
|
|
2229
|
+
* @returns {object} The gates block, or none.
|
|
2230
|
+
*/
|
|
2231
|
+
function publishingGates(root) {
|
|
2232
|
+
// probe-direction: neutral — no gate reads this; it only chooses which names an already-reached verdict is shown under.
|
|
2233
|
+
try {
|
|
2234
|
+
return readGates(root).gates;
|
|
2235
|
+
} catch {
|
|
2236
|
+
return {};
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2173
2240
|
/**
|
|
2174
2241
|
* The conclusion each published outcome carries on the head it judged.
|
|
2175
2242
|
*
|
|
@@ -2263,7 +2330,7 @@ function savedVerdict(text, sha) {
|
|
|
2263
2330
|
* @param {string} options.proverExit - The exit code the prover ended with.
|
|
2264
2331
|
* @param {string} options.sha - The head the verdict judged.
|
|
2265
2332
|
* @param {string} options.context - The reviewer that woke the run; empty on the manual path.
|
|
2266
|
-
* @returns {{error: string}|{report: string, why: string}|{report: string, body: object}} The publication
|
|
2333
|
+
* @returns {{error: string}|{report: string, why: string}|{report: string, body: object, readings: ReadonlyArray<ReportedReading>}} The publication: `body` is named for `context`.
|
|
2267
2334
|
*/
|
|
2268
2335
|
export function verdictPublication({ text, proverExit, sha, context }) {
|
|
2269
2336
|
if (proverExit !== "0" && proverExit !== "1") {
|
|
@@ -2298,10 +2365,9 @@ export function verdictPublication({ text, proverExit, sha, context }) {
|
|
|
2298
2365
|
}
|
|
2299
2366
|
return {
|
|
2300
2367
|
report,
|
|
2368
|
+
readings: verdict.readings,
|
|
2301
2369
|
body: {
|
|
2302
|
-
name: context
|
|
2303
|
-
? `${PUBLISHED_CHECK_NAME} (${context})`
|
|
2304
|
-
: PUBLISHED_CHECK_NAME,
|
|
2370
|
+
name: publishedCheckName(context),
|
|
2305
2371
|
head_sha: sha,
|
|
2306
2372
|
status: "completed",
|
|
2307
2373
|
conclusion,
|
|
@@ -2335,11 +2401,14 @@ function refusalOf(error) {
|
|
|
2335
2401
|
/**
|
|
2336
2402
|
* Publish a saved verdict on the head it judged, and return the exit code.
|
|
2337
2403
|
*
|
|
2338
|
-
*
|
|
2339
|
-
*
|
|
2340
|
-
*
|
|
2404
|
+
* The verdict is published under every name `publishedContexts` returns
|
|
2405
|
+
* (#4738). 0 once every check run is created, or when nothing is to be
|
|
2406
|
+
* published; 1 when the verdict could not be read or trusted, or GitHub
|
|
2407
|
+
* refused any one write — each refusal is reported, and the other names are
|
|
2408
|
+
* still attempted. The report goes to stdout and to the step summary either way.
|
|
2341
2409
|
* @param {ReturnType<typeof parseArgs> & {sha: string}} opts - Parsed options.
|
|
2342
2410
|
* @param {object} io - Injected side effects.
|
|
2411
|
+
* @param {object} [io.gates] - The gates block naming the declared reviewers, read from `--root` when absent.
|
|
2343
2412
|
* @param {(path: string) => string} [io.readFile] - Reader for the saved verdict.
|
|
2344
2413
|
* @param {(args: string[], input: string) => string} [io.gh] - Writer: `gh` with a request body on stdin.
|
|
2345
2414
|
* @param {(text: string) => void} [io.appendSummary] - Appends to the job's step summary.
|
|
@@ -2381,7 +2450,31 @@ function publishVerdict(opts, io, out, err) {
|
|
|
2381
2450
|
summarise(`Nothing published: ${plan.why}.\n`);
|
|
2382
2451
|
return 0;
|
|
2383
2452
|
}
|
|
2384
|
-
const
|
|
2453
|
+
const contexts = publishedContexts({
|
|
2454
|
+
context: opts.context ?? "",
|
|
2455
|
+
gates: io.gates ?? publishingGates(opts.root),
|
|
2456
|
+
readings: plan.readings,
|
|
2457
|
+
});
|
|
2458
|
+
const write = checkRunWriter(opts, io, { out, err, summarise });
|
|
2459
|
+
// Every name is attempted, so one refusal leaves no other name stale; any
|
|
2460
|
+
// refusal still fails the job.
|
|
2461
|
+
const published = contexts.map(context =>
|
|
2462
|
+
write({ ...plan.body, name: publishedCheckName(context) })
|
|
2463
|
+
);
|
|
2464
|
+
return published.every(Boolean) ? 0 : 1;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* A writer that creates one check run on the judged head and reports it.
|
|
2469
|
+
* @param {ReturnType<typeof parseArgs> & {sha: string}} opts - Parsed options.
|
|
2470
|
+
* @param {{gh?: (args: string[], input: string) => string}} io - Injected side effects.
|
|
2471
|
+
* @param {object} sinks - Where the outcome is reported.
|
|
2472
|
+
* @param {{write: (text: string) => void}} sinks.out - Stdout.
|
|
2473
|
+
* @param {{write: (text: string) => void}} sinks.err - Stderr.
|
|
2474
|
+
* @param {(text: string) => void} sinks.summarise - Step-summary writer.
|
|
2475
|
+
* @returns {(body: {name: string, conclusion: string}) => boolean} Creates one check run; true once GitHub accepted it.
|
|
2476
|
+
*/
|
|
2477
|
+
function checkRunWriter(opts, io, { out, err, summarise }) {
|
|
2385
2478
|
const repo = opts.repo ?? process.env.GITHUB_REPOSITORY ?? "";
|
|
2386
2479
|
const gh =
|
|
2387
2480
|
io.gh ??
|
|
@@ -2391,31 +2484,34 @@ function publishVerdict(opts, io, out, err) {
|
|
|
2391
2484
|
input,
|
|
2392
2485
|
stdio: ["pipe", "pipe", "pipe"],
|
|
2393
2486
|
}));
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2487
|
+
return body => {
|
|
2488
|
+
const { name, conclusion } = body;
|
|
2489
|
+
// probe-direction: fail-closed — a write that was refused, or killed at its deadline, published nothing, so the job fails.
|
|
2490
|
+
try {
|
|
2491
|
+
if (!/^[^/\s]+\/[^/\s]+$/u.test(repo)) {
|
|
2492
|
+
throw new Error(`repository must be owner/repo, not "${repo}"`);
|
|
2493
|
+
}
|
|
2494
|
+
gh(
|
|
2495
|
+
["api", `repos/${repo}/check-runs`, "--method", "POST", "--input", "-"],
|
|
2496
|
+
JSON.stringify(body)
|
|
2497
|
+
);
|
|
2498
|
+
} catch (error) {
|
|
2499
|
+
err.write(
|
|
2500
|
+
`::error title=Review evidence verdict not published::The check run "${name}" was not published on ${opts.sha}: ${refusalOf(error)}. The verdict is not on the pull request head, so this job fails.\n`
|
|
2501
|
+
);
|
|
2502
|
+
return false;
|
|
2398
2503
|
}
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
} catch (error) {
|
|
2404
|
-
err.write(
|
|
2405
|
-
`::error title=Review evidence verdict not published::The check run "${name}" was not published on ${opts.sha}: ${refusalOf(error)}. The verdict is not on the pull request head, so this job fails.\n`
|
|
2406
|
-
);
|
|
2407
|
-
return 1;
|
|
2408
|
-
}
|
|
2409
|
-
out.write(`Published "${name}" on ${opts.sha}: ${conclusion}.\n`);
|
|
2410
|
-
summarise(`Published \`${name}\` on \`${opts.sha}\`: **${conclusion}**.\n`);
|
|
2411
|
-
return 0;
|
|
2504
|
+
out.write(`Published "${name}" on ${opts.sha}: ${conclusion}.\n`);
|
|
2505
|
+
summarise(`Published \`${name}\` on \`${opts.sha}\`: **${conclusion}**.\n`);
|
|
2506
|
+
return true;
|
|
2507
|
+
};
|
|
2412
2508
|
}
|
|
2413
2509
|
|
|
2414
2510
|
/**
|
|
2415
2511
|
* The CLI body.
|
|
2416
2512
|
* @param {string[]} argv - Arguments after the script path.
|
|
2417
2513
|
* @param {object} [io] - Injected side effects, for tests.
|
|
2418
|
-
* @param {object} [io.gates] - The gates block, read from disk when absent.
|
|
2514
|
+
* @param {object} [io.gates] - The gates block, read from disk when absent; `--publish` reads it for the declared reviewers' names.
|
|
2419
2515
|
* @param {(sha: string) => number[]|null} [io.pulls] - Head-pull-request reader; null when the read failed.
|
|
2420
2516
|
* @param {(sha: string) => ReadonlyArray<object>|null} [io.statuses] - Status reader.
|
|
2421
2517
|
* @param {(sha: string, context: string) => ReadonlyArray<RawCheckRun>|null} [io.checkRuns] -
|
|
@@ -3,6 +3,11 @@ import type { DoctorCheck } from "./doctor.js";
|
|
|
3
3
|
import { EVIDENCE_STEPS_LINES } from "./doctor-third-party-evidence-steps.js";
|
|
4
4
|
/** Name of the check as doctor reports it. */
|
|
5
5
|
export declare const THIRD_PARTY_EVIDENCE_SEED_CHECK_NAME = "Third-party review evidence wakes on check runs?";
|
|
6
|
+
/**
|
|
7
|
+
* The `workflow_dispatch` input that lets a manual run name the reviewer whose
|
|
8
|
+
* stale check run it brings up to date, beside the existing `sha:` input.
|
|
9
|
+
*/
|
|
10
|
+
export declare const DISPATCH_CONTEXT_INPUT_LINES: readonly [" context:", " description: 'Optional. One reviewer context (its status or check-run name, matched exactly against a declared reviewer; anything else publishes nothing) whose check run to bring up to date. Empty republishes every declared reviewer and the bare name'", " required: false", " type: string"];
|
|
6
11
|
/** The trigger lines to add under `on:`. */
|
|
7
12
|
export declare const CHECK_RUN_TRIGGER_LINES: readonly [" check_run:", " types: [completed]"];
|
|
8
13
|
/**
|
|
@@ -14,9 +19,11 @@ export declare const CHECKS_WRITE_LINE = " checks: write";
|
|
|
14
19
|
export declare const PERMISSIONS_BLOCK_LINES: readonly ["permissions:", " contents: read", " statuses: read", " checks: write", " pull-requests: read"];
|
|
15
20
|
export { EVIDENCE_STEPS_LINES };
|
|
16
21
|
/** The values that carry the run's commit and reviewer to the prover. */
|
|
17
|
-
export declare const RUN_IDENTITY_LINES: readonly [" env:", " EVIDENCE_SHA: ${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}", " EVIDENCE_CONTEXT: ${{ github.event.check_run.name || github.event.context }}"];
|
|
22
|
+
export declare const RUN_IDENTITY_LINES: readonly [" env:", " EVIDENCE_SHA: ${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}", " EVIDENCE_CONTEXT: ${{ github.event.check_run.name || github.event.context || inputs.context }}"];
|
|
18
23
|
/** The concurrency key that keeps one run from cancelling another's verdict. */
|
|
19
|
-
export declare const CONCURRENCY_GROUP_LINE = " group: third-party-review-evidence-${{ github.event_name }}-${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}-${{ github.event.check_run.name || github.event.context }}";
|
|
24
|
+
export declare const CONCURRENCY_GROUP_LINE = " group: third-party-review-evidence-${{ github.event_name }}-${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}-${{ github.event.check_run.name || github.event.context || inputs.context }}";
|
|
25
|
+
/** The whole top-level `concurrency:` block, as the seed ships it. */
|
|
26
|
+
export declare const CONCURRENCY_BLOCK_LINES: readonly ["concurrency:", " group: third-party-review-evidence-${{ github.event_name }}-${{ github.event.check_run.head_sha || github.event.sha || inputs.sha }}-${{ github.event.check_run.name || github.event.context || inputs.context }}", " cancel-in-progress: true"];
|
|
20
27
|
/**
|
|
21
28
|
* The operator-facing finding and its exact remedy.
|
|
22
29
|
* @param reading - What the copy does
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-third-party-evidence-seed.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-third-party-evidence-seed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"doctor-third-party-evidence-seed.d.ts","sourceRoot":"","sources":["../../src/cli/doctor-third-party-evidence-seed.ts"],"names":[],"mappings":"AA0CA,OAAO,EAOL,KAAK,mBAAmB,EACzB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,8CAA8C;AAC9C,eAAO,MAAM,oCAAoC,qDACG,CAAC;AAwBrD;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uVAK/B,CAAC;AAEX,4CAA4C;AAC5C,eAAO,MAAM,uBAAuB,qDAG1B,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,iBAAiB,oBAAoB,CAAC;AAEnD,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,+GAM1B,CAAC;AAEX,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,+NAIrB,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,sBAAsB,wNAA2G,CAAC;AAE/I,sEAAsE;AACtE,eAAO,MAAM,uBAAuB,gRAI1B,CAAC;AA8LX;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAOtE;AAED;;;;;;;;;GASG;AACH,wBAAsB,2BAA2B,CAC/C,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,WAAW,CAAC,CAiCtB"}
|
|
@@ -25,6 +25,13 @@
|
|
|
25
25
|
* reported with the two steps that save the verdict and publish it on the
|
|
26
26
|
* head, and the `checks: write` grant that lets them.
|
|
27
27
|
*
|
|
28
|
+
* The copy-overwrite prover republishes a verdict under every declared
|
|
29
|
+
* reviewer's name, so even a copy seeded before CodySwannGT/lisa#4738 clears a
|
|
30
|
+
* stale reviewer check with a `sha`-only manual run. What such a copy lacks is
|
|
31
|
+
* the `context` input: its manual run cannot target one reviewer's check and
|
|
32
|
+
* always adds a bare-name check. It is reported with the input to add and the
|
|
33
|
+
* `EVIDENCE_CONTEXT` and concurrency lines that read it.
|
|
34
|
+
*
|
|
28
35
|
* Every filesystem answer is three-valued — present, absent, or
|
|
29
36
|
* undeterminable — and the last one fails rather than passing quietly: a
|
|
30
37
|
* workflow this check could not read is not a workflow with nothing missing.
|
|
@@ -32,7 +39,7 @@
|
|
|
32
39
|
*/
|
|
33
40
|
import { readFile, stat } from "node:fs/promises";
|
|
34
41
|
import * as path from "node:path";
|
|
35
|
-
import { CHECK_RUN_HEAD, CHECK_RUN_NAME, isCurrentEvidenceSeed, readEvidenceSeed, THIRD_PARTY_EVIDENCE_WORKFLOW, } from "../core/third-party-evidence-seed.js";
|
|
42
|
+
import { CHECK_RUN_HEAD, CHECK_RUN_NAME, DISPATCH_CONTEXT, isCurrentEvidenceSeed, readEvidenceSeed, THIRD_PARTY_EVIDENCE_WORKFLOW, } from "../core/third-party-evidence-seed.js";
|
|
36
43
|
import { EVIDENCE_STEPS_LINES } from "./doctor-third-party-evidence-steps.js";
|
|
37
44
|
/** Name of the check as doctor reports it. */
|
|
38
45
|
export const THIRD_PARTY_EVIDENCE_SEED_CHECK_NAME = "Third-party review evidence wakes on check runs?";
|
|
@@ -51,8 +58,18 @@ const SHIPPED_SEED = "typescript/create-only/.github/workflows/third-party-revie
|
|
|
51
58
|
const ABSENT_CODES = new Set(["ENOENT", "ENOTDIR"]);
|
|
52
59
|
/** The commit to judge, from whichever event woke the run. */
|
|
53
60
|
const SHA_EXPRESSION = `\${{ ${CHECK_RUN_HEAD} || github.event.sha || inputs.sha }}`;
|
|
54
|
-
/** The reviewer to judge, from whichever event woke the run. */
|
|
55
|
-
const CONTEXT_EXPRESSION = `\${{ ${CHECK_RUN_NAME} || github.event.context }}`;
|
|
61
|
+
/** The reviewer to judge, from whichever event woke the run or a manual run's input. */
|
|
62
|
+
const CONTEXT_EXPRESSION = `\${{ ${CHECK_RUN_NAME} || github.event.context || ${DISPATCH_CONTEXT} }}`;
|
|
63
|
+
/**
|
|
64
|
+
* The `workflow_dispatch` input that lets a manual run name the reviewer whose
|
|
65
|
+
* stale check run it brings up to date, beside the existing `sha:` input.
|
|
66
|
+
*/
|
|
67
|
+
export const DISPATCH_CONTEXT_INPUT_LINES = [
|
|
68
|
+
" context:",
|
|
69
|
+
" description: 'Optional. One reviewer context (its status or check-run name, matched exactly against a declared reviewer; anything else publishes nothing) whose check run to bring up to date. Empty republishes every declared reviewer and the bare name'",
|
|
70
|
+
" required: false",
|
|
71
|
+
" type: string",
|
|
72
|
+
];
|
|
56
73
|
/** The trigger lines to add under `on:`. */
|
|
57
74
|
export const CHECK_RUN_TRIGGER_LINES = [
|
|
58
75
|
" check_run:",
|
|
@@ -80,6 +97,12 @@ export const RUN_IDENTITY_LINES = [
|
|
|
80
97
|
];
|
|
81
98
|
/** The concurrency key that keeps one run from cancelling another's verdict. */
|
|
82
99
|
export const CONCURRENCY_GROUP_LINE = ` group: third-party-review-evidence-\${{ github.event_name }}-${SHA_EXPRESSION}-${CONTEXT_EXPRESSION}`;
|
|
100
|
+
/** The whole top-level `concurrency:` block, as the seed ships it. */
|
|
101
|
+
export const CONCURRENCY_BLOCK_LINES = [
|
|
102
|
+
"concurrency:",
|
|
103
|
+
CONCURRENCY_GROUP_LINE,
|
|
104
|
+
" cancel-in-progress: true",
|
|
105
|
+
];
|
|
83
106
|
/**
|
|
84
107
|
* Read the workflow, REJECTING when the filesystem declines to say.
|
|
85
108
|
* @param projectRoot - Absolute project root
|
|
@@ -137,6 +160,42 @@ function gapsOf(reading) {
|
|
|
137
160
|
: [
|
|
138
161
|
"it never publishes its verdict on the pull request head it judged, so the verdict lands only on the default branch's latest commit, where no pull request shows it",
|
|
139
162
|
]),
|
|
163
|
+
...(reading.acceptsDispatchContext
|
|
164
|
+
? []
|
|
165
|
+
: [
|
|
166
|
+
"its manual run takes no `context` input, so a manual run cannot target one reviewer's check run: it republishes every declared reviewer's check and always adds a bare-name check beside them",
|
|
167
|
+
]),
|
|
168
|
+
];
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* The exact lines that let a manual run name its reviewer.
|
|
172
|
+
*
|
|
173
|
+
* The `EVIDENCE_CONTEXT` and concurrency lines are printed here only when no
|
|
174
|
+
* other remedy already prints them, so each line appears once.
|
|
175
|
+
* @param reading - What the copy does
|
|
176
|
+
* @returns The remedy, or nothing when a manual run can name its reviewer
|
|
177
|
+
*/
|
|
178
|
+
function dispatchContextRemedyOf(reading) {
|
|
179
|
+
if (reading.acceptsDispatchContext)
|
|
180
|
+
return [];
|
|
181
|
+
const identityPrinted = !(reading.readsRunIdentity && reading.publishesVerdict);
|
|
182
|
+
return [
|
|
183
|
+
"Add under `workflow_dispatch:` `inputs:`, beside `sha:`:",
|
|
184
|
+
...DISPATCH_CONTEXT_INPUT_LINES,
|
|
185
|
+
...(identityPrinted
|
|
186
|
+
? []
|
|
187
|
+
: [
|
|
188
|
+
"Set `EVIDENCE_CONTEXT` in the evidence job's `env:` to:",
|
|
189
|
+
RUN_IDENTITY_LINES[2],
|
|
190
|
+
]),
|
|
191
|
+
// A copy with no `concurrency:` block also reads as keyed per run, so the
|
|
192
|
+
// whole block is printed: a bare `group:` line has nowhere to go there.
|
|
193
|
+
...(reading.keysConcurrencyPerRun
|
|
194
|
+
? [
|
|
195
|
+
"Make the top-level `concurrency:` block read (add it if the file has none):",
|
|
196
|
+
...CONCURRENCY_BLOCK_LINES,
|
|
197
|
+
]
|
|
198
|
+
: []),
|
|
140
199
|
];
|
|
141
200
|
}
|
|
142
201
|
/**
|
|
@@ -218,6 +277,7 @@ function remedyOf(reading) {
|
|
|
218
277
|
"Replace the prover step with these two steps: the first saves the verdict, the second publishes it on the head it judged.",
|
|
219
278
|
...EVIDENCE_STEPS_LINES,
|
|
220
279
|
]),
|
|
280
|
+
...dispatchContextRemedyOf(reading),
|
|
221
281
|
];
|
|
222
282
|
}
|
|
223
283
|
/**
|
|
@@ -255,7 +315,7 @@ export async function checkThirdPartyEvidenceSeed(targetPath) {
|
|
|
255
315
|
}
|
|
256
316
|
const reading = readEvidenceSeed(workflowText);
|
|
257
317
|
if (isCurrentEvidenceSeed(reading)) {
|
|
258
|
-
return ok(`${THIRD_PARTY_EVIDENCE_WORKFLOW} wakes on a completed check run, can read it, judges it from the default branch,
|
|
318
|
+
return ok(`${THIRD_PARTY_EVIDENCE_WORKFLOW} wakes on a completed check run, can read it, judges it from the default branch, publishes its verdict on the head it judged, and lets a manual run that names the reviewer bring that reviewer's check run up to date`);
|
|
259
319
|
}
|
|
260
320
|
return {
|
|
261
321
|
name: THIRD_PARTY_EVIDENCE_SEED_CHECK_NAME,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor-third-party-evidence-seed.js","sourceRoot":"","sources":["../../src/cli/doctor-third-party-evidence-seed.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"doctor-third-party-evidence-seed.js","sourceRoot":"","sources":["../../src/cli/doctor-third-party-evidence-seed.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAElC,OAAO,EACL,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,gBAAgB,EAChB,6BAA6B,GAE9B,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAE9E,8CAA8C;AAC9C,MAAM,CAAC,MAAM,oCAAoC,GAC/C,kDAAkD,CAAC;AAErD,8EAA8E;AAC9E,MAAM,YAAY,GAChB,0EAA0E,CAAC;AAE7E;;;;;;;;;GASG;AACH,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;AAEpD,8DAA8D;AAC9D,MAAM,cAAc,GAAG,QAAQ,cAAc,uCAAuC,CAAC;AAErF,wFAAwF;AACxF,MAAM,kBAAkB,GAAG,QAAQ,cAAc,+BAA+B,gBAAgB,KAAK,CAAC;AAEtG;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,gBAAgB;IAChB,qQAAqQ;IACrQ,yBAAyB;IACzB,sBAAsB;CACd,CAAC;AAEX,4CAA4C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I,YAAY,KAAK,IAAI,EAAE,CAAC;YAC1B,OAAO,EAAE,CAAC,MAAM,6BAA6B,kBAAkB,CAAC,CAAC;QACnE,CAAC;QACD,MAAM,OAAO,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;QAC/C,IAAI,qBAAqB,CAAC,OAAO,CAAC,EAAE,CAAC;YACnC,OAAO,EAAE,CACP,GAAG,6BAA6B,wNAAwN,CACzP,CAAC;QACJ,CAAC;QACD,OAAO;YACL,IAAI,EAAE,oCAAoC;YAC1C,MAAM,EAAE,MAAM;YACd,MAAM,EAAE,iBAAiB,CAAC,OAAO,CAAC;SACnC,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO;YACL,IAAI,EAAE,oCAAoC;YAC1C,MAAM,EAAE,MAAM;YACd,MAAM,EACJ,+BAA+B,6BAA6B,SAAS;gBACrE,kBACE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CACvD,mEAAmE;gBACnE,6CAA6C;SAChD,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,SAAS,EAAE,CAAC,MAAc;IACxB,OAAO,EAAE,IAAI,EAAE,oCAAoC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"lisa-owned-hash-ledger.d.ts","sourceRoot":"","sources":["../../src/core/lisa-owned-hash-ledger.ts"],"names":[],"mappings":"AACA,6EAA6E;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAC3C,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAm2EjC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,+BAA+B,EAAE,QAAQ,CACpD,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAswEjC,CAAC"}
|
|
@@ -443,6 +443,7 @@ export const LISA_OWNED_HASH_LEDGER = Object.freeze({
|
|
|
443
443
|
"b6f0bdbbe4ad625f080d78a72ff7db62286c33200b3ec93b8d9ff68966398054",
|
|
444
444
|
"c44795c43d66aa7fd0736c8a3918b070bf1e99e4c9e941d956c7558cea278f7f",
|
|
445
445
|
"d00a4c3225efb5c9385a4d5290baf28d39bff08b3a6c40563af777dcb7ec0d99",
|
|
446
|
+
"d3b5f85078092a72cbd7b2b901b0bf4d6e54d6233bfbdbdcff5deb8a52b9e784",
|
|
446
447
|
"de8f6709dc6635be65625b7f7eb679504a4c1c2bc73bbb29f462bca95f3db6fc",
|
|
447
448
|
"e0e4e730556df45c24223305194420d5a3b43ca22e834accd04ef730c4a1dd10",
|
|
448
449
|
"f74f4fd1e6d44511a358b9aada80600bb6be62228eb65f67dfb20284ec9b35bd",
|
|
@@ -2842,6 +2843,7 @@ export const LISA_OWNED_HASH_HISTORY_DERIVED = Object.freeze({
|
|
|
2842
2843
|
"b6f0bdbbe4ad625f080d78a72ff7db62286c33200b3ec93b8d9ff68966398054",
|
|
2843
2844
|
"c44795c43d66aa7fd0736c8a3918b070bf1e99e4c9e941d956c7558cea278f7f",
|
|
2844
2845
|
"d00a4c3225efb5c9385a4d5290baf28d39bff08b3a6c40563af777dcb7ec0d99",
|
|
2846
|
+
"d3b5f85078092a72cbd7b2b901b0bf4d6e54d6233bfbdbdcff5deb8a52b9e784",
|
|
2845
2847
|
"de8f6709dc6635be65625b7f7eb679504a4c1c2bc73bbb29f462bca95f3db6fc",
|
|
2846
2848
|
"e0e4e730556df45c24223305194420d5a3b43ca22e834accd04ef730c4a1dd10",
|
|
2847
2849
|
"f74f4fd1e6d44511a358b9aada80600bb6be62228eb65f67dfb20284ec9b35bd",
|