@intentius/chant 0.124.93 → 0.124.95
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/ci-comment-commands.d.ts +12 -1
- package/dist/ci-comment-commands.d.ts.map +1 -1
- package/dist/ci-comment-commands.js +29 -0
- package/dist/ci-note-commands.d.ts +1 -1
- package/dist/ci-note-commands.d.ts.map +1 -1
- package/dist/ci-note-commands.js +11 -1
- package/dist/ci-product.d.ts +19 -1
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +25 -8
- package/dist/cli/handlers/pr-comment.d.ts.map +1 -1
- package/dist/cli/handlers/pr-comment.js +11 -4
- package/dist/cli/handlers/run-wave.js +17 -3
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +4 -1
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +4 -2
- package/dist/components/product-plan.d.ts +6 -0
- package/dist/components/product-plan.d.ts.map +1 -1
- package/dist/components/product-plan.js +9 -1
- package/dist/floor-table.data.d.ts.map +1 -1
- package/dist/floor-table.data.js +15 -6
- package/dist/gate-resume-run.d.ts +7 -0
- package/dist/gate-resume-run.d.ts.map +1 -1
- package/dist/gate-resume-run.js +42 -3
- package/dist/lexicon.d.ts +47 -1
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/gate-applied.d.ts +18 -0
- package/dist/lifecycle/gate-applied.d.ts.map +1 -1
- package/dist/op/before-merge-decide.d.ts +39 -2
- package/dist/op/before-merge-decide.d.ts.map +1 -1
- package/dist/op/before-merge-decide.js +59 -0
- package/dist/op/gate-run-locator.d.ts +17 -0
- package/dist/op/gate-run-locator.d.ts.map +1 -1
- package/dist/op/index.d.ts +3 -1
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/index.js +2 -1
- package/dist/op/op-waves-names.d.ts +40 -0
- package/dist/op/op-waves-names.d.ts.map +1 -1
- package/dist/op/op-waves-names.js +79 -0
- package/dist/op/op-waves-remainder.d.ts +110 -0
- package/dist/op/op-waves-remainder.d.ts.map +1 -0
- package/dist/op/op-waves-remainder.js +120 -0
- package/dist/op/op-waves-render-spec.d.ts +63 -5
- package/dist/op/op-waves-render-spec.d.ts.map +1 -1
- package/dist/op/op-waves-render-spec.js +68 -10
- package/dist/op/op-waves-run.d.ts +27 -1
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +192 -4
- package/dist/op/op-waves-split-resume.d.ts +57 -0
- package/dist/op/op-waves-split-resume.d.ts.map +1 -0
- package/dist/op/op-waves-split-resume.js +94 -0
- package/dist/op/op-waves.d.ts +26 -1
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +11 -2
- package/dist/release-floors.d.ts +13 -1
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +13 -1
- package/dist/wave-runtime.mjs +360 -360
- package/package.json +1 -1
- package/src/ci-comment-commands.test.ts +147 -0
- package/src/ci-comment-commands.ts +29 -1
- package/src/ci-note-commands.ts +12 -2
- package/src/ci-product.ts +28 -8
- package/src/cli/handlers/pr-comment.ts +10 -4
- package/src/cli/handlers/run-wave.ts +16 -3
- package/src/cli/main.ts +4 -1
- package/src/components/product-pipeline.ts +4 -2
- package/src/components/product-plan.ts +9 -2
- package/src/floor-table.data.ts +15 -6
- package/src/gate-resume-run.ts +38 -3
- package/src/lexicon.ts +47 -1
- package/src/lifecycle/gate-applied.ts +16 -0
- package/src/op/before-merge-decide.ts +74 -2
- package/src/op/gate-run-locator.ts +14 -0
- package/src/op/index.ts +5 -0
- package/src/op/op-waves-names.ts +80 -0
- package/src/op/op-waves-remainder.test.ts +341 -0
- package/src/op/op-waves-remainder.ts +146 -0
- package/src/op/op-waves-render-spec.test.ts +106 -0
- package/src/op/op-waves-render-spec.ts +81 -10
- package/src/op/op-waves-run.ts +200 -5
- package/src/op/op-waves-split-resume.test.ts +148 -0
- package/src/op/op-waves-split-resume.ts +109 -0
- package/src/op/op-waves.ts +33 -2
- package/src/release-floors.ts +19 -1
package/dist/op/index.d.ts
CHANGED
|
@@ -28,8 +28,10 @@ export type { OpWaveBaseRules, OpWaveDecision, OpWaveApplyHooksRun, OpWaveApplyO
|
|
|
28
28
|
export { OP_WAVE_COST_FORMATS, OP_WAVE_COST_MEMBER, OP_WAVE_PARALLEL_STEP_FLOOR, OP_WAVE_STEP_WAVE_FLOOR, OP_WAVE_TOGETHER_MEMBER, opWaveCostVerdict, opWaveDiscoverInput, opWaveHoldsAt, opWaveHoldsProblems, opWaveStepInput, opWaveStepProblems, readCostEstimate, } from "./op-waves-capability.js";
|
|
29
29
|
export type { OpWaveCostFormat, OpWaveCostHold, OpWaveCostVerdict, OpWaveHolds, OpWaveRunCost, OpWaveStep, OpWaveStepApply, OpWaveStepGroup, OpWaveStepPlan } from "./op-waves-capability.js";
|
|
30
30
|
export { notifyOpWave, opWaveNotifyFields } from "./op-waves-notify.js";
|
|
31
|
-
export { OP_WAVES_RENDER_SPEC_FLAG, OP_WAVES_SPEC_AT_ENV, OP_WAVES_SPEC_COMMAND_ENV, OP_WAVES_SPEC_FILE_ENV, RUNTIME_WAVES_SPEC_FLOOR, opWavesRenderSpecEnv, opWavesRenderSpecProblems, } from "./op-waves-render-spec.js";
|
|
31
|
+
export { OP_WAVES_RENDER_SPEC_FLAG, OP_WAVES_SPEC_AT_ENV, OP_WAVES_SPEC_BASE_ENV, OP_WAVES_SPEC_COMMAND_ENV, OP_WAVES_SPEC_FILE_ENV, OP_WAVES_SPEC_RUNS_ENV, RUNTIME_WAVES_SPEC_FLOOR, RUNTIME_WAVES_SPEC_RUNS_AT_HEAD_FLOOR, opWavesRenderSpecEnv, opWavesRenderSpecProblems, } from "./op-waves-render-spec.js";
|
|
32
32
|
export type { OpWavesRenderSpec } from "./op-waves-render-spec.js";
|
|
33
|
+
export { OP_WAVES_REMAINDER_FLOOR, opWaveApprovedChanges, opWaveCoverRemainder, opWaveRunCovered, opWaveStoppedApply, opWaveUnfinishedApply } from "./op-waves-remainder.js";
|
|
34
|
+
export type { AppliedGateChange, OpWaveCover, OpWaveRemainderMember } from "./op-waves-remainder.js";
|
|
33
35
|
export { OP_WAVE_STAND_DOWN_FLOOR, gitOpWaveNewerCommit, newerCommitOnBranch, opWaveDefaultBranch, opWaveRunBranch, opWaveStandDownReason, tipAppliesTargets } from "./op-waves-stand-down.js";
|
|
34
36
|
export type { OpWaveNewerCommit, OpWaveNewerCommitPort } from "./op-waves-stand-down.js";
|
|
35
37
|
export { OP_WAVE_RELEASE_RECORD_FLOOR, opWaveReleaseNames, opWaveReleaseProblems, releaseOfCommit } from "./op-waves-release.js";
|
package/dist/op/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/op/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAClH,cAAc,EAAE,iBAAiB,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,WAAW,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EACtQ,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,EAC5C,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAC3D,aAAa,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EACrG,aAAa,EAAE,YAAY,EAC3B,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,aAAa,EAAE,eAAe,EAAE,aAA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C5E,YAAY,EACV,iBAAiB,EAAE,oBAAoB,EAAE,mBAAmB,EAC5D,gBAAgB,EAAE,mBAAmB,GACtC,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAClF,YAAY,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIrE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACrH,YAAY,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC"}
|
package/dist/op/index.js
CHANGED
|
@@ -16,7 +16,8 @@ export { OP_WAVE_APPLY_OUTCOMES, OP_WAVE_MAX_REPLANS, opWaveHooksAtBase, runStag
|
|
|
16
16
|
export { movedSincePreview, shortAddress } from "./op-waves-preview.js";
|
|
17
17
|
export { OP_WAVE_COST_FORMATS, OP_WAVE_COST_MEMBER, OP_WAVE_PARALLEL_STEP_FLOOR, OP_WAVE_STEP_WAVE_FLOOR, OP_WAVE_TOGETHER_MEMBER, opWaveCostVerdict, opWaveDiscoverInput, opWaveHoldsAt, opWaveHoldsProblems, opWaveStepInput, opWaveStepProblems, readCostEstimate, } from "./op-waves-capability.js";
|
|
18
18
|
export { notifyOpWave, opWaveNotifyFields } from "./op-waves-notify.js";
|
|
19
|
-
export { OP_WAVES_RENDER_SPEC_FLAG, OP_WAVES_SPEC_AT_ENV, OP_WAVES_SPEC_COMMAND_ENV, OP_WAVES_SPEC_FILE_ENV, RUNTIME_WAVES_SPEC_FLOOR, opWavesRenderSpecEnv, opWavesRenderSpecProblems, } from "./op-waves-render-spec.js";
|
|
19
|
+
export { OP_WAVES_RENDER_SPEC_FLAG, OP_WAVES_SPEC_AT_ENV, OP_WAVES_SPEC_BASE_ENV, OP_WAVES_SPEC_COMMAND_ENV, OP_WAVES_SPEC_FILE_ENV, OP_WAVES_SPEC_RUNS_ENV, RUNTIME_WAVES_SPEC_FLOOR, RUNTIME_WAVES_SPEC_RUNS_AT_HEAD_FLOOR, opWavesRenderSpecEnv, opWavesRenderSpecProblems, } from "./op-waves-render-spec.js";
|
|
20
|
+
export { OP_WAVES_REMAINDER_FLOOR, opWaveApprovedChanges, opWaveCoverRemainder, opWaveRunCovered, opWaveStoppedApply, opWaveUnfinishedApply } from "./op-waves-remainder.js";
|
|
20
21
|
export { OP_WAVE_STAND_DOWN_FLOOR, gitOpWaveNewerCommit, newerCommitOnBranch, opWaveDefaultBranch, opWaveRunBranch, opWaveStandDownReason, tipAppliesTargets } from "./op-waves-stand-down.js";
|
|
21
22
|
export { OP_WAVE_RELEASE_RECORD_FLOOR, opWaveReleaseNames, opWaveReleaseProblems, releaseOfCommit } from "./op-waves-release.js";
|
|
22
23
|
export { gitOpWaveReleasePort } from "./op-waves-release-port.js";
|
|
@@ -115,6 +115,46 @@ export declare function opWavesResumeWorkflowFile(spec: Pick<OpWavesSpec, "name"
|
|
|
115
115
|
* Absent or empty: none, and the jobs render as before.
|
|
116
116
|
*/
|
|
117
117
|
export declare function opWavesFirstWaveNeeds(given: readonly string[] | undefined, forge: "github" | "forgejo" | "gitlab"): string[];
|
|
118
|
+
/**
|
|
119
|
+
* The forge token a wave job's command step gets (#5044): with it, the
|
|
120
|
+
* jobs that run only the default branch's code (a push's wave, deciding,
|
|
121
|
+
* share and job group jobs; a split wave's gate and record jobs) hand their
|
|
122
|
+
* command step the job's token as `GITHUB_TOKEN`, so the spec's `respond`
|
|
123
|
+
* posts and a product's hooks can read the forge, and the job asks for
|
|
124
|
+
* `permissions` on top of chant's own. A split wave's plan and applying jobs
|
|
125
|
+
* run the change's code and never get it. GitHub and Forgejo only.
|
|
126
|
+
*/
|
|
127
|
+
export interface OpWavesCommandToken {
|
|
128
|
+
/** GitHub's permission scopes the jobs ask for beside chant's own, such as `{ "pull-requests": "write", actions: "read" }`. `contents` and `id-token` are chant's. */
|
|
129
|
+
permissions?: Record<string, "read" | "write">;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* {@link OpWavesCommandToken}'s permissions, checked (#5044): each a scope
|
|
133
|
+
* GitHub knows that chant does not set itself, `read` or `write`. Undefined
|
|
134
|
+
* when there is no token to give. GitLab refuses it, since its jobs read
|
|
135
|
+
* `CHANT_FORGE_TOKEN`, a CI/CD variable.
|
|
136
|
+
*/
|
|
137
|
+
export declare function opWavesCommandToken(token: OpWavesCommandToken | undefined, forge: "github" | "forgejo" | "gitlab"): Record<string, "read" | "write"> | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* The control job's group a product names (#5053), checked, with `{commit}`
|
|
140
|
+
* put in as `commit`, the forge's expression of the commit the job tells the
|
|
141
|
+
* control repo about. Undefined when none. One line; a spec without
|
|
142
|
+
* `control` has no job to put it on.
|
|
143
|
+
*/
|
|
144
|
+
export declare function opWavesControlGroup(group: string | undefined, hasControl: boolean, commit: string): string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* GitLab (#5053): the resume job's `resource_group` a product names, checked.
|
|
147
|
+
* Undefined when none. GitHub and Forgejo refuse it, since their resume
|
|
148
|
+
* workflow has its own group, `<spec>-resume`.
|
|
149
|
+
*/
|
|
150
|
+
export declare function opWavesResumeGroup(group: string | undefined, hasResume: boolean, forge: "github" | "forgejo" | "gitlab"): string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* GitLab (#5045): the `cache:` a product gives the wave jobs that run the
|
|
153
|
+
* wave's command, one entry or a list of them as GitLab takes them, such as
|
|
154
|
+
* terragucci's `{ key: terragucci-terragrunt, paths: [.terragrunt-cache/] }`.
|
|
155
|
+
* Each entry is a mapping with `paths` or `key`. Undefined when none.
|
|
156
|
+
*/
|
|
157
|
+
export declare function opWavesGitlabCache(cache: Record<string, unknown> | Array<Record<string, unknown>> | undefined): Record<string, unknown> | Array<Record<string, unknown>> | undefined;
|
|
118
158
|
/** Refuse a product job of {@link opWavesFirstWaveNeeds} that is a job the generator writes (#5032). */
|
|
119
159
|
export declare function assertFirstWaveNeedsOutside(needs: readonly string[], jobs: Iterable<string>): void;
|
|
120
160
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"op-waves-names.d.ts","sourceRoot":"","sources":["../../src/op/op-waves-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzD,kFAAkF;AAClF,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,cAAc,GACd,aAAa,GACb,mBAAmB,GACnB,SAAS,GACT,QAAQ,CAAC;AAEb,2CAA2C;AAC3C,MAAM,WAAW,aAAa;IAC5B,mJAAmJ;IACnJ,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;;;OASG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB,yHAAyH;IACzH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,mEAAmE;IACnE,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,mFAAmF;AACnF,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,EAAE,aAAa,KAAK,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+125,85 @@ export function opWavesFirstWaveNeeds(given, forge) {
|
|
|
125
125
|
throw new Error(`firstWaveNeeds names a job twice: ${given.join(", ")}`);
|
|
126
126
|
return [...given];
|
|
127
127
|
}
|
|
128
|
+
/** The GitHub permission scopes a product may add with {@link OpWavesCommandToken}. `contents` and `id-token` stay chant's. */
|
|
129
|
+
const COMMAND_TOKEN_SCOPES = new Set(["actions", "attestations", "checks", "deployments", "discussions", "issues", "packages", "pages", "pull-requests", "repository-projects", "security-events", "statuses"]);
|
|
130
|
+
/**
|
|
131
|
+
* {@link OpWavesCommandToken}'s permissions, checked (#5044): each a scope
|
|
132
|
+
* GitHub knows that chant does not set itself, `read` or `write`. Undefined
|
|
133
|
+
* when there is no token to give. GitLab refuses it, since its jobs read
|
|
134
|
+
* `CHANT_FORGE_TOKEN`, a CI/CD variable.
|
|
135
|
+
*/
|
|
136
|
+
export function opWavesCommandToken(token, forge) {
|
|
137
|
+
if (token === undefined)
|
|
138
|
+
return undefined;
|
|
139
|
+
if (forge === "gitlab")
|
|
140
|
+
throw new Error("commandToken gives a GitHub or Forgejo wave job its token; a GitLab job reads CHANT_FORGE_TOKEN, a CI/CD variable, so leave it out");
|
|
141
|
+
if (token === null || typeof token !== "object" || Array.isArray(token))
|
|
142
|
+
throw new Error("commandToken is { permissions }");
|
|
143
|
+
const permissions = token.permissions ?? {};
|
|
144
|
+
if (permissions === null || typeof permissions !== "object" || Array.isArray(permissions))
|
|
145
|
+
throw new Error("commandToken.permissions maps a permission scope to read or write");
|
|
146
|
+
for (const [scope, level] of Object.entries(permissions)) {
|
|
147
|
+
if (scope === "contents" || scope === "id-token")
|
|
148
|
+
throw new Error(`commandToken.permissions names ${scope}, which chant sets on the wave jobs itself`);
|
|
149
|
+
if (!COMMAND_TOKEN_SCOPES.has(scope))
|
|
150
|
+
throw new Error(`commandToken.permissions names ${JSON.stringify(scope)}, which is not a GitHub permission scope`);
|
|
151
|
+
if (level !== "read" && level !== "write")
|
|
152
|
+
throw new Error(`commandToken.permissions.${scope} is ${JSON.stringify(level)}; give read or write`);
|
|
153
|
+
}
|
|
154
|
+
return { ...permissions };
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* The control job's group a product names (#5053), checked, with `{commit}`
|
|
158
|
+
* put in as `commit`, the forge's expression of the commit the job tells the
|
|
159
|
+
* control repo about. Undefined when none. One line; a spec without
|
|
160
|
+
* `control` has no job to put it on.
|
|
161
|
+
*/
|
|
162
|
+
export function opWavesControlGroup(group, hasControl, commit) {
|
|
163
|
+
if (group === undefined)
|
|
164
|
+
return undefined;
|
|
165
|
+
if (typeof group !== "string" || group.trim() === "" || /[\r\n]/.test(group))
|
|
166
|
+
throw new Error(`controlGroup ${JSON.stringify(group)} is one line naming the control job's group`);
|
|
167
|
+
if (!hasControl)
|
|
168
|
+
throw new Error("controlGroup names the control job's group, and the spec has no control");
|
|
169
|
+
return group.split("{commit}").join(commit);
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* GitLab (#5053): the resume job's `resource_group` a product names, checked.
|
|
173
|
+
* Undefined when none. GitHub and Forgejo refuse it, since their resume
|
|
174
|
+
* workflow has its own group, `<spec>-resume`.
|
|
175
|
+
*/
|
|
176
|
+
export function opWavesResumeGroup(group, hasResume, forge) {
|
|
177
|
+
if (group === undefined)
|
|
178
|
+
return undefined;
|
|
179
|
+
if (forge !== "gitlab")
|
|
180
|
+
throw new Error("resumeGroup is the GitLab resume job's resource_group; the GitHub and Forgejo resume workflow has its own concurrency group, <spec>-resume");
|
|
181
|
+
if (typeof group !== "string" || group.trim() === "" || /[\r\n]/.test(group))
|
|
182
|
+
throw new Error(`resumeGroup ${JSON.stringify(group)} is one line naming the resume job's resource_group`);
|
|
183
|
+
if (!hasResume)
|
|
184
|
+
throw new Error("resumeGroup names the resume job's resource_group, and the spec has no resume");
|
|
185
|
+
return group;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* GitLab (#5045): the `cache:` a product gives the wave jobs that run the
|
|
189
|
+
* wave's command, one entry or a list of them as GitLab takes them, such as
|
|
190
|
+
* terragucci's `{ key: terragucci-terragrunt, paths: [.terragrunt-cache/] }`.
|
|
191
|
+
* Each entry is a mapping with `paths` or `key`. Undefined when none.
|
|
192
|
+
*/
|
|
193
|
+
export function opWavesGitlabCache(cache) {
|
|
194
|
+
if (cache === undefined)
|
|
195
|
+
return undefined;
|
|
196
|
+
const entries = Array.isArray(cache) ? cache : [cache];
|
|
197
|
+
if (entries.length === 0)
|
|
198
|
+
throw new Error("cache is a GitLab cache entry or a list of them; leave it out for none");
|
|
199
|
+
for (const entry of entries) {
|
|
200
|
+
if (entry === null || typeof entry !== "object" || Array.isArray(entry))
|
|
201
|
+
throw new Error("cache holds GitLab cache entries, each a mapping such as { key, paths }");
|
|
202
|
+
if (entry.paths === undefined && entry.key === undefined)
|
|
203
|
+
throw new Error("a cache entry names its paths or its key");
|
|
204
|
+
}
|
|
205
|
+
return cache;
|
|
206
|
+
}
|
|
128
207
|
/** Refuse a product job of {@link opWavesFirstWaveNeeds} that is a job the generator writes (#5032). */
|
|
129
208
|
export function assertFirstWaveNeedsOutside(needs, jobs) {
|
|
130
209
|
const mine = new Set(jobs);
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rest of an apply that stopped, under the approval it applied under
|
|
3
|
+
* (#5047), with the spec's `approvals.remainder` and `approvals.spend`, both
|
|
4
|
+
* read at base.
|
|
5
|
+
*
|
|
6
|
+
* A wave that applies under an approval writes its applied line on
|
|
7
|
+
* `chant/lifecycle` (`_gates/<op>/applied.jsonl`, #3784) first. Under
|
|
8
|
+
* `remainder` that line carries each change the approved plans make: a run's
|
|
9
|
+
* resource, by the engine's address, and the resource's digest (the
|
|
10
|
+
* capability's `resourceDigests`), with the commit and the run (`resume`,
|
|
11
|
+
* which `chant run resume` starts again once it is gone). Only an engine that
|
|
12
|
+
* records each resource as its apply returns (the `resource` lock grain, such
|
|
13
|
+
* as choudoufu's) plans exactly what it did not apply after a stop, so a wave
|
|
14
|
+
* with a changing run on another grain, or with no resource digests, records
|
|
15
|
+
* no changes and never resumes as a remainder. The job that applies the
|
|
16
|
+
* whole wave (a split wave's record job) writes how the apply ended, a
|
|
17
|
+
* `finished` line; a killed apply writes none.
|
|
18
|
+
*
|
|
19
|
+
* Run again at the same commit (the resume re-runs the stopped job), the
|
|
20
|
+
* wave plans what is left. That plan has another digest, so the spent
|
|
21
|
+
* approval would not count. It does when every change the plans make is one
|
|
22
|
+
* the stopped apply's line names, with the same digest: the ones it no longer
|
|
23
|
+
* makes are done, since the config is the same and the engine records each
|
|
24
|
+
* resource it applied. Any other change, a digest member that is no run
|
|
25
|
+
* beyond the approved ones, or another commit, leaves the wave to wait for an
|
|
26
|
+
* approval of its own. The wave then applies under the stopped line, writes
|
|
27
|
+
* no applied line of its own, and writes that line's finished line.
|
|
28
|
+
*
|
|
29
|
+
* A split wave's applying job (#4987) re-plans its runs through the step: a
|
|
30
|
+
* run whose plan moved since the gate job's decision applies when its plan
|
|
31
|
+
* makes only changes the decision recorded, with the same digests.
|
|
32
|
+
*
|
|
33
|
+
* A wave whose plans change nothing closes the newest stopped apply of its
|
|
34
|
+
* gate as applied, since something applied the rest. With
|
|
35
|
+
* `approvals.spendStanding` a wave its gate lets through spends an approval
|
|
36
|
+
* of its digest that stands (`./op-waves-run.ts`).
|
|
37
|
+
*
|
|
38
|
+
* Pure: no git, no ledger, no clock.
|
|
39
|
+
*/
|
|
40
|
+
import type { AppliedGateChange, AppliedGateRecord, FinishedGateRecord } from "../lifecycle/gate-applied.js";
|
|
41
|
+
export type { AppliedGateChange } from "../lifecycle/gate-applied.js";
|
|
42
|
+
export { OP_WAVES_REMAINDER_FLOOR, OP_WAVES_REMAINDER_PARITY_FLOOR } from "../release-floors.js";
|
|
43
|
+
/** A planned run, as the remainder reads it: its member, whether its plan is empty, and its resources' digests. */
|
|
44
|
+
export interface OpWaveRemainderMember {
|
|
45
|
+
member: string;
|
|
46
|
+
empty?: boolean;
|
|
47
|
+
resources?: Record<string, string>;
|
|
48
|
+
}
|
|
49
|
+
/** The lock grain of each run's step plan, by target. */
|
|
50
|
+
export type OpWaveRemainderGrains = ReadonlyMap<string, {
|
|
51
|
+
lock?: {
|
|
52
|
+
grain: string;
|
|
53
|
+
};
|
|
54
|
+
}> | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Every change the plans make, sorted by target and address, or undefined
|
|
57
|
+
* when a run that changes something did not plan through the step on the
|
|
58
|
+
* `resource` grain or gave no resource digests: the wave cannot resume as a
|
|
59
|
+
* remainder.
|
|
60
|
+
*/
|
|
61
|
+
export declare function opWaveApprovedChanges(members: readonly OpWaveRemainderMember[], grains: OpWaveRemainderGrains): AppliedGateChange[] | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* The apply of `gate` a wave at `commit` takes up: the gate's newest applied
|
|
64
|
+
* line, when it names changes, was written at `commit`, and no finished line
|
|
65
|
+
* says it applied. Undefined when there is none.
|
|
66
|
+
*/
|
|
67
|
+
export declare function opWaveStoppedApply(applied: readonly AppliedGateRecord[], finished: readonly FinishedGateRecord[], gate: string, commit: string | undefined): AppliedGateRecord | undefined;
|
|
68
|
+
/** The newest applied line of `gate` that names changes and has no finished line at all: what a wave that changes nothing closes. */
|
|
69
|
+
export declare function opWaveUnfinishedApply(applied: readonly AppliedGateRecord[], finished: readonly FinishedGateRecord[], gate: string): AppliedGateRecord | undefined;
|
|
70
|
+
/** Whether the plans now are the rest of the approved changes. */
|
|
71
|
+
export type OpWaveCover = {
|
|
72
|
+
covered: true;
|
|
73
|
+
remaining: AppliedGateChange[];
|
|
74
|
+
done: AppliedGateChange[];
|
|
75
|
+
} | {
|
|
76
|
+
covered: false;
|
|
77
|
+
why: string;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* The digest members that are no run whose digest follows from the plans
|
|
81
|
+
* (#5056): the cost member, `(monthly cost)`, chant's `holds.cost` and
|
|
82
|
+
* terragucci's alike, which digests the wave's monthly change. Part of the
|
|
83
|
+
* wave applied, so the rest costs less and the digest moves; every change is
|
|
84
|
+
* still compared, so the cover leaves it out on both sides.
|
|
85
|
+
*/
|
|
86
|
+
export declare const OP_WAVE_REMAINDER_FOLLOWS: readonly string[];
|
|
87
|
+
/**
|
|
88
|
+
* Whether `now`, the changes the plans make, are the rest of `approved`:
|
|
89
|
+
* each one approved with the same digest. The approved ones it no longer
|
|
90
|
+
* makes are done. `extras` are the digest members that are no run, now and
|
|
91
|
+
* as approved: each one now must be approved with the same digest, except
|
|
92
|
+
* the ones whose digest follows from the plans ({@link OP_WAVE_REMAINDER_FOLLOWS}).
|
|
93
|
+
*/
|
|
94
|
+
export declare function opWaveCoverRemainder(approved: readonly AppliedGateChange[], now: readonly AppliedGateChange[] | undefined, extras?: {
|
|
95
|
+
now?: readonly {
|
|
96
|
+
member: string;
|
|
97
|
+
planDigest: string;
|
|
98
|
+
}[];
|
|
99
|
+
approved?: readonly {
|
|
100
|
+
member: string;
|
|
101
|
+
planDigest: string;
|
|
102
|
+
}[];
|
|
103
|
+
}): OpWaveCover;
|
|
104
|
+
/**
|
|
105
|
+
* A run's plan in a split wave's applying job, against the changes the gate
|
|
106
|
+
* job's decision recorded (#5047): covered when it makes only changes of
|
|
107
|
+
* that run the decision holds, with the same digests.
|
|
108
|
+
*/
|
|
109
|
+
export declare function opWaveRunCovered(approved: readonly AppliedGateChange[], target: string, plan: OpWaveRemainderMember, grains: OpWaveRemainderGrains): OpWaveCover;
|
|
110
|
+
//# sourceMappingURL=op-waves-remainder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"op-waves-remainder.d.ts","sourceRoot":"","sources":["../../src/op/op-waves-remainder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAK1G,YAA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AMG;AACH,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAA0B,CAAC;AAElF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EACtC,GAAG,EAAE,SAAS,iBAAiB,EAAE,GAAG,SAAS,EAC7C,MAAM,GAAE;IAAE,GAAG,CAAC,EAAE,SAAS;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAAO,GACrI,WAAW,CASb;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,SAAS,iBAAiB,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,qBAAqB,GAAG,WAAW,CAGhK"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The rest of an apply that stopped, under the approval it applied under
|
|
3
|
+
* (#5047), with the spec's `approvals.remainder` and `approvals.spend`, both
|
|
4
|
+
* read at base.
|
|
5
|
+
*
|
|
6
|
+
* A wave that applies under an approval writes its applied line on
|
|
7
|
+
* `chant/lifecycle` (`_gates/<op>/applied.jsonl`, #3784) first. Under
|
|
8
|
+
* `remainder` that line carries each change the approved plans make: a run's
|
|
9
|
+
* resource, by the engine's address, and the resource's digest (the
|
|
10
|
+
* capability's `resourceDigests`), with the commit and the run (`resume`,
|
|
11
|
+
* which `chant run resume` starts again once it is gone). Only an engine that
|
|
12
|
+
* records each resource as its apply returns (the `resource` lock grain, such
|
|
13
|
+
* as choudoufu's) plans exactly what it did not apply after a stop, so a wave
|
|
14
|
+
* with a changing run on another grain, or with no resource digests, records
|
|
15
|
+
* no changes and never resumes as a remainder. The job that applies the
|
|
16
|
+
* whole wave (a split wave's record job) writes how the apply ended, a
|
|
17
|
+
* `finished` line; a killed apply writes none.
|
|
18
|
+
*
|
|
19
|
+
* Run again at the same commit (the resume re-runs the stopped job), the
|
|
20
|
+
* wave plans what is left. That plan has another digest, so the spent
|
|
21
|
+
* approval would not count. It does when every change the plans make is one
|
|
22
|
+
* the stopped apply's line names, with the same digest: the ones it no longer
|
|
23
|
+
* makes are done, since the config is the same and the engine records each
|
|
24
|
+
* resource it applied. Any other change, a digest member that is no run
|
|
25
|
+
* beyond the approved ones, or another commit, leaves the wave to wait for an
|
|
26
|
+
* approval of its own. The wave then applies under the stopped line, writes
|
|
27
|
+
* no applied line of its own, and writes that line's finished line.
|
|
28
|
+
*
|
|
29
|
+
* A split wave's applying job (#4987) re-plans its runs through the step: a
|
|
30
|
+
* run whose plan moved since the gate job's decision applies when its plan
|
|
31
|
+
* makes only changes the decision recorded, with the same digests.
|
|
32
|
+
*
|
|
33
|
+
* A wave whose plans change nothing closes the newest stopped apply of its
|
|
34
|
+
* gate as applied, since something applied the rest. With
|
|
35
|
+
* `approvals.spendStanding` a wave its gate lets through spends an approval
|
|
36
|
+
* of its digest that stands (`./op-waves-run.ts`).
|
|
37
|
+
*
|
|
38
|
+
* Pure: no git, no ledger, no clock.
|
|
39
|
+
*/
|
|
40
|
+
import { finishedApply } from "../lifecycle/gate-applied.js";
|
|
41
|
+
import { samePlanDigest } from "../lifecycle/plan-digest.js";
|
|
42
|
+
import { OP_WAVE_COST_MEMBER } from "./op-waves-capability-spec.js";
|
|
43
|
+
export { OP_WAVES_REMAINDER_FLOOR, OP_WAVES_REMAINDER_PARITY_FLOOR } from "../release-floors.js";
|
|
44
|
+
/**
|
|
45
|
+
* Every change the plans make, sorted by target and address, or undefined
|
|
46
|
+
* when a run that changes something did not plan through the step on the
|
|
47
|
+
* `resource` grain or gave no resource digests: the wave cannot resume as a
|
|
48
|
+
* remainder.
|
|
49
|
+
*/
|
|
50
|
+
export function opWaveApprovedChanges(members, grains) {
|
|
51
|
+
const out = [];
|
|
52
|
+
for (const m of members) {
|
|
53
|
+
if (m.empty === true)
|
|
54
|
+
continue;
|
|
55
|
+
if (grains?.get(m.member)?.lock?.grain !== "resource" || m.resources === undefined)
|
|
56
|
+
return undefined;
|
|
57
|
+
for (const [address, digest] of Object.entries(m.resources))
|
|
58
|
+
out.push({ target: m.member, address, digest });
|
|
59
|
+
}
|
|
60
|
+
return out.sort((a, b) => (a.target === b.target ? (a.address < b.address ? -1 : a.address > b.address ? 1 : 0) : a.target < b.target ? -1 : 1));
|
|
61
|
+
}
|
|
62
|
+
const time = (iso) => new Date(iso).getTime();
|
|
63
|
+
/** The newest applied line of `gate`, oldest wins a tie by order. */
|
|
64
|
+
function newestLine(applied, gate) {
|
|
65
|
+
return applied.filter((a) => a.gate === gate).reduce((n, a) => (!n || time(a.timestamp) >= time(n.timestamp) ? a : n), undefined);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The apply of `gate` a wave at `commit` takes up: the gate's newest applied
|
|
69
|
+
* line, when it names changes, was written at `commit`, and no finished line
|
|
70
|
+
* says it applied. Undefined when there is none.
|
|
71
|
+
*/
|
|
72
|
+
export function opWaveStoppedApply(applied, finished, gate, commit) {
|
|
73
|
+
const line = newestLine(applied, gate);
|
|
74
|
+
if (!line?.changes || commit === undefined || line.commit !== commit)
|
|
75
|
+
return undefined;
|
|
76
|
+
return finishedApply(finished, line)?.result === "applied" ? undefined : line;
|
|
77
|
+
}
|
|
78
|
+
/** The newest applied line of `gate` that names changes and has no finished line at all: what a wave that changes nothing closes. */
|
|
79
|
+
export function opWaveUnfinishedApply(applied, finished, gate) {
|
|
80
|
+
const line = newestLine(applied, gate);
|
|
81
|
+
return line?.changes && !finishedApply(finished, line) ? line : undefined;
|
|
82
|
+
}
|
|
83
|
+
const key = (c) => `${c.target} ${c.address}`;
|
|
84
|
+
/**
|
|
85
|
+
* The digest members that are no run whose digest follows from the plans
|
|
86
|
+
* (#5056): the cost member, `(monthly cost)`, chant's `holds.cost` and
|
|
87
|
+
* terragucci's alike, which digests the wave's monthly change. Part of the
|
|
88
|
+
* wave applied, so the rest costs less and the digest moves; every change is
|
|
89
|
+
* still compared, so the cover leaves it out on both sides.
|
|
90
|
+
*/
|
|
91
|
+
export const OP_WAVE_REMAINDER_FOLLOWS = [OP_WAVE_COST_MEMBER];
|
|
92
|
+
/**
|
|
93
|
+
* Whether `now`, the changes the plans make, are the rest of `approved`:
|
|
94
|
+
* each one approved with the same digest. The approved ones it no longer
|
|
95
|
+
* makes are done. `extras` are the digest members that are no run, now and
|
|
96
|
+
* as approved: each one now must be approved with the same digest, except
|
|
97
|
+
* the ones whose digest follows from the plans ({@link OP_WAVE_REMAINDER_FOLLOWS}).
|
|
98
|
+
*/
|
|
99
|
+
export function opWaveCoverRemainder(approved, now, extras = {}) {
|
|
100
|
+
if (!now)
|
|
101
|
+
return { covered: false, why: "a run that changes something plans on no resource grain, or gave no resource digests" };
|
|
102
|
+
const was = new Map(approved.map((c) => [key(c), c]));
|
|
103
|
+
const moved = now.filter((c) => was.get(key(c))?.digest !== c.digest).map(key);
|
|
104
|
+
if (moved.length > 0)
|
|
105
|
+
return { covered: false, why: `${moved.join(", ")} ${moved.length === 1 ? "is a change" : "are changes"} the approved plans did not make` };
|
|
106
|
+
const extra = (extras.now ?? []).filter((e) => !OP_WAVE_REMAINDER_FOLLOWS.includes(e.member) && !(extras.approved ?? []).some((a) => a.member === e.member && samePlanDigest(a.planDigest, e.planDigest))).map((e) => e.member);
|
|
107
|
+
if (extra.length > 0)
|
|
108
|
+
return { covered: false, why: `${extra.join(", ")} ${extra.length === 1 ? "is" : "are"} not as the approved set held ${extra.length === 1 ? "it" : "them"}` };
|
|
109
|
+
const planned = new Set(now.map(key));
|
|
110
|
+
return { covered: true, remaining: [...now], done: approved.filter((c) => !planned.has(key(c))) };
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* A run's plan in a split wave's applying job, against the changes the gate
|
|
114
|
+
* job's decision recorded (#5047): covered when it makes only changes of
|
|
115
|
+
* that run the decision holds, with the same digests.
|
|
116
|
+
*/
|
|
117
|
+
export function opWaveRunCovered(approved, target, plan, grains) {
|
|
118
|
+
const now = opWaveApprovedChanges([plan], grains);
|
|
119
|
+
return opWaveCoverRemainder(approved.filter((c) => c.target === target), now?.map((c) => ({ ...c, target })));
|
|
120
|
+
}
|
|
@@ -37,12 +37,28 @@
|
|
|
37
37
|
* not applies nothing and exits 0, since the job exists before the runs
|
|
38
38
|
* are known.
|
|
39
39
|
*
|
|
40
|
+
* With `runsAtHead` (#5046) the job takes its runs from the applied commit,
|
|
41
|
+
* as a job reading a committed spec does. The job carries
|
|
42
|
+
* `CHANT_WAVES_SPEC_RUNS=head`, and chant renders the job's own spec at the
|
|
43
|
+
* commit the job checked out (the pushed commit, a follow-on's
|
|
44
|
+
* `CHANT_WAVES_COMMIT`, or before merge the decided head), with
|
|
45
|
+
* `CHANT_WAVES_SPEC_BASE` set to the base commit beside `CHANT_WAVES_SPEC_AT`,
|
|
46
|
+
* so the command can work out what the change reaches. That spec is the
|
|
47
|
+
* one written over `specFile`: its waves' runs, shares and groups are the
|
|
48
|
+
* ones the job plans and applies. The gate policy, the holds, the hooks and
|
|
49
|
+
* the evidence rules are still read from the render at base, which carries
|
|
50
|
+
* no `CHANT_WAVES_SPEC_BASE`, so the change cannot loosen its own gate. A
|
|
51
|
+
* wave the base render does not have waits as `always`. The gate and record
|
|
52
|
+
* jobs of a split wave run the default branch's code and take the runs from
|
|
53
|
+
* the saved plan, so they render at base as before. The stand-down's render
|
|
54
|
+
* of a newer commit carries no `CHANT_WAVES_SPEC_BASE` either.
|
|
55
|
+
*
|
|
40
56
|
* Nothing here imports the wave runner, so the generators' bundles take
|
|
41
57
|
* the variables without it; `chant run wave` hands in its git reader.
|
|
42
58
|
*/
|
|
43
59
|
import type { OpWaveShowAtBase } from "./op-waves-run.js";
|
|
44
60
|
import type { OpWavesSpec } from "./op-waves.js";
|
|
45
|
-
export { RUNTIME_WAVES_SPEC_FLOOR } from "../release-floors.js";
|
|
61
|
+
export { RUNTIME_WAVES_SPEC_FLOOR, RUNTIME_WAVES_SPEC_RUNS_AT_HEAD_FLOOR } from "../release-floors.js";
|
|
46
62
|
/** The job variable that holds the product command printing the spec, as a JSON argv. */
|
|
47
63
|
export declare const OP_WAVES_SPEC_COMMAND_ENV = "CHANT_WAVES_SPEC_COMMAND";
|
|
48
64
|
/** The variable chant hands that command: the full commit to render the spec at. */
|
|
@@ -51,21 +67,38 @@ export declare const OP_WAVES_SPEC_AT_ENV = "CHANT_WAVES_SPEC_AT";
|
|
|
51
67
|
export declare const OP_WAVES_SPEC_FILE_ENV = "CHANT_WAVES_SPEC_FILE";
|
|
52
68
|
/** The `chant run wave` flag that renders the spec before the job runs. */
|
|
53
69
|
export declare const OP_WAVES_RENDER_SPEC_FLAG = "--render-spec";
|
|
70
|
+
/** The job variable that has the job take its runs from the applied commit (#5046): `head`. */
|
|
71
|
+
export declare const OP_WAVES_SPEC_RUNS_ENV = "CHANT_WAVES_SPEC_RUNS";
|
|
72
|
+
/** The variable chant hands the command in the job's own render under `runsAtHead` (#5046): the full base commit. */
|
|
73
|
+
export declare const OP_WAVES_SPEC_BASE_ENV = "CHANT_WAVES_SPEC_BASE";
|
|
54
74
|
/** `OpWavesPipelineOptions.renderSpec` (#4982). */
|
|
55
75
|
export interface OpWavesRenderSpec {
|
|
56
76
|
/** The product command that prints the spec at `CHANT_WAVES_SPEC_AT`, such as `["terragucci", "waves-spec"]`. */
|
|
57
77
|
command: string[];
|
|
78
|
+
/**
|
|
79
|
+
* The job takes its runs from the spec the command prints at the applied
|
|
80
|
+
* commit, and the rules from the one it prints at base (#5046). The jobs
|
|
81
|
+
* carry `CHANT_WAVES_SPEC_RUNS=head`. Default false: the job runs the
|
|
82
|
+
* spec printed at base.
|
|
83
|
+
*/
|
|
84
|
+
runsAtHead?: boolean;
|
|
58
85
|
}
|
|
59
86
|
/** What is wrong with a `renderSpec`, or nothing. */
|
|
60
87
|
export declare function opWavesRenderSpecProblems(value: unknown): string[];
|
|
61
88
|
/** The variables a wave job carries for `renderSpec`, or none without it. Throws on a `renderSpec` that is wrong. */
|
|
62
89
|
export declare function opWavesRenderSpecEnv(renderSpec: OpWavesRenderSpec | undefined): Record<string, string>;
|
|
90
|
+
/** Whether the job takes its runs from the applied commit (#5046): `CHANT_WAVES_SPEC_RUNS` is `head`. Throws on any other value. */
|
|
91
|
+
export declare function opWavesSpecRunsAtHead(env?: NodeJS.ProcessEnv): boolean;
|
|
63
92
|
/** The product command `CHANT_WAVES_SPEC_COMMAND` names. Throws when it is unset or not a JSON list of words. */
|
|
64
93
|
export declare function opWavesSpecCommandFromEnv(env?: NodeJS.ProcessEnv): string[];
|
|
65
94
|
/** Prints the spec at a full commit, or null when that commit has none. Injected for tests. */
|
|
66
95
|
export type OpWavesSpecRender = (sha: string) => string | null;
|
|
67
|
-
/**
|
|
68
|
-
|
|
96
|
+
/**
|
|
97
|
+
* {@link OpWavesSpecRender} through the product's command, run in `cwd`. Its
|
|
98
|
+
* standard error goes to the job's log. `extra` adds variables, such as
|
|
99
|
+
* `CHANT_WAVES_SPEC_BASE` for the job's own render at head (#5046).
|
|
100
|
+
*/
|
|
101
|
+
export declare function commandSpecRender(command: readonly string[], specFile: string, cwd: string, extra?: Record<string, string>): OpWavesSpecRender;
|
|
69
102
|
/**
|
|
70
103
|
* An {@link OpWaveShowAtBase} that reads `specFile` at any commit from
|
|
71
104
|
* `render`, once per commit, and every other file through `fallback`
|
|
@@ -88,13 +121,38 @@ export declare function renderOpWavesSpecFile(options: {
|
|
|
88
121
|
spec: OpWavesSpec;
|
|
89
122
|
sha: string;
|
|
90
123
|
};
|
|
124
|
+
/**
|
|
125
|
+
* The job's spec and the reader of the rules (#4982, #5046). `show` reads
|
|
126
|
+
* the spec at any commit through `render` (the rules at base, the
|
|
127
|
+
* stand-down's newer commit). The job's own spec is rendered at `base`, or
|
|
128
|
+
* with `runsAtHead` at `HEAD`, the commit the job checked out, through
|
|
129
|
+
* `headRender`, which the caller builds with `CHANT_WAVES_SPEC_BASE` set to
|
|
130
|
+
* the base commit's sha (it gets that sha). Either is written over
|
|
131
|
+
* `specFile`. `at` says where the job's spec came from, for the job's log.
|
|
132
|
+
*/
|
|
133
|
+
export declare function renderOpWavesJobSpec(options: {
|
|
134
|
+
specFile: string;
|
|
135
|
+
base: string;
|
|
136
|
+
cwd: string;
|
|
137
|
+
render: OpWavesSpecRender;
|
|
138
|
+
fallback: OpWaveShowAtBase;
|
|
139
|
+
parse: (text: string, where: string) => OpWavesSpec;
|
|
140
|
+
runsAtHead?: boolean;
|
|
141
|
+
headRender?: (baseSha: string) => OpWavesSpecRender;
|
|
142
|
+
}): {
|
|
143
|
+
spec: OpWavesSpec;
|
|
144
|
+
show: OpWaveShowAtBase;
|
|
145
|
+
sha: string;
|
|
146
|
+
at: "base" | "head";
|
|
147
|
+
};
|
|
91
148
|
/**
|
|
92
149
|
* Whether job `job` of wave `k` has anything in the rendered spec: a share
|
|
93
150
|
* past the wave's (or the group's) shares, or a group the wave does not
|
|
94
|
-
* have, has nothing. Undefined when it has; otherwise why not.
|
|
151
|
+
* have, has nothing. Undefined when it has; otherwise why not. `at` names
|
|
152
|
+
* the commit the spec was rendered at, `base` or `head` (#5046).
|
|
95
153
|
*/
|
|
96
154
|
export declare function renderedJobMissing(spec: OpWavesSpec, k: number, job: {
|
|
97
155
|
share?: number;
|
|
98
156
|
group?: string;
|
|
99
|
-
}): string | undefined;
|
|
157
|
+
}, at?: "base" | "head"): string | undefined;
|
|
100
158
|
//# sourceMappingURL=op-waves-render-spec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"op-waves-render-spec.d.ts","sourceRoot":"","sources":["../../src/op/op-waves-render-spec.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"op-waves-render-spec.d.ts","sourceRoot":"","sources":["../../src/op/op-waves-render-spec.ts"],"names":[],"mappings":"AAAA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