@intentius/chant 0.124.94 → 0.124.96
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 +2 -0
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +5 -4
- package/dist/cli/handlers/pr-comment.d.ts.map +1 -1
- package/dist/cli/handlers/pr-comment.js +11 -4
- 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 +10 -7
- 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/release-floors.d.ts +7 -1
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +11 -5
- package/dist/wave-runtime.mjs +272 -272
- package/dist/workspace/drift-cli.d.ts +9 -0
- package/dist/workspace/drift-cli.d.ts.map +1 -1
- package/dist/workspace/drift-cli.js +54 -5
- package/dist/workspace/drift-reader.d.ts +60 -0
- package/dist/workspace/drift-reader.d.ts.map +1 -0
- package/dist/workspace/drift-reader.js +81 -0
- package/dist/workspace/drift-reader.schema.json +44 -0
- package/dist/workspace/kinds.d.ts +15 -0
- package/dist/workspace/kinds.d.ts.map +1 -1
- package/dist/workspace/kinds.js +17 -0
- package/dist/workspace/workspace-kinds.schema.json +23 -0
- 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 +5 -4
- package/src/cli/handlers/pr-comment.ts +10 -4
- package/src/components/product-pipeline.ts +4 -2
- package/src/components/product-plan.ts +9 -2
- package/src/floor-table.data.ts +10 -7
- package/src/op/before-merge-decide.ts +74 -2
- package/src/op/op-waves-remainder.test.ts +2 -3
- package/src/op/op-waves-render-spec.test.ts +1 -2
- package/src/op/op-waves-split-resume.test.ts +2 -3
- package/src/release-floors.ts +14 -5
- package/src/workspace/drift-cli.ts +53 -4
- package/src/workspace/drift-reader.schema.json +44 -0
- package/src/workspace/drift-reader.test.ts +192 -0
- package/src/workspace/drift-reader.ts +104 -0
- package/src/workspace/kinds.ts +32 -1
- package/src/workspace/workspace-kinds.schema.json +23 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"before-merge-decide.d.ts","sourceRoot":"","sources":["../../src/op/before-merge-decide.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAsB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,wHAAwH;AACxH,MAAM,WAAW,oBAAoB;IACnC,uFAAuF;IACvF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2JAA2J;IAC3J,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,MAAM,GAA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,iBAAiB,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACjD,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;CACpB;AAOD,qFAAqF;AACrF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAE/E;AAED,+DAA+D;AAC/D,wBAAsB,sBAAsB,CAAC,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,YAAY,CAAC,CAmF7F;AAED,iHAAiH;AACjH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,CAAC;IACjB,EAAE,EAAE,iBAAiB,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,KAAK,EAAE,cAAc,CAAC;IACtB,GAAG,EAAE,QAAQ,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAAC;IAClD,MAAM,EAAE,WAAW,CAAC,sBAAsB,CAAC,QAAQ,CAAC,CAAC,CAAC;CACvD;AAED;;;;;;;;GAQG;AACH,wBAAsB,sBAAsB,CAAC,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAuClJ"}
|
|
@@ -140,3 +140,62 @@ export async function decideWavesBeforeMerge(i) {
|
|
|
140
140
|
const link = started.url ? ` (${started.url})` : "";
|
|
141
141
|
return { kind: "ran", text: `started the waves of ${i.op}${link} on ${at}'s head ${short(head)}${through} for ${i.user}${locks}; each wave's gate decides, and the run says when the head applied`, ...(started.url ? { url: started.url } : {}) };
|
|
142
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* `/<product> lock` and `/<product> unlock` on a pull request whose waves
|
|
145
|
+
* run before merge with the product plan's reach line and no plan locks
|
|
146
|
+
* (#5061), moved from terragucci's own comment job. `lock` takes the locks
|
|
147
|
+
* of what the reach line prints at stage apply, as an apply would, without
|
|
148
|
+
* applying; `unlock` releases every lock the pull request holds. The reach
|
|
149
|
+
* line runs in the job's checkout of the default branch, so none of the
|
|
150
|
+
* change's code runs.
|
|
151
|
+
*/
|
|
152
|
+
export async function decideLocksBeforeMerge(i) {
|
|
153
|
+
const t = commentTerms(i.forge);
|
|
154
|
+
const at = t.at(i.pr.number);
|
|
155
|
+
const typed = (kind) => `/${i.words.product} ${Object.entries(i.words.commands).find(([, c]) => c === kind)?.[0] ?? kind}`;
|
|
156
|
+
const reply = (text) => ({ kind: "reply", text });
|
|
157
|
+
const fail = (reason) => ({ kind: "fail", reason });
|
|
158
|
+
const list = (xs) => xs.map((x) => `\`${x}\``).join(", ");
|
|
159
|
+
if (!i.pr.sameRepo)
|
|
160
|
+
return reply(forkReply(i.words, i.forge));
|
|
161
|
+
if (i.kind === "unlock") {
|
|
162
|
+
let released;
|
|
163
|
+
try {
|
|
164
|
+
released = await i.unlock(i.pr.number);
|
|
165
|
+
}
|
|
166
|
+
catch (e) {
|
|
167
|
+
return fail(`could not release the locks of ${at} (${message(e)})`);
|
|
168
|
+
}
|
|
169
|
+
return reply(released.length > 0 ? `released ${list(released)}, which ${at} held, for ${i.user}` : `${at} holds no lock, so there is nothing to unlock`);
|
|
170
|
+
}
|
|
171
|
+
if (i.pr.state !== "open")
|
|
172
|
+
return reply(`${at} is not open, so it takes no lock`);
|
|
173
|
+
if (i.pr.base !== undefined && i.pr.base !== i.base)
|
|
174
|
+
return reply(`${at} targets ${i.pr.base}, not the default branch ${i.base}, so it takes no lock`);
|
|
175
|
+
const head = i.pr.headSha;
|
|
176
|
+
if (!head || !SHA.test(head))
|
|
177
|
+
return fail(`${at} names no head commit`);
|
|
178
|
+
if (!BRANCH.test(i.base) || i.base.split("/").some((s) => s === ".." || s === ""))
|
|
179
|
+
return fail(`the default branch ${JSON.stringify(i.base)} is not a branch name this job passes on`);
|
|
180
|
+
// The default branch's commit the change is measured from; the reach line fetches the head itself.
|
|
181
|
+
const baseRef = `refs/remotes/origin/${i.base}`;
|
|
182
|
+
const run = (args) => i.git(["git", ...args], { ...(i.cwd ? { cwd: i.cwd } : {}) });
|
|
183
|
+
const fetched = run(["fetch", "-q", "--no-tags", "origin", `+refs/heads/${i.base}:${baseRef}`]);
|
|
184
|
+
if (fetched.status !== 0)
|
|
185
|
+
return fail(`could not fetch ${i.base} (${fetched.stderr.trim() || `git exited ${fetched.status}`})`);
|
|
186
|
+
const baseSha = run(["rev-parse", baseRef]).stdout.trim();
|
|
187
|
+
if (!SHA.test(baseSha))
|
|
188
|
+
return fail(`could not read the commit of ${i.base}`);
|
|
189
|
+
let l;
|
|
190
|
+
try {
|
|
191
|
+
l = await i.lock(i.pr.number, head, baseSha, i.user, "lock");
|
|
192
|
+
}
|
|
193
|
+
catch (e) {
|
|
194
|
+
return fail(`could not take the locks of ${at} (${message(e)})`);
|
|
195
|
+
}
|
|
196
|
+
if (!l.ok)
|
|
197
|
+
return reply(l.text);
|
|
198
|
+
if (l.targets.length === 0)
|
|
199
|
+
return reply(`${at} reaches nothing at ${short(head)}, so it takes no lock`);
|
|
200
|
+
return reply(`locked ${list(l.targets)} for ${at} at ${short(head)} for ${i.user}, and nothing is ${i.words.verbs.apply[1]}; the locks hold until it merges or closes, or \`${typed("unlock")}\` releases them`);
|
|
201
|
+
}
|
package/dist/release-floors.d.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 declare const NEXT_RELEASE = "0.124.
|
|
22
|
+
export declare const NEXT_RELEASE = "0.124.96";
|
|
23
23
|
/** 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). */
|
|
24
24
|
export declare const LOCAL_CHANT_FLOOR = "0.124.86";
|
|
25
25
|
/** The first chant with `chant workspace ref-gate` (pre-receive, pre-push, check, status, attach, install) and `refs` in `.chant/trust.json`, the checks a ref update needs evidence for (#4867). */
|
|
@@ -174,6 +174,12 @@ export declare const OP_WAVES_REMAINDER_FLOOR = "0.124.94";
|
|
|
174
174
|
export declare const OP_WAVES_SPLIT_RESUME_FLOOR = "0.124.94";
|
|
175
175
|
/** The first chant whose `approvals.remainder` resumes the waves terragucci's own records resume (#5056): the terraform step gives a live choudoufu root's plan (`live-plan-set`) its `resourceDigests`, so its applied line names the changes, and the cover leaves out the cost member `(monthly cost)`, whose digest follows from the plans, on both sides. */
|
|
176
176
|
export declare const OP_WAVES_REMAINDER_PARITY_FLOOR = "0.124.94";
|
|
177
|
+
/** The first chant whose Op waves generators, in a product's workflow (`runIf`) with `beforeMerge` and a spec `control`, run the control job on the default branch's push, outside the product's `runIf` and after its `firstWaveNeeds` jobs, and tell the control repo the waves applied at the pushed commit without adding up outcomes, on GitHub, Forgejo and GitLab (#5060). */
|
|
178
|
+
export declare const OP_WAVES_CONTROL_BEFORE_MERGE_FLOOR = "0.124.95";
|
|
179
|
+
/** The first chant whose waves before merge lock and unlock on a comment by the product plan's reach line (#5061): with `wavesBeforeMerge` and `productPlan.reach`, and no `locks: "plan"`, the comment job (GitHub, Forgejo) and the note poll (GitLab, `chantNoteRuns`) answer `/<product> lock` on an open pull request by taking the locks of what the reach line prints at stage `apply` in `_locks/<reach.gate>.json` without applying (`decideLocksBeforeMerge`), refused with the holder named, and `/<product> unlock` by releasing the pull request's locks; and the product plan takes `reach` without `locks: "plan"` under `wavesBeforeMerge`, writing no reach lock job. */
|
|
180
|
+
export declare const WAVES_BEFORE_MERGE_LOCKS_FLOOR = "0.124.95";
|
|
181
|
+
/** The first chant whose kinds file takes `drift: { reader, config }` beside `graph` and whose `chant workspace drift --member` reads a member of such a kind with that module, `(input: { dir, config, member, observedAt, read?, resource?, stack? }) => DriftReaderOutput` from `@intentius/chant/workspace/drift-reader`, checked against `drift-reader.schema.json` (#5068). */
|
|
182
|
+
export declare const KIND_DRIFT_READER_FLOOR = "0.124.96";
|
|
177
183
|
/** 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). */
|
|
178
184
|
export declare const GITLAB_WAVE_EVIDENCE_RETRY_FLOOR = "0.124.89";
|
|
179
185
|
/** 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). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-floors.d.ts","sourceRoot":"","sources":["../src/release-floors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,YAAY,aAAa,CAAC;AAEvC,+SAA+S;AAC/S,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,qMAAqM;AACrM,eAAO,MAAM,cAAc,aAAa,CAAC;AAEzC,8KAA8K;AAC9K,eAAO,MAAM,4BAA4B,aAAa,CAAC;AAEvD,0LAA0L;AAC1L,eAAO,MAAM,kCAAkC,aAAa,CAAC;AAE7D,6SAA6S;AAC7S,eAAO,MAAM,8BAA8B,aAAa,CAAC;AAEzD,sUAAsU;AACtU,eAAO,MAAM,4BAA4B,aAAa,CAAC;AAEvD,kdAAkd;AACld,eAAO,MAAM,6BA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B,aAAa,CAAC;AAE9C,oQAAoQ;AACpQ,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,mSAAmS;AACnS,eAAO,MAAM,mBAAmB,aAAa,CAAC;AAE9C,6OAA6O;AAC7O,eAAO,MAAM,mBAAmB,aAAa,CAAC;AAE9C,6OAA6O;AAC7O,eAAO,MAAM,0BAA0B,aAAa,CAAC;AAErD,yNAAyN;AACzN,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD,wUAAwU;AACxU,eAAO,MAAM,0BAA0B,aAAa,CAAC;AAErD,6XAA6X;AAC7X,eAAO,MAAM,wBAAwB,aAAa,CAAC;AAEnD,6YAA6Y;AAC7Y,eAAO,MAAM,qCAAqC,aAAa,CAAC;AAEhE,2oBAA2oB;AAC3oB,eAAO,MAAM,wBAAwB,aAAa,CAAC;AAEnD,+bAA+b;AAC/b,eAAO,MAAM,2BAA2B,aAAa,CAAC;AAEtD,kWAAkW;AAClW,eAAO,MAAM,+BAA+B,aAAa,CAAC;AAE1D,qXAAqX;AACrX,eAAO,MAAM,mCAAmC,aAAa,CAAC;AAE9D,0pBAA0pB;AAC1pB,eAAO,MAAM,8BAA8B,aAAa,CAAC;AAEzD,qXAAqX;AACrX,eAAO,MAAM,uBAAuB,aAAe,CAAC;AAEpD,wTAAwT;AACxT,eAAO,MAAM,gCAAgC,aAAa,CAAC;AAE3D,geAAge;AAChe,eAAO,MAAM,6BAA6B,aAAa,CAAC"}
|
package/dist/release-floors.js
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.96";
|
|
23
23
|
/** 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). */
|
|
24
24
|
export const LOCAL_CHANT_FLOOR = "0.124.86";
|
|
25
25
|
/** The first chant with `chant workspace ref-gate` (pre-receive, pre-push, check, status, attach, install) and `refs` in `.chant/trust.json`, the checks a ref update needs evidence for (#4867). */
|
|
@@ -167,13 +167,19 @@ export const TARGET_SIGNED_CHECKS_FLOOR = "0.124.89";
|
|
|
167
167
|
/** 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). */
|
|
168
168
|
export const RUNTIME_WAVES_SPEC_FLOOR = "0.124.89";
|
|
169
169
|
/** The first chant whose Op waves `renderSpec` takes `runsAtHead` (the jobs carry `CHANT_WAVES_SPEC_RUNS=head`): the job's own spec is rendered at the applied commit, with `CHANT_WAVES_SPEC_BASE` set to the base commit beside `CHANT_WAVES_SPEC_AT`, so the runs a change adds apply at its merge, while the gate policy, holds, hooks and evidence rules still come from the render at base (#5046). */
|
|
170
|
-
export const RUNTIME_WAVES_SPEC_RUNS_AT_HEAD_FLOOR =
|
|
170
|
+
export const RUNTIME_WAVES_SPEC_RUNS_AT_HEAD_FLOOR = "0.124.94";
|
|
171
171
|
/** The first chant whose Op waves keep the record of an apply under an approval themselves (#5047): with `approvals.spend`, `approvals.remainder` writes each change the approved plans make, the commit and the run on the applied line (a split wave's gate job writes it), the job that applies the whole wave or the record job writes how the apply ended, and a wave run again at that commit applies the rest under the same approval when its plans make only changes the stopped apply did not finish; a wave that plans no change closes a stopped apply, and `approvals.spendStanding` spends an approval of the digest a wave its gate let through applies. */
|
|
172
|
-
export const OP_WAVES_REMAINDER_FLOOR =
|
|
172
|
+
export const OP_WAVES_REMAINDER_FLOOR = "0.124.94";
|
|
173
173
|
/** The first chant whose `chant run resume` starts a killed split apply again on GitLab and Forgejo (#5052): under `approvals.remainder` the gate job's applied line names its run there too, GitLab's with the wave's applying and record jobs by name (`retry`), which the resume retries, and Forgejo's with the run's dispatch inputs (`inputs`), which the resume dispatches with, so the new run applies the rest at the same decided head or commit. */
|
|
174
|
-
export const OP_WAVES_SPLIT_RESUME_FLOOR =
|
|
174
|
+
export const OP_WAVES_SPLIT_RESUME_FLOOR = "0.124.94";
|
|
175
175
|
/** The first chant whose `approvals.remainder` resumes the waves terragucci's own records resume (#5056): the terraform step gives a live choudoufu root's plan (`live-plan-set`) its `resourceDigests`, so its applied line names the changes, and the cover leaves out the cost member `(monthly cost)`, whose digest follows from the plans, on both sides. */
|
|
176
|
-
export const OP_WAVES_REMAINDER_PARITY_FLOOR =
|
|
176
|
+
export const OP_WAVES_REMAINDER_PARITY_FLOOR = "0.124.94";
|
|
177
|
+
/** The first chant whose Op waves generators, in a product's workflow (`runIf`) with `beforeMerge` and a spec `control`, run the control job on the default branch's push, outside the product's `runIf` and after its `firstWaveNeeds` jobs, and tell the control repo the waves applied at the pushed commit without adding up outcomes, on GitHub, Forgejo and GitLab (#5060). */
|
|
178
|
+
export const OP_WAVES_CONTROL_BEFORE_MERGE_FLOOR = "0.124.95";
|
|
179
|
+
/** The first chant whose waves before merge lock and unlock on a comment by the product plan's reach line (#5061): with `wavesBeforeMerge` and `productPlan.reach`, and no `locks: "plan"`, the comment job (GitHub, Forgejo) and the note poll (GitLab, `chantNoteRuns`) answer `/<product> lock` on an open pull request by taking the locks of what the reach line prints at stage `apply` in `_locks/<reach.gate>.json` without applying (`decideLocksBeforeMerge`), refused with the holder named, and `/<product> unlock` by releasing the pull request's locks; and the product plan takes `reach` without `locks: "plan"` under `wavesBeforeMerge`, writing no reach lock job. */
|
|
180
|
+
export const WAVES_BEFORE_MERGE_LOCKS_FLOOR = "0.124.95";
|
|
181
|
+
/** The first chant whose kinds file takes `drift: { reader, config }` beside `graph` and whose `chant workspace drift --member` reads a member of such a kind with that module, `(input: { dir, config, member, observedAt, read?, resource?, stack? }) => DriftReaderOutput` from `@intentius/chant/workspace/drift-reader`, checked against `drift-reader.schema.json` (#5068). */
|
|
182
|
+
export const KIND_DRIFT_READER_FLOOR = NEXT_RELEASE;
|
|
177
183
|
/** 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). */
|
|
178
184
|
export const GITLAB_WAVE_EVIDENCE_RETRY_FLOOR = "0.124.89";
|
|
179
185
|
/** 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). */
|