@intentius/chant 0.124.89 → 0.124.91
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/actor.d.ts +5 -3
- package/dist/actor.d.ts.map +1 -1
- package/dist/actor.js +7 -5
- package/dist/audit/core.d.ts.map +1 -1
- package/dist/audit/core.js +11 -1
- package/dist/ci-comment-commands.d.ts +18 -2
- package/dist/ci-comment-commands.d.ts.map +1 -1
- package/dist/ci-comment-commands.js +30 -2
- package/dist/ci-job-guard.d.ts +42 -45
- package/dist/ci-job-guard.d.ts.map +1 -1
- package/dist/ci-job-guard.js +206 -3
- package/dist/ci-note-commands.d.ts +41 -1
- package/dist/ci-note-commands.d.ts.map +1 -1
- package/dist/ci-note-commands.js +64 -5
- package/dist/ci-product.d.ts +50 -1
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +52 -6
- package/dist/cli/handlers/pr-comment.d.ts +13 -1
- package/dist/cli/handlers/pr-comment.d.ts.map +1 -1
- package/dist/cli/handlers/pr-comment.js +90 -1
- package/dist/cli/handlers/pr-notes.d.ts.map +1 -1
- package/dist/cli/handlers/pr-notes.js +23 -1
- package/dist/cli/handlers/pr.d.ts +2 -2
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +41 -20
- package/dist/cli/handlers/run-wave.d.ts.map +1 -1
- package/dist/cli/handlers/run-wave.js +154 -4
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +17 -0
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +28 -0
- package/dist/cli/registry.d.ts +12 -1
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/components/pr-checks.d.ts +39 -1
- package/dist/components/pr-checks.d.ts.map +1 -1
- package/dist/components/pr-checks.js +45 -2
- package/dist/components/pr-pipeline.d.ts +11 -3
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +20 -7
- package/dist/components/product-pipeline.d.ts +54 -2
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +63 -6
- package/dist/components/product-plan.d.ts +92 -2
- package/dist/components/product-plan.d.ts.map +1 -1
- package/dist/components/product-plan.js +172 -22
- package/dist/floor-table.data.d.ts.map +1 -1
- package/dist/floor-table.data.js +37 -23
- package/dist/lexicon-module.d.ts +2 -0
- package/dist/lexicon-module.d.ts.map +1 -1
- package/dist/lexicon-module.js +6 -2
- package/dist/lexicon.d.ts +82 -4
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/gate-applied.d.ts +9 -0
- package/dist/lifecycle/gate-applied.d.ts.map +1 -1
- package/dist/op/apply-status.d.ts +84 -0
- package/dist/op/apply-status.d.ts.map +1 -0
- package/dist/op/apply-status.js +106 -0
- package/dist/op/before-merge-decide.d.ts +102 -0
- package/dist/op/before-merge-decide.d.ts.map +1 -0
- package/dist/op/before-merge-decide.js +142 -0
- package/dist/op/before-merge-done.d.ts +56 -0
- package/dist/op/before-merge-done.d.ts.map +1 -0
- package/dist/op/before-merge-done.js +69 -0
- package/dist/op/before-merge-store.d.ts +20 -0
- package/dist/op/before-merge-store.d.ts.map +1 -0
- package/dist/op/before-merge-store.js +48 -0
- package/dist/op/before-merge.d.ts +150 -0
- package/dist/op/before-merge.d.ts.map +1 -0
- package/dist/op/before-merge.js +207 -0
- package/dist/op/follow-on-run.d.ts +117 -0
- package/dist/op/follow-on-run.d.ts.map +1 -0
- package/dist/op/follow-on-run.js +154 -0
- package/dist/op/follow-on-store.d.ts +17 -0
- package/dist/op/follow-on-store.d.ts.map +1 -0
- package/dist/op/follow-on-store.js +54 -0
- package/dist/op/gate.d.ts +6 -0
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/gate.js +10 -1
- package/dist/op/index.d.ts +3 -1
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/index.js +1 -0
- package/dist/op/op-waves-after-plan.d.ts +13 -0
- package/dist/op/op-waves-after-plan.d.ts.map +1 -1
- package/dist/op/op-waves-evidence-jobs.d.ts +4 -1
- package/dist/op/op-waves-evidence-jobs.d.ts.map +1 -1
- package/dist/op/op-waves-evidence-jobs.js +10 -2
- package/dist/op/op-waves-follow-on.d.ts +162 -0
- package/dist/op/op-waves-follow-on.d.ts.map +1 -0
- package/dist/op/op-waves-follow-on.js +355 -0
- package/dist/op/op-waves-run.d.ts +146 -6
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +871 -99
- package/dist/op/op-waves-split.d.ts +122 -0
- package/dist/op/op-waves-split.d.ts.map +1 -0
- package/dist/op/op-waves-split.js +166 -0
- package/dist/op/op-waves.d.ts +20 -0
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +15 -1
- package/dist/op/schedule-overdue.d.ts +15 -1
- package/dist/op/schedule-overdue.d.ts.map +1 -1
- package/dist/op/schedule-overdue.js +18 -2
- package/dist/op/stage-hooks.d.ts +36 -1
- package/dist/op/stage-hooks.d.ts.map +1 -1
- package/dist/op/stage-hooks.js +17 -3
- package/dist/op/wave-stop.d.ts +4 -1
- package/dist/op/wave-stop.d.ts.map +1 -1
- package/dist/op/wave-stop.js +4 -2
- package/dist/planned-files.d.ts +16 -8
- package/dist/planned-files.d.ts.map +1 -1
- package/dist/planned-files.js +12 -8
- package/dist/pr-post.d.ts +6 -0
- package/dist/pr-post.d.ts.map +1 -1
- package/dist/pr-post.js +7 -5
- package/dist/release-floors.d.ts +9 -1
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +27 -19
- package/dist/wave-blocked.d.ts +7 -1
- package/dist/wave-blocked.d.ts.map +1 -1
- package/dist/wave-blocked.js +7 -2
- package/dist/wave-runtime.mjs +364 -351
- package/package.json +1 -1
- package/src/actor.test.ts +14 -1
- package/src/actor.ts +8 -6
- package/src/audit/core.ts +13 -1
- package/src/audit/first-load.test.ts +101 -0
- package/src/ci-comment-commands.test.ts +63 -0
- package/src/ci-comment-commands.ts +43 -4
- package/src/ci-image.test.ts +1 -2
- package/src/ci-job-guard.before-merge.test.ts +148 -0
- package/src/ci-job-guard.follow-on-record.test.ts +137 -0
- package/src/ci-job-guard.follow-on.test.ts +144 -0
- package/src/ci-job-guard.ts +221 -3
- package/src/ci-note-commands.test.ts +76 -1
- package/src/ci-note-commands.ts +96 -7
- package/src/ci-product.ts +65 -6
- package/src/cli/handlers/pr-comment.ts +85 -2
- package/src/cli/handlers/pr-notes.ts +30 -6
- package/src/cli/handlers/pr.ts +34 -17
- package/src/cli/handlers/run-wave.ts +144 -4
- package/src/cli/main.ts +17 -0
- package/src/cli/parse-args.ts +20 -0
- package/src/cli/registry.ts +12 -1
- package/src/components/pr-checks.ts +66 -2
- package/src/components/pr-pipeline.ts +21 -9
- package/src/components/product-pipeline.apply-status.test.ts +50 -0
- package/src/components/product-pipeline.ts +117 -9
- package/src/components/product-plan-names.test.ts +135 -0
- package/src/components/product-plan.test.ts +23 -5
- package/src/components/product-plan.ts +248 -25
- package/src/floor-table.data.ts +37 -23
- package/src/lexicon-module.ts +6 -2
- package/src/lexicon.ts +78 -1
- package/src/lifecycle/gate-applied.ts +7 -0
- package/src/op/apply-status.test.ts +83 -0
- package/src/op/apply-status.ts +132 -0
- package/src/op/before-merge-decide.ts +190 -0
- package/src/op/before-merge-done.ts +99 -0
- package/src/op/before-merge-store.ts +44 -0
- package/src/op/before-merge.test.ts +201 -0
- package/src/op/before-merge.ts +266 -0
- package/src/op/follow-on-run.ts +206 -0
- package/src/op/follow-on-store.ts +54 -0
- package/src/op/gate.ts +16 -1
- package/src/op/index.ts +5 -0
- package/src/op/op-waves-after-plan.ts +13 -0
- package/src/op/op-waves-evidence-jobs.ts +11 -3
- package/src/op/op-waves-follow-on-record.test.ts +152 -0
- package/src/op/op-waves-follow-on.test.ts +247 -0
- package/src/op/op-waves-follow-on.ts +385 -0
- package/src/op/op-waves-render-spec.test.ts +1 -2
- package/src/op/op-waves-run.ts +971 -93
- package/src/op/op-waves-split-product.test.ts +288 -0
- package/src/op/op-waves-split-step.test.ts +298 -0
- package/src/op/op-waves-split.test.ts +196 -0
- package/src/op/op-waves-split.ts +189 -0
- package/src/op/op-waves.ts +28 -3
- package/src/op/schedule-overdue.test.ts +29 -1
- package/src/op/schedule-overdue.ts +27 -3
- package/src/op/stage-hooks.ts +52 -4
- package/src/op/wave-stop.ts +5 -3
- package/src/planned-files.test.ts +33 -0
- package/src/planned-files.ts +26 -10
- package/src/pr-post.ts +13 -5
- package/src/release-floors.ts +31 -19
- package/src/wave-blocked.ts +9 -4
package/src/op/stage-hooks.ts
CHANGED
|
@@ -101,6 +101,36 @@ export const spawnExec: OpWaveExec = (argv, cwd, env) => {
|
|
|
101
101
|
/** {@link OpWaveExec} for {@link runStageHooksAsync} (#4334): the exit code comes back as a promise, so the event loop runs while a hook does. */
|
|
102
102
|
export type OpWaveAsyncExec = (argv: string[], cwd: string, env?: Record<string, string>) => Promise<number>;
|
|
103
103
|
|
|
104
|
+
/**
|
|
105
|
+
* One call of a hook a product serves in its own process (#4994), as
|
|
106
|
+
* {@link OpWaveInProcessHook} gets it: the hook's name and moment, its run
|
|
107
|
+
* for a `perRun` hook, the argv its command would have run with, the job's
|
|
108
|
+
* directory and the `CHANT_*` variables the command would have had.
|
|
109
|
+
*/
|
|
110
|
+
export interface OpWaveInProcessHookCall {
|
|
111
|
+
name: string;
|
|
112
|
+
moment: CiHookMoment;
|
|
113
|
+
target?: string;
|
|
114
|
+
argv: string[];
|
|
115
|
+
cwd: string;
|
|
116
|
+
env: Record<string, string>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* A hook a product's bin serves in the job's own process (#4994), in place
|
|
121
|
+
* of the hook's command: the spec, read at base, still names the hook and
|
|
122
|
+
* its command, and a job whose process hands a function under that name
|
|
123
|
+
* calls it with the command's argv and variables. Its exit code counts as
|
|
124
|
+
* the command's would, a hold included: it writes `CHANT_HOLD` and returns
|
|
125
|
+
* non-zero. It runs in whichever job runs the hook, so one split wave's plan,
|
|
126
|
+
* gate and applying jobs each call it in their own process; what it needs
|
|
127
|
+
* from an earlier job it reads from files that job left, such as its own
|
|
128
|
+
* under `opWaveProductStateDir` (`./op-waves-split.ts`), which the plan job
|
|
129
|
+
* hands the gate and applying jobs. This replaces a hook that called back
|
|
130
|
+
* into a long-lived product process over a socket.
|
|
131
|
+
*/
|
|
132
|
+
export type OpWaveInProcessHook = (call: OpWaveInProcessHookCall) => Promise<number>;
|
|
133
|
+
|
|
104
134
|
/** {@link spawnExec} on `spawn`: it rejects when the command cannot start. */
|
|
105
135
|
export const spawnExecAsync: OpWaveAsyncExec = (argv, cwd, env) =>
|
|
106
136
|
new Promise((resolve, reject) => {
|
|
@@ -220,6 +250,10 @@ export interface HookPlace {
|
|
|
220
250
|
/** One hook call {@link hookListSteps} asks its driver to run. The driver sends back the exit code. */
|
|
221
251
|
interface HookCall {
|
|
222
252
|
label: string;
|
|
253
|
+
/** The hook's name and moment, and its run for a `perRun` hook: what an in-process hook is found by and gets (#4994). */
|
|
254
|
+
name: string;
|
|
255
|
+
moment: CiHookMoment;
|
|
256
|
+
target?: string;
|
|
223
257
|
argv: string[];
|
|
224
258
|
cwd: string;
|
|
225
259
|
env: Record<string, string>;
|
|
@@ -269,7 +303,7 @@ function* hookListSteps(
|
|
|
269
303
|
for (const call of calls) {
|
|
270
304
|
const label = `${moment} hook ${name}${call.target ? ` (${call.target})` : ""}`;
|
|
271
305
|
rmSync(join(cwd, holdPath), { force: true });
|
|
272
|
-
const code = yield { label, argv: call.argv, cwd, env: call.env };
|
|
306
|
+
const code = yield { label, name, moment, ...(call.target ? { target: call.target } : {}), argv: call.argv, cwd, env: call.env };
|
|
273
307
|
const base = { moment, name, ...(call.target ? { target: call.target } : {}), exit: code };
|
|
274
308
|
if (code === 0) {
|
|
275
309
|
out.outcomes.push({ ...base, outcome: "passed" });
|
|
@@ -296,6 +330,13 @@ function* hookListSteps(
|
|
|
296
330
|
return out;
|
|
297
331
|
}
|
|
298
332
|
|
|
333
|
+
/** The in-process hook a product serves under `name` (#4994), or undefined: an own property that is a function. */
|
|
334
|
+
export function inProcessHookOf(hooks: Readonly<Record<string, OpWaveInProcessHook>> | undefined, name: string): OpWaveInProcessHook | undefined {
|
|
335
|
+
if (!hooks || !Object.prototype.hasOwnProperty.call(hooks, name)) return undefined;
|
|
336
|
+
const fn = hooks[name];
|
|
337
|
+
return typeof fn === "function" ? fn : undefined;
|
|
338
|
+
}
|
|
339
|
+
|
|
299
340
|
/** The exit code a call that did not start counts as, after its error is logged. */
|
|
300
341
|
function didNotRun(call: HookCall, err: unknown, log: (line: string) => void): number {
|
|
301
342
|
log(`${call.label} did not run: ${err instanceof Error ? err.message : String(err)}`);
|
|
@@ -330,9 +371,13 @@ export function runHookList(
|
|
|
330
371
|
return step.value;
|
|
331
372
|
}
|
|
332
373
|
|
|
333
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* {@link runHookList} with an exec that returns a promise (#4334). A hook
|
|
376
|
+
* whose name `at.inProcess` holds is called in this process in place of its
|
|
377
|
+
* command (#4994).
|
|
378
|
+
*/
|
|
334
379
|
export async function runHookListAsync(
|
|
335
|
-
at: Omit<HookPlace, "exec"> & { exec: OpWaveAsyncExec },
|
|
380
|
+
at: Omit<HookPlace, "exec"> & { exec: OpWaveAsyncExec; inProcess?: Readonly<Record<string, OpWaveInProcessHook>> },
|
|
336
381
|
moment: CiHookMoment,
|
|
337
382
|
hooks: readonly OpWaveHook[] | undefined,
|
|
338
383
|
runs: readonly OpWaveHookRun[],
|
|
@@ -345,7 +390,10 @@ export async function runHookListAsync(
|
|
|
345
390
|
const call = step.value;
|
|
346
391
|
let code: number;
|
|
347
392
|
try {
|
|
348
|
-
|
|
393
|
+
const own = inProcessHookOf(at.inProcess, call.name);
|
|
394
|
+
code = own
|
|
395
|
+
? await own({ name: call.name, moment: call.moment, ...(call.target ? { target: call.target } : {}), argv: call.argv, cwd: call.cwd, env: call.env })
|
|
396
|
+
: await at.exec(call.argv, call.cwd, call.env);
|
|
349
397
|
} catch (err) {
|
|
350
398
|
code = didNotRun(call, err, at.log);
|
|
351
399
|
}
|
package/src/op/wave-stop.ts
CHANGED
|
@@ -88,12 +88,14 @@ export async function waveStopAt(op: string, sha: string, opts: { cwd?: string }
|
|
|
88
88
|
* What a wave job of op `op` says when wave `k` waits behind a comment's
|
|
89
89
|
* stop at the job's checkout (`git rev-parse HEAD`). Undefined when it runs:
|
|
90
90
|
* no stop, no commit to read, or a branch that cannot be read, so a stop
|
|
91
|
-
* never fails a wave that would have run.
|
|
91
|
+
* never fails a wave that would have run. `sha` (#4987) names the commit
|
|
92
|
+
* in place of the checkout's: a split wave's gate job runs at the default
|
|
93
|
+
* branch and reads the stop of the decided head.
|
|
92
94
|
*/
|
|
93
|
-
export async function waveStopLine(op: string, k: number, opts: { cwd?: string } = {}): Promise<string | undefined> {
|
|
95
|
+
export async function waveStopLine(op: string, k: number, opts: { cwd?: string; sha?: string } = {}): Promise<string | undefined> {
|
|
94
96
|
let sha: string;
|
|
95
97
|
try {
|
|
96
|
-
sha = await getHeadCommit(opts);
|
|
98
|
+
sha = opts.sha ?? (await getHeadCommit(opts));
|
|
97
99
|
} catch {
|
|
98
100
|
return undefined;
|
|
99
101
|
}
|
|
@@ -34,6 +34,39 @@ describe("planFile and writePlannedFiles", () => {
|
|
|
34
34
|
expect(modeOf(script)).toBe(0o755);
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
+
/** #5006: a product's byte files, such as terragucci's `registry edge` bundles, beside its text ones. */
|
|
38
|
+
test("bytes are written unchanged and compared with the file byte for byte", () => {
|
|
39
|
+
const root = dir();
|
|
40
|
+
const zip = join(root, "edge", "bundle.zip");
|
|
41
|
+
const bytes = new Uint8Array([0x50, 0x4b, 0x03, 0x04, 0xff, 0x00, 0xfe]);
|
|
42
|
+
const files: { path: string; content: string | Buffer }[] = [
|
|
43
|
+
{ path: "worker.mjs", content: Buffer.from([0xef, 0xbb, 0xbf, 0x80]) },
|
|
44
|
+
{ path: "wrangler.toml", content: "name = \"r\"\n" },
|
|
45
|
+
];
|
|
46
|
+
const plan = [planFile(zip, bytes), ...files.map((f) => planFile(join(root, "edge", f.path), f.content))];
|
|
47
|
+
expect(plan.map((f) => f.status)).toEqual(["created", "created", "created"]);
|
|
48
|
+
expect(plan[0].content).toBe(bytes);
|
|
49
|
+
writePlannedFiles(plan);
|
|
50
|
+
expect([...readFileSync(zip)]).toEqual([...bytes]);
|
|
51
|
+
expect([...readFileSync(join(root, "edge", "worker.mjs"))]).toEqual([0xef, 0xbb, 0xbf, 0x80]);
|
|
52
|
+
expect(readFileSync(join(root, "edge", "wrangler.toml"), "utf-8")).toBe("name = \"r\"\n");
|
|
53
|
+
expect(planFile(zip, Buffer.from(bytes)).status).toBe("unchanged");
|
|
54
|
+
expect(planFile(join(root, "edge", "worker.mjs"), files[0].content).status).toBe("unchanged");
|
|
55
|
+
// A view into a larger buffer compares only its own bytes.
|
|
56
|
+
const wider = new Uint8Array([9, ...bytes, 9]);
|
|
57
|
+
expect(planFile(zip, wider.subarray(1, 1 + bytes.length)).status).toBe("unchanged");
|
|
58
|
+
// 0xff and 0xfe both read as U+FFFD in UTF-8 text, so only a byte compare tells them apart.
|
|
59
|
+
const odd = join(root, "odd.bin");
|
|
60
|
+
writeFileSync(odd, Buffer.from([0xff]));
|
|
61
|
+
expect(planFile(odd, "�").status).toBe("unchanged");
|
|
62
|
+
expect(planFile(odd, new Uint8Array([0xfe])).status).toBe("updated");
|
|
63
|
+
expect(planFile(odd, new Uint8Array([0xff, 0x00])).status).toBe("updated");
|
|
64
|
+
const binary = planFile(odd, new Uint8Array([0xfe]), { mode: 0o600 });
|
|
65
|
+
writePlannedFiles([binary]);
|
|
66
|
+
expect([...readFileSync(odd)]).toEqual([0xfe]);
|
|
67
|
+
expect(modeOf(odd)).toBe(0o600);
|
|
68
|
+
});
|
|
69
|
+
|
|
37
70
|
test("a removal is planned only for a file that is there, and written by unlinking it", () => {
|
|
38
71
|
const root = dir();
|
|
39
72
|
const old = join(root, "old.yml");
|
package/src/planned-files.ts
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
*
|
|
13
13
|
* - {@link planFile} plans one file against what is on disk, its mode
|
|
14
14
|
* included, and writes nothing, so a dry run prints the plan as it is.
|
|
15
|
+
* Its content is text, or bytes for a file such as terragucci's
|
|
16
|
+
* `registry edge` bundles, compared byte for byte (#5006).
|
|
15
17
|
* - {@link planRemoval} plans the removal of a file an earlier run wrote.
|
|
16
18
|
* - {@link writePlannedFiles} writes the plan: each directory made, each
|
|
17
19
|
* file's mode set, each removed file unlinked, an unchanged one left as
|
|
@@ -28,14 +30,17 @@
|
|
|
28
30
|
import { chmodSync, existsSync, mkdirSync, readdirSync, readFileSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
29
31
|
import { dirname, join } from "node:path";
|
|
30
32
|
|
|
31
|
-
/**
|
|
32
|
-
export
|
|
33
|
+
/** What a planned file holds: text, or bytes such as a bundle or a zip, written as they are (#5006). A `Buffer` is a `Uint8Array`. */
|
|
34
|
+
export type PlannedContent = string | Uint8Array;
|
|
35
|
+
|
|
36
|
+
/** One planned file. Its content is text unless the plan was made with bytes (#5006). */
|
|
37
|
+
export interface PlannedFile<C extends PlannedContent = string> {
|
|
33
38
|
/** Where it is written. Absolute, or relative to the process's directory. */
|
|
34
39
|
path: string;
|
|
35
40
|
/** `removed`: a file an earlier run wrote that this one no longer asks for. */
|
|
36
41
|
status: "created" | "updated" | "unchanged" | "removed";
|
|
37
|
-
/** The text to write; empty for a removal. */
|
|
38
|
-
content:
|
|
42
|
+
/** The text or bytes to write; empty text for a removal. */
|
|
43
|
+
content: C;
|
|
39
44
|
/** The permission bits to set, such as `0o755` for a script. Unset, a new file gets the process's default and an existing one keeps its own. */
|
|
40
45
|
mode?: number;
|
|
41
46
|
/** In the git directory or otherwise never committed, such as a hook. */
|
|
@@ -51,15 +56,25 @@ function modeOf(path: string): number | undefined {
|
|
|
51
56
|
}
|
|
52
57
|
}
|
|
53
58
|
|
|
59
|
+
/** Whether the file at `path` holds `content`: text compared as UTF-8 text, bytes compared byte for byte (#5006). */
|
|
60
|
+
function holds(path: string, content: PlannedContent): boolean {
|
|
61
|
+
if (typeof content === "string") return readFileSync(path, "utf-8") === content;
|
|
62
|
+
return Buffer.from(content.buffer, content.byteOffset, content.byteLength).equals(readFileSync(path));
|
|
63
|
+
}
|
|
64
|
+
|
|
54
65
|
/**
|
|
55
66
|
* Plan `content` at `path`: `created` when there is no file, `unchanged`
|
|
56
67
|
* when the file holds the content (and, with `mode`, has that mode),
|
|
57
|
-
* `updated` otherwise. Writes nothing.
|
|
68
|
+
* `updated` otherwise. Writes nothing. Content given as bytes is compared
|
|
69
|
+
* with the file byte for byte, and the plan carries the bytes (#5006).
|
|
58
70
|
*/
|
|
59
|
-
export function planFile(path: string, content: string, extra
|
|
71
|
+
export function planFile(path: string, content: string, extra?: Pick<PlannedFile, "mode" | "local">): PlannedFile;
|
|
72
|
+
export function planFile(path: string, content: Uint8Array, extra?: Pick<PlannedFile, "mode" | "local">): PlannedFile<Uint8Array>;
|
|
73
|
+
export function planFile(path: string, content: PlannedContent, extra?: Pick<PlannedFile, "mode" | "local">): PlannedFile<PlannedContent>;
|
|
74
|
+
export function planFile(path: string, content: PlannedContent, extra: Pick<PlannedFile, "mode" | "local"> = {}): PlannedFile<PlannedContent> {
|
|
60
75
|
const own = { ...(extra.mode !== undefined ? { mode: extra.mode } : {}), ...(extra.local ? { local: true } : {}) };
|
|
61
76
|
if (!existsSync(path)) return { path, status: "created", content, ...own };
|
|
62
|
-
const same =
|
|
77
|
+
const same = holds(path, content) && (extra.mode === undefined || modeOf(path) === extra.mode);
|
|
63
78
|
return { path, status: same ? "unchanged" : "updated", content, ...own };
|
|
64
79
|
}
|
|
65
80
|
|
|
@@ -71,9 +86,10 @@ export function planRemoval(path: string): PlannedFile | undefined {
|
|
|
71
86
|
/**
|
|
72
87
|
* Write a plan: each created or updated file written, its directory made
|
|
73
88
|
* and its mode set; each removed file unlinked; an unchanged file not
|
|
74
|
-
* touched. A removed file that is already gone is not an error.
|
|
89
|
+
* touched. A removed file that is already gone is not an error. Bytes
|
|
90
|
+
* are written as they are (#5006).
|
|
75
91
|
*/
|
|
76
|
-
export function writePlannedFiles(files: readonly Pick<PlannedFile
|
|
92
|
+
export function writePlannedFiles(files: readonly Pick<PlannedFile<PlannedContent>, "path" | "status" | "content" | "mode">[]): void {
|
|
77
93
|
for (const f of files) {
|
|
78
94
|
if (f.status === "unchanged") continue;
|
|
79
95
|
if (f.status === "removed") {
|
|
@@ -131,4 +147,4 @@ export function staleGeneratedFiles(options: StaleGeneratedOptions): string[] {
|
|
|
131
147
|
return out;
|
|
132
148
|
}
|
|
133
149
|
|
|
134
|
-
export { PLANNED_FILES_FLOOR } from "./release-floors";
|
|
150
|
+
export { PLANNED_BYTES_FLOOR, PLANNED_FILES_FLOOR } from "./release-floors";
|
package/src/pr-post.ts
CHANGED
|
@@ -58,6 +58,8 @@ export interface PlanPostInput {
|
|
|
58
58
|
head: string;
|
|
59
59
|
env: string;
|
|
60
60
|
member?: string;
|
|
61
|
+
/** The plan status's context (#5003, a product plan's `statusContext`), in place of {@link prStatusContext}'s. */
|
|
62
|
+
context?: string;
|
|
61
63
|
/** The plan job's own result (`needs.plan.result`). `failure` fails the status. */
|
|
62
64
|
result?: string;
|
|
63
65
|
/**
|
|
@@ -199,7 +201,8 @@ function productLineOf(name: string | undefined, marker: unknown): string | unde
|
|
|
199
201
|
/** The one plain word a re-plan was narrowed to (#4963), or undefined. */
|
|
200
202
|
function narrowedTo(input: Pick<PlanPostInput, "notAffected">): string | undefined {
|
|
201
203
|
const a = input.notAffected?.trim();
|
|
202
|
-
|
|
204
|
+
// #4984: a word that starts with `-` is a flag, never the argument a re-plan was narrowed to.
|
|
205
|
+
return a && /^[A-Za-z0-9_.\/@+=,:][A-Za-z0-9_.\/@+=,:-]*$/.test(a) ? a : undefined;
|
|
203
206
|
}
|
|
204
207
|
|
|
205
208
|
/**
|
|
@@ -301,7 +304,7 @@ export async function postPlanReport(input: PlanPostInput): Promise<PlanPostResu
|
|
|
301
304
|
// #4799: a product's plan verb wrote its plan note hand-off in place of pr-plan's report.
|
|
302
305
|
if (!existsSync(join(input.dir, PR_PLAN_REPORT_FILE)) && existsSync(join(input.dir, PR_PLAN_NOTE_FILE))) return postPlanNoteHandoff(input);
|
|
303
306
|
const warnings: string[] = [];
|
|
304
|
-
const context = prStatusContext("plan", input.member);
|
|
307
|
+
const context = input.context ?? prStatusContext("plan", input.member);
|
|
305
308
|
const read = readPlanReport(input);
|
|
306
309
|
const failedJob = input.result === "failure" || input.result === "cancelled";
|
|
307
310
|
let state: PlanPostResult["state"];
|
|
@@ -537,7 +540,7 @@ export function planNoteHandoffNote(handoff: PrPlanNoteHandoff, forge: Pick<PrFo
|
|
|
537
540
|
/** {@link postPlanReport} for a product's plan note hand-off (#4799). */
|
|
538
541
|
async function postPlanNoteHandoff(input: PlanPostInput): Promise<PlanPostResult> {
|
|
539
542
|
const warnings: string[] = [];
|
|
540
|
-
const context = prStatusContext("plan", input.member);
|
|
543
|
+
const context = input.context ?? prStatusContext("plan", input.member);
|
|
541
544
|
const read = readPlanNoteHandoff(input);
|
|
542
545
|
const failedJob = input.result === "failure" || input.result === "cancelled";
|
|
543
546
|
let state: PlanPostResult["state"];
|
|
@@ -612,6 +615,8 @@ export interface OpenPlanPostInput {
|
|
|
612
615
|
artifactDir: string;
|
|
613
616
|
env: string;
|
|
614
617
|
member?: string;
|
|
618
|
+
/** The plan status's context (#5003), in place of {@link prStatusContext}'s. */
|
|
619
|
+
context?: string;
|
|
615
620
|
overdue?: () => Promise<PrOverdue[]>;
|
|
616
621
|
/** The description check, as {@link PlanPostInput.description}. */
|
|
617
622
|
description?: (report: PrReport) => Promise<void>;
|
|
@@ -654,7 +659,7 @@ export async function postOpenPlanReports(input: OpenPlanPostInput): Promise<{ p
|
|
|
654
659
|
if (!forge.mergeRequestJobs || !forge.jobArtifact || !forge.statusUrl) {
|
|
655
660
|
throw new Error(`pr-post --open reads the plan jobs of open merge requests, which ${forge.kind} cannot say; it is for GitLab`);
|
|
656
661
|
}
|
|
657
|
-
const context = prStatusContext("plan", input.member);
|
|
662
|
+
const context = input.context ?? prStatusContext("plan", input.member);
|
|
658
663
|
const warnings: string[] = [];
|
|
659
664
|
let overdue: Promise<PrOverdue[]> | undefined;
|
|
660
665
|
const overdueOnce = input.overdue ? () => (overdue ??= input.overdue!()) : undefined;
|
|
@@ -691,6 +696,7 @@ export async function postOpenPlanReports(input: OpenPlanPostInput): Promise<{ p
|
|
|
691
696
|
head: job.head,
|
|
692
697
|
env: input.env,
|
|
693
698
|
...(input.member ? { member: input.member } : {}),
|
|
699
|
+
...(input.context ? { context: input.context } : {}),
|
|
694
700
|
result: settled,
|
|
695
701
|
...(overdueOnce ? { overdue: overdueOnce } : {}),
|
|
696
702
|
...(input.description ? { description: input.description } : {}),
|
|
@@ -720,6 +726,8 @@ export interface StaleMarkInput {
|
|
|
720
726
|
tip: string;
|
|
721
727
|
env: string;
|
|
722
728
|
member?: string;
|
|
729
|
+
/** The plan status's context (#5003), which goes back to pending, in place of {@link prStatusContext}'s. */
|
|
730
|
+
context?: string;
|
|
723
731
|
/** The pipeline answers the plan comment (`--preview-comment`), so the stale line names it. */
|
|
724
732
|
previewComment?: boolean;
|
|
725
733
|
words?: CiProductWords;
|
|
@@ -749,7 +757,7 @@ export async function markStaleNotes(input: StaleMarkInput): Promise<{ marks: St
|
|
|
749
757
|
if (!forge.openPullRequests) throw new Error(`marking notes stale lists the open pull requests into ${input.branch}, which this ${forge.kind} client cannot`);
|
|
750
758
|
const words = input.words ?? activeProductWords();
|
|
751
759
|
const marker = prNoteMarker(input.env, input.member);
|
|
752
|
-
const context = prStatusContext("plan", input.member, words);
|
|
760
|
+
const context = input.context ?? prStatusContext("plan", input.member, words);
|
|
753
761
|
const comment = input.previewComment ? commentLine(words, "plan") : undefined;
|
|
754
762
|
const verb = words.verbs.plan[0];
|
|
755
763
|
const again = comment ? `comment \`${comment}\` to ${verb} again` : `push a commit to ${verb} again`;
|
package/src/release-floors.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* this constant to the next patch (#4501). The check fails while a floor
|
|
20
20
|
* still names this constant after its version shipped.
|
|
21
21
|
*/
|
|
22
|
-
export const NEXT_RELEASE = "0.124.
|
|
22
|
+
export const NEXT_RELEASE = "0.124.91";
|
|
23
23
|
|
|
24
24
|
/** The first chant with `chant dev local` and `chant dev bundle-check`, `@intentius/chant/local-chant` and `@intentius/chant/bundle-check` (`chantRuntimeTarget`, `chantExternalPlugin`, `checkBundle`): a product built against a chant checkout, and its bundle checked, without its own scripts (#4787). */
|
|
25
25
|
export const LOCAL_CHANT_FLOOR = "0.124.86";
|
|
@@ -40,7 +40,7 @@ export const TERRAFORM_ENGINE_TIMINGS_FLOOR = "0.124.88";
|
|
|
40
40
|
export const TERRAFORM_ROOT_HELPERS_FLOOR = "0.124.88";
|
|
41
41
|
|
|
42
42
|
/** The first chant whose terraform lexicon has one runner of the engine for a product (`engineRunner` in `engine-runner`: a hooked `exec`, `execSync`, `terragrunt` and the tokenless `script`), traces each engine command (`commandTrace`, `commandTraceEnv`), sends each Terragrunt unit's plan through `planTerragruntWave({ onCommand })`, and resolves a live root's record store (`liveRecordStore`, `writtenRecordStore`, `rootBackendAttrs` in `live-roots`) (#4954). */
|
|
43
|
-
export const TERRAFORM_ENGINE_RUNNER_FLOOR =
|
|
43
|
+
export const TERRAFORM_ENGINE_RUNNER_FLOOR = "0.124.89";
|
|
44
44
|
|
|
45
45
|
/** The first chant with `@intentius/chant/forge-flags` (`forgeTargetWith`, `forgeTargetFromFlags`, `apiBaseOf`), `@intentius/chant/chant-install` (`bundledChant`, `chantArgv`, `installChantResolveFallback`) and `noteLimit` and `fitNote` in `@intentius/chant/plan-summary` (#4800). */
|
|
46
46
|
export const PRODUCT_HELPERS_FLOOR = "0.124.86";
|
|
@@ -179,51 +179,63 @@ export const REF_GATE_STATUS_JOB_FLOOR = "0.124.88";
|
|
|
179
179
|
export const REF_GATE_PIECES_FLOOR = "0.124.88";
|
|
180
180
|
|
|
181
181
|
/** The first chant whose `chant release cut --yes` pushes `chant/lifecycle` again when the remote refuses it, and exits non-zero untagged (`release-record-not-pushed`) when the release record never lands, so the release workflow does not push the tag (#4965). */
|
|
182
|
-
export const RELEASE_CUT_RECORD_FLOOR =
|
|
182
|
+
export const RELEASE_CUT_RECORD_FLOOR = "0.124.89";
|
|
183
183
|
|
|
184
184
|
/** The first chant whose release cut refuses, before it records or tags, a release whose npm publish target would carry an image archive (`publish-npm-carries-image`), and whose GitLab release workflow runs the binfmt image by digest from `IMAGE_PINS` (#4941). */
|
|
185
|
-
export const RELEASE_CUT_CARRIES_IMAGE_FLOOR =
|
|
185
|
+
export const RELEASE_CUT_CARRIES_IMAGE_FLOOR = "0.124.89";
|
|
186
186
|
/** The first chant whose `ciToolFetchScript` and `ciToolInstallLine` take `download: "node"`, a fetch and unzip with node for an image with no curl or unzip, whose `CI_TOOL_SHA256` records just 1.36.0 and act 0.2.89 and checks them against their releases' checksums files, and whose overdue check deepens a shallow checkout before it dates a pipeline file (#4952). */
|
|
187
|
-
export const CI_TOOL_NODE_DOWNLOAD_FLOOR =
|
|
187
|
+
export const CI_TOOL_NODE_DOWNLOAD_FLOOR = "0.124.89";
|
|
188
188
|
|
|
189
189
|
/** The first chant whose `chant build -o <dir>/` writes a build's additional files (a docker project's Dockerfiles) into the directory with no primary file, whose `chantGenerated` renders take a `module` and its `export` (a `{ path: text }` object or a function returning one) and `chant dev render <module> <export>` writes them in place, and whose `chant ci workflow` and `chant release workflow` write into `chant dev generated-check`'s render tree with no `--output` (#4950). */
|
|
190
|
-
export const RENDER_KINDS_FLOOR =
|
|
190
|
+
export const RENDER_KINDS_FLOOR = "0.124.89";
|
|
191
191
|
|
|
192
192
|
/** The first chant whose sql lexicon's `chant lifecycle diff --live` addresses a table's columns by name (`columns[#country].default.expr`), compares a ClickHouse table's column order as `columnOrder`, and reports a column the server has and the declaration does not as pending, and whose `lexiconDriftRecords` counts a deep read's pending changes (that column, a ClickHouse or Postgres privilege granted by hand) as drift (#4944). */
|
|
193
|
-
export const SQL_LIVE_COLUMNS_FLOOR =
|
|
193
|
+
export const SQL_LIVE_COLUMNS_FLOOR = "0.124.89";
|
|
194
194
|
|
|
195
195
|
/** The first chant whose `driftNotifyFields` takes `stacks`, each member's drift records, and from them names the drifted members and computes the run's fingerprint (#4944). */
|
|
196
|
-
export const DRIFT_NOTIFY_STACKS_FLOOR =
|
|
196
|
+
export const DRIFT_NOTIFY_STACKS_FLOOR = "0.124.89";
|
|
197
197
|
|
|
198
198
|
/** The first chant whose workspace member's pull request pipeline takes `evidence`, `checkJob` and `refGateStatus` (`chant build --pr-loop` in a member), signing the member's plan job as `plan:<member>` and `policy:<member>` (`ci evidence sign --member`, `memberEvidenceCheck`) and running the check job in the member's directory (#4964). */
|
|
199
|
-
export const MEMBER_SIGNED_CHECKS_FLOOR =
|
|
199
|
+
export const MEMBER_SIGNED_CHECKS_FLOOR = "0.124.89";
|
|
200
200
|
|
|
201
201
|
/** The first chant whose `checkJob` takes `{ services, env, before, dir, args }` (`PrCheckJobOptions`: service containers, the check step's variables and lines, the report directory, the arguments after `--base`) and whose github, forgejo and gitlab lexicons render the check, check evidence and ref gate jobs for a product's own workflow (`productCheckJobs`, `forgejoProductCheckJobs`, `gitlabProductCheckJobs`) (#4964). */
|
|
202
|
-
export const PRODUCT_CHECK_JOBS_FLOOR =
|
|
202
|
+
export const PRODUCT_CHECK_JOBS_FLOOR = "0.124.89";
|
|
203
|
+
|
|
204
|
+
/** The first chant whose `checkJob` takes `artifacts: { paths, reports }` (`PrCheckArtifacts`), which GitLab's check job keeps beside its report as `artifacts:paths` and `artifacts:reports`, such as a lint hook's `codequality` report (#4988). */
|
|
205
|
+
export const CHECK_JOB_ARTIFACTS_FLOOR = "0.124.90";
|
|
203
206
|
|
|
204
207
|
/** The first chant whose GitLab Op waves pipeline with a runner key hands it to no wave job: each deciding wave's `<wave job>-evidence` job names the `chant-evidence` environment and signs `plan:<wave>` from the wave job (#4964). */
|
|
205
|
-
export const GITLAB_WAVE_KEY_SCOPE_FLOOR =
|
|
208
|
+
export const GITLAB_WAVE_KEY_SCOPE_FLOOR = "0.124.89";
|
|
206
209
|
|
|
207
210
|
/** The first chant with `actorOf` and `actorOrder` in `@intentius/chant/actor`: the actor fallback with `GITHUB_TRIGGERING_ACTOR` ahead of the forge's actor and git's `user.name` before the login, each place switched on or off by the caller (#4966). */
|
|
208
|
-
export const ACTOR_ORDER_FLOOR =
|
|
211
|
+
export const ACTOR_ORDER_FLOOR = "0.124.89";
|
|
212
|
+
|
|
213
|
+
/** The first chant whose `actorOf({ env, repo })` runs `git config` in `repo` with the `env` it is given rather than the process's, so a job's `GIT_CONFIG_GLOBAL` or `HOME` picks the `user.name` it reads (#5005). */
|
|
214
|
+
export const ACTOR_GIT_ENV_FLOOR = NEXT_RELEASE;
|
|
209
215
|
|
|
210
216
|
/** The first chant with `@intentius/chant/ci-base` (`ciBaseRef`), the base a CI job measures a change from (the pull request's target branch, else the default branch for a push to another branch), and whose `chant ci check` defaults `--base` to it (#4966). */
|
|
211
|
-
export const CI_BASE_REF_FLOOR =
|
|
217
|
+
export const CI_BASE_REF_FLOOR = "0.124.89";
|
|
212
218
|
|
|
213
219
|
/** The first chant with `@intentius/chant/planned-files` (`planFile`, `planRemoval`, `writePlannedFiles`, `staleGeneratedFiles`): an init's planned files with their modes, written or removed in one call, and the generated files a product no longer renders, found by their header (#4966). */
|
|
214
|
-
export const PLANNED_FILES_FLOOR =
|
|
220
|
+
export const PLANNED_FILES_FLOOR = "0.124.89";
|
|
221
|
+
|
|
222
|
+
/** The first chant whose `planFile` in `@intentius/chant/planned-files` takes bytes (`Uint8Array` or `Buffer`) as well as text: `writePlannedFiles` writes them unchanged and the plan compares them with the file byte for byte (#5006). */
|
|
223
|
+
export const PLANNED_BYTES_FLOOR = NEXT_RELEASE;
|
|
215
224
|
|
|
216
225
|
/** The first chant whose `pipelineContract` takes `jobs`, the jobs a product builds from its own config, beside or in place of `pipelines`, so a product's forge check gets the required statuses and `refGateStatus` from chant (#4966). */
|
|
217
|
-
export const FORGE_CHECK_OWN_JOBS_FLOOR =
|
|
226
|
+
export const FORGE_CHECK_OWN_JOBS_FLOOR = "0.124.89";
|
|
218
227
|
|
|
219
228
|
/** The first chant whose `chant components pr-apply --before-merge` waits for the ref gate's status: the status the policy at base sets for the target branch is passed as `require` to the `checks` require (#4966). */
|
|
220
|
-
export const BEFORE_MERGE_REF_GATE_FLOOR =
|
|
229
|
+
export const BEFORE_MERGE_REF_GATE_FLOOR = "0.124.89";
|
|
221
230
|
|
|
222
231
|
/** The first chant whose product plan with `targets` and `evidence` signs each target's plan job as `plan:<target>` and `policy:<target>` (`ci evidence sign --member <target>`, `targetEvidenceCheck`, `productPlanEvidenceChecks`), and whose `refGateInitPlan` takes `targets` and names those checks in the `refs` rule (#4978). */
|
|
223
|
-
export const TARGET_SIGNED_CHECKS_FLOOR =
|
|
232
|
+
export const TARGET_SIGNED_CHECKS_FLOOR = "0.124.89";
|
|
224
233
|
|
|
225
234
|
/** The first chant whose Op waves generators take `renderSpec` (the wave jobs run `chant run wave --render-spec`, and `CHANT_WAVES_SPEC_COMMAND` names the product command that prints the spec at the commit in `CHANT_WAVES_SPEC_AT`), so a product whose spec is built from its config at base renders its wave jobs, policy step, evidence job and cloud trade through chant (#4982). */
|
|
226
|
-
export const RUNTIME_WAVES_SPEC_FLOOR =
|
|
235
|
+
export const RUNTIME_WAVES_SPEC_FLOOR = "0.124.89";
|
|
227
236
|
|
|
228
237
|
/** The first chant whose `chant run resume` (`resumeGateRun`) on GitLab retries a wave job's `<wave job>-evidence` with the wave job when the evidence job already ran, and whose `ci evidence sign --from-job` waits for a job it reads to finish, so a resumed wave's evidence job signs from the new try (#4978). */
|
|
229
|
-
export const GITLAB_WAVE_EVIDENCE_RETRY_FLOOR =
|
|
238
|
+
export const GITLAB_WAVE_EVIDENCE_RETRY_FLOOR = "0.124.89";
|
|
239
|
+
|
|
240
|
+
/** The first chant whose terraform lexicon's engine runs carry what a product's own command tracing read: `runBinary` and the engine runner's `exec` and `execSync` answer stderr apart (`Ran.stderr`) and a spawn failure's message (`Ran.error`), a hook's `after` gets a binary that could not be started as a null code with `error`, `commandTrace` ends that span with the message, and `composeCommandHooks` runs a product's own hook and `commandTrace` as one `onCommand` (#5007). */
|
|
241
|
+
export const TERRAFORM_COMMAND_TRACE_FLOOR = NEXT_RELEASE;
|
package/src/wave-blocked.ts
CHANGED
|
@@ -180,18 +180,23 @@ export function runSummary(outcomes: Iterable<WaveMemberOutcome>): string | unde
|
|
|
180
180
|
return parts.join(", ");
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
/**
|
|
184
|
-
|
|
183
|
+
/**
|
|
184
|
+
* The outcome file of a wave's job, or of one group or share of it. With
|
|
185
|
+
* `apply` (#4987), a split wave's own applying job's: `-apply`, so it is
|
|
186
|
+
* never the gate job's file of the same wave, which that job reads.
|
|
187
|
+
*/
|
|
188
|
+
export function waveOutcomeFileName(wave: number, part: { group?: string; share?: number; apply?: boolean } = {}): string {
|
|
185
189
|
const group = part.group !== undefined ? `-group-${part.group.replace(/[^A-Za-z0-9._-]/g, "_")}` : "";
|
|
186
190
|
const share = part.share !== undefined ? `-share-${part.share}` : "";
|
|
187
|
-
|
|
191
|
+
const apply = part.apply === true && !group && !share ? "-apply" : "";
|
|
192
|
+
return `outcome-wave-${wave}${group}${share}${apply}.json`;
|
|
188
193
|
}
|
|
189
194
|
|
|
190
195
|
/** Write a wave job's outcome file in `dir`, members sorted by name. Returns its path. */
|
|
191
196
|
export function writeWaveOutcomeFile(
|
|
192
197
|
dir: string,
|
|
193
198
|
wave: number,
|
|
194
|
-
part: { group?: string; share?: number },
|
|
199
|
+
part: { group?: string; share?: number; apply?: boolean },
|
|
195
200
|
members: Record<string, WaveMemberOutcome>,
|
|
196
201
|
at = new Date().toISOString(),
|
|
197
202
|
holdsAll = false,
|