@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
|
@@ -449,7 +449,7 @@ export declare const PR_UNLOCK_JOB = "unlock";
|
|
|
449
449
|
* With a product's `bin` (its words), the line runs through it, as the comment lock jobs do
|
|
450
450
|
* (INTENTIUS/plywood#22): a product's job image need not carry `chant` on PATH.
|
|
451
451
|
*/
|
|
452
|
-
export declare function prLockCommand(forge: ForgeKind, bin?: string): string;
|
|
452
|
+
export declare function prLockCommand(forge: ForgeKind, bin?: string, dir?: string): string;
|
|
453
453
|
/** `chant unlock` for the pull request that closed; reads `PR_NUMBER`. */
|
|
454
454
|
export declare const PR_UNLOCK_COMMAND = "chant unlock --pr \"$PR_NUMBER\"";
|
|
455
455
|
/** {@link PR_UNLOCK_COMMAND} through a product's `bin`, as {@link prLockCommand} takes it. */
|
|
@@ -684,9 +684,13 @@ export declare const PR_PLAN_NOTE_JOB = "plan-note";
|
|
|
684
684
|
* merge request's files, so no job in it holds the token. `pr-post --open`
|
|
685
685
|
* asks GitLab for each open merge request's plan job and reads its report
|
|
686
686
|
* from the job's artifacts.
|
|
687
|
+
*
|
|
688
|
+
* `output` (#5003) is the report directory, `--output`: a product plan's
|
|
689
|
+
* `reportDir`, default {@link PR_LOOP_REPORT_DIR}.
|
|
687
690
|
*/
|
|
688
691
|
export declare function prLoopPostJob(forge: ForgeKind, env: string, member?: string, words?: Pick<CiProductWordsInput, "bin">, opts?: {
|
|
689
692
|
staleNotes?: boolean;
|
|
693
|
+
output?: string;
|
|
690
694
|
} & Pick<PrLoopPipelineOptions, "respond" | "decide">): {
|
|
691
695
|
command: string;
|
|
692
696
|
env: Record<string, string>;
|
|
@@ -698,9 +702,13 @@ export declare const PR_STALE_JOB = "stale-notes";
|
|
|
698
702
|
* `staleNotes`: on a push to the target branch, at its commit, `pr-post
|
|
699
703
|
* --stale` marks each open pull request's note posted against another
|
|
700
704
|
* commit stale and sets its plan status back to pending. It names the plan
|
|
701
|
-
* comment with `previewComment`. Undefined without `staleNotes`.
|
|
705
|
+
* comment with `previewComment`. Undefined without `staleNotes`. A list
|
|
706
|
+
* of members (#4987, a product plan's targets) marks each one's note.
|
|
707
|
+
* `contexts` (#5003, a product plan's `statusContext`) are the plan
|
|
708
|
+
* statuses it sets back to pending, one per member in the same order (one
|
|
709
|
+
* for none), as `--context`.
|
|
702
710
|
*/
|
|
703
|
-
export declare function prStaleJob(forge: ForgeKind, env: string, options?: Pick<PrLoopPipelineOptions, "staleNotes" | "previewComment" | "branch" | "words">, member?: string): {
|
|
711
|
+
export declare function prStaleJob(forge: ForgeKind, env: string, options?: Pick<PrLoopPipelineOptions, "staleNotes" | "previewComment" | "branch" | "words">, member?: string | readonly string[], contexts?: readonly string[]): {
|
|
704
712
|
command: string;
|
|
705
713
|
env: Record<string, string>;
|
|
706
714
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/pr-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqFG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAG7C,OAAO,EAA+D,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAMxG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KA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AG5D;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAE1D;AAOD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,gGAAgG;AAChG,eAAO,MAAM,iBAAiB,eAAe,CAAC;AAE9C,kGAAkG;AAClG,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;IAC1D,8FAA8F;IAC9F,OAAO,EAAE,MAAM,CAAC;IAChB,yGAAyG;IACzG,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,gGAAgG;AAChG,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,GAAE,qBAA0B,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,EAAE,CAkC5G"}
|
|
@@ -215,8 +215,9 @@ export const PR_UNLOCK_JOB = "unlock";
|
|
|
215
215
|
* With a product's `bin` (its words), the line runs through it, as the comment lock jobs do
|
|
216
216
|
* (INTENTIUS/plywood#22): a product's job image need not carry `chant` on PATH.
|
|
217
217
|
*/
|
|
218
|
-
export function prLockCommand(forge, bin) {
|
|
219
|
-
|
|
218
|
+
export function prLockCommand(forge, bin, dir = PR_LOOP_REPORT_DIR) {
|
|
219
|
+
// #5003: a product plan's report directory.
|
|
220
|
+
return withProductBin(["chant", "lock", "--from-report", `${dir}/pr-plan.json`, "--pr", '"$PR_NUMBER"', "--head", '"$HEAD_SHA"', "--stage", "plan", "--forge", forge].join(" "), bin);
|
|
220
221
|
}
|
|
221
222
|
/** `chant unlock` for the pull request that closed; reads `PR_NUMBER`. */
|
|
222
223
|
export const PR_UNLOCK_COMMAND = 'chant unlock --pr "$PR_NUMBER"';
|
|
@@ -588,6 +589,9 @@ export const PR_PLAN_NOTE_JOB = "plan-note";
|
|
|
588
589
|
* merge request's files, so no job in it holds the token. `pr-post --open`
|
|
589
590
|
* asks GitLab for each open merge request's plan job and reads its report
|
|
590
591
|
* from the job's artifacts.
|
|
592
|
+
*
|
|
593
|
+
* `output` (#5003) is the report directory, `--output`: a product plan's
|
|
594
|
+
* `reportDir`, default {@link PR_LOOP_REPORT_DIR}.
|
|
591
595
|
*/
|
|
592
596
|
export function prLoopPostJob(forge, env, member, words, opts = {}) {
|
|
593
597
|
// #4629: the responses as CHANT_RESPOND, and with the description check its decide service on the line.
|
|
@@ -599,15 +603,16 @@ export function prLoopPostJob(forge, env, member, words, opts = {}) {
|
|
|
599
603
|
function prLoopPostJobBase(forge, env, member, words, opts) {
|
|
600
604
|
// #4628: with staleNotes the note carries the target branch's commit, so a later push can mark it stale.
|
|
601
605
|
const tip = opts.staleNotes ? ["--tip", '"$TIP_SHA"'] : [];
|
|
606
|
+
const output = opts.output ?? PR_LOOP_REPORT_DIR;
|
|
602
607
|
if (forge === "gitlab") {
|
|
603
608
|
return {
|
|
604
|
-
command: withProductBin(["chant", "components", "pr-post", "--open", "--env", env, "--output",
|
|
609
|
+
command: withProductBin(["chant", "components", "pr-post", "--open", "--env", env, "--output", output, "--forge", forge, ...(member ? ["--member", member] : []), ...tip].join(" "), words?.bin),
|
|
605
610
|
env: opts.staleNotes ? { TIP_SHA: "$CI_COMMIT_SHA" } : {},
|
|
606
611
|
};
|
|
607
612
|
}
|
|
608
613
|
const command = [
|
|
609
614
|
"chant", "components", "pr-post", "--pr", '"$PR_NUMBER"', "--head", '"$HEAD_SHA"',
|
|
610
|
-
"--env", env, "--output",
|
|
615
|
+
"--env", env, "--output", output, "--forge", forge,
|
|
611
616
|
...(member ? ["--member", member] : []),
|
|
612
617
|
"--result", '"$PLAN_RESULT"',
|
|
613
618
|
...tip,
|
|
@@ -630,16 +635,24 @@ export const PR_STALE_JOB = "stale-notes";
|
|
|
630
635
|
* `staleNotes`: on a push to the target branch, at its commit, `pr-post
|
|
631
636
|
* --stale` marks each open pull request's note posted against another
|
|
632
637
|
* commit stale and sets its plan status back to pending. It names the plan
|
|
633
|
-
* comment with `previewComment`. Undefined without `staleNotes`.
|
|
638
|
+
* comment with `previewComment`. Undefined without `staleNotes`. A list
|
|
639
|
+
* of members (#4987, a product plan's targets) marks each one's note.
|
|
640
|
+
* `contexts` (#5003, a product plan's `statusContext`) are the plan
|
|
641
|
+
* statuses it sets back to pending, one per member in the same order (one
|
|
642
|
+
* for none), as `--context`.
|
|
634
643
|
*/
|
|
635
|
-
export function prStaleJob(forge, env, options = {}, member) {
|
|
644
|
+
export function prStaleJob(forge, env, options = {}, member, contexts) {
|
|
636
645
|
if (!options.staleNotes)
|
|
637
646
|
return undefined;
|
|
638
647
|
const words = resolveProductWords(options.words);
|
|
648
|
+
const members = member === undefined ? [] : typeof member === "string" ? [member] : [...member];
|
|
649
|
+
if (contexts !== undefined && contexts.length !== Math.max(1, members.length))
|
|
650
|
+
throw new Error(`the stale job sets back ${contexts.length} plan statuses for ${members.length} members; give one context a member`);
|
|
639
651
|
const command = [
|
|
640
652
|
"chant", "components", "pr-post", "--stale", "--tip", '"$TIP_SHA"', "--env", env, "--forge", forge,
|
|
641
653
|
...(options.branch ? ["--branch", JSON.stringify(options.branch)] : []),
|
|
642
|
-
...(
|
|
654
|
+
...members.flatMap((m) => ["--member", m]),
|
|
655
|
+
...(contexts ?? []).flatMap((c) => ["--context", c]),
|
|
643
656
|
...(options.previewComment ? ["--preview-comment"] : []),
|
|
644
657
|
].join(" ");
|
|
645
658
|
return {
|
|
@@ -26,7 +26,7 @@ import { type ControlNoteCheckout } from "../control/dispatch.js";
|
|
|
26
26
|
import { type CiProductCommand, type CiProductWords, type CiProductWordsInput } from "../ci-product-words.js";
|
|
27
27
|
import { type PrActionJob, type PrCommentLockJob, type PrCommentPreviewJob, type PrLoopJob, type PrLoopPipelineOptions } from "./pr-pipeline.js";
|
|
28
28
|
import type { DriverComponent } from "./driver.js";
|
|
29
|
-
import type { ScheduledOpSpec } from "../lexicon.js";
|
|
29
|
+
import type { OpWavesPipelineOptions, ScheduledOpSpec } from "../lexicon.js";
|
|
30
30
|
import type { CiRunner } from "../ci-jobs.js";
|
|
31
31
|
import { type OpAgentSpec } from "../ci-agent.js";
|
|
32
32
|
import { type OpCommitSpec } from "../ci-commit.js";
|
|
@@ -35,6 +35,8 @@ import { type ProductPlanJob, type ProductPlanOptions, type ProductPlanReachLock
|
|
|
35
35
|
import { type PipelineEvidence } from "../ci-evidence-jobs.js";
|
|
36
36
|
import { type PrCheckJob, type PrRefGateJob } from "./pr-checks.js";
|
|
37
37
|
import { PR_COMMENT_JOB, type CommentJobs } from "../ci-comment-commands.js";
|
|
38
|
+
import type { OpWavesBeforeMerge } from "../op/before-merge.js";
|
|
39
|
+
import type { PrApplyRequire } from "../pr-requires.js";
|
|
38
40
|
/** Where the generator writes a product's waves spec, which chant reads at base (#4550). */
|
|
39
41
|
export declare const PRODUCT_WAVES_SPEC_DIR = ".chant/op-waves";
|
|
40
42
|
/** The waves spec file of op `name`: `.chant/op-waves/<name>.spec.json`. */
|
|
@@ -137,6 +139,42 @@ export interface ProductPipelineOptions extends Omit<PrLoopPipelineOptions, "wor
|
|
|
137
139
|
* there.
|
|
138
140
|
*/
|
|
139
141
|
commentJob?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Waves before merge (#4984, maintainer decision 2026-11-10): `/<product>
|
|
144
|
+
* apply [wave-<n>]` on an open pull request runs the waves on its head.
|
|
145
|
+
* The comment job (GitHub, Forgejo; needs `commentJob`) or the note poll
|
|
146
|
+
* (GitLab; needs `noteCommands`) decides it by the product plan's rules
|
|
147
|
+
* (../op/before-merge-decide.ts): this repository's pull request into the
|
|
148
|
+
* default branch, its head unmoved, `requires` met, every plan status
|
|
149
|
+
* passed on the head, none of `pipelineFiles` touched, and with the
|
|
150
|
+
* product plan's `reach` the locks at stage apply. It records the head
|
|
151
|
+
* and the decision's digest on `chant/lifecycle` and starts the waves
|
|
152
|
+
* workflow for it, whose guard admits that head alone. After the last
|
|
153
|
+
* wave, `merge: "auto"` merges the pull request at that head and releases
|
|
154
|
+
* its locks. Needs `waves` (or `componentWaves`).
|
|
155
|
+
*/
|
|
156
|
+
wavesBeforeMerge?: ProductWavesBeforeMerge;
|
|
157
|
+
/**
|
|
158
|
+
* The apply statuses (#4987): the waves workflow posts `<product>/apply`
|
|
159
|
+
* (`<product>/apply/<member>` for a member) on the commit the waves
|
|
160
|
+
* applied, from a job after each wave that runs none of the change's
|
|
161
|
+
* code (`@intentius/chant/op/apply-status`): pending after each wave,
|
|
162
|
+
* success after the last, failed when a run failed. Needs `waves` (or
|
|
163
|
+
* `componentWaves`); the product passes `waves.pipeline` on when it
|
|
164
|
+
* renders them.
|
|
165
|
+
*/
|
|
166
|
+
applyStatus?: boolean;
|
|
167
|
+
}
|
|
168
|
+
/** {@link ProductPipelineOptions.wavesBeforeMerge} (#4984). */
|
|
169
|
+
export interface ProductWavesBeforeMerge {
|
|
170
|
+
/** The requires the forge is asked before the apply (`apply.requires`). Default every one: approved, mergeable, undiverged, checks. */
|
|
171
|
+
requires?: PrApplyRequire[];
|
|
172
|
+
/** `auto`: merge after the last wave, and release the locks. `manual` (default): reply that it is ready. */
|
|
173
|
+
merge?: "auto" | "manual";
|
|
174
|
+
/** The merge token's secret or CI/CD variable, with `merge: "auto"` (needed on Forgejo and GitLab). */
|
|
175
|
+
mergeTokenSecret?: string;
|
|
176
|
+
/** Paths a change may not touch to apply before merge; one ending in `/` is a directory. Default the forge's workflow directory and `.chant/op-waves/`. */
|
|
177
|
+
pipelineFiles?: string[];
|
|
140
178
|
}
|
|
141
179
|
/** The comment job (#4946): its command, the values it reads, and the comment prefixes that start it. */
|
|
142
180
|
export interface ProductCommentJob {
|
|
@@ -177,11 +215,24 @@ export interface ProductPipelineJobs {
|
|
|
177
215
|
applyBeforeMerge?: PrLoopJob;
|
|
178
216
|
/** The comment each command answers, `/<product> <word>`, for the commands the pipeline has a job for. */
|
|
179
217
|
comments: Partial<Record<CiProductCommand, string>>;
|
|
180
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* The apply on merge: the spec with the words' names, its file, and a job
|
|
220
|
+
* per wave (per share or group). With `wavesBeforeMerge` (#4984),
|
|
221
|
+
* `beforeMerge` is the generators' `OpWavesPipelineOptions.beforeMerge`:
|
|
222
|
+
* the product passes it on when it renders the waves.
|
|
223
|
+
*/
|
|
181
224
|
waves?: {
|
|
182
225
|
spec: OpWavesSpec;
|
|
183
226
|
specFile: string;
|
|
184
227
|
jobs: OpWaveJob[];
|
|
228
|
+
beforeMerge?: OpWavesBeforeMerge;
|
|
229
|
+
/**
|
|
230
|
+
* What the generators take from the pipeline (#4987): `beforeMerge`,
|
|
231
|
+
* `applyStatus` and, with `staleNotes`, the stale marking job that runs
|
|
232
|
+
* beside wave 1 on a push (one `--member` per product plan target). The
|
|
233
|
+
* product spreads it into the `OpWavesPipelineOptions` it renders with.
|
|
234
|
+
*/
|
|
235
|
+
pipeline: Pick<OpWavesPipelineOptions, "beforeMerge" | "applyStatus" | "staleNotes">;
|
|
185
236
|
};
|
|
186
237
|
/**
|
|
187
238
|
* The comment lock and unlock jobs (#4588), under `locks: "plan"`:
|
|
@@ -221,6 +272,7 @@ export interface ProductPipelineJobs {
|
|
|
221
272
|
noteCommands?: {
|
|
222
273
|
command: string;
|
|
223
274
|
runner?: CiRunner;
|
|
275
|
+
env?: Record<string, string>;
|
|
224
276
|
};
|
|
225
277
|
/**
|
|
226
278
|
* The agent (#4616), with `agent`: the comment it answers, `/<product>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/product-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAgE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChI,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,
|
|
1
|
+
{"version":3,"file":"product-pipeline.d.ts","sourceRoot":"","sources":["../../src/components/product-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAgE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChI,OAAO,EAAuB,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAOL,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAoL,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,KAAK,SAAS,EAAE,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAChU,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,EAAqB,KAAK,YAAY,EAAE,MAAM,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wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,GAAG,iBAAiB,CAU/G;AAED,sGAAsG;AACtG,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAE1E"}
|
|
@@ -23,15 +23,17 @@
|
|
|
23
23
|
import { layerWaves } from "../gated-waves.js";
|
|
24
24
|
import { opWaveBinArgv, opWaveJobs, opWavesControlTarget } from "../op/op-waves.js";
|
|
25
25
|
import { controlNoteCheckout } from "../control/dispatch.js";
|
|
26
|
-
import { assertProductWords, CHANT_WORDS, CI_PRODUCT_COMMANDS, commentLine, } from "../ci-product-words.js";
|
|
26
|
+
import { assertProductWords, CHANT_WORDS, CI_PRODUCT_COMMANDS, commentLine, productStatusContext, } from "../ci-product-words.js";
|
|
27
27
|
import { checkJobOptions, PR_LOOP_REPORT_DIR, prActionJob, prCommentLockJobs, prCommentPreviewJob, prLoopJobs, prLoopPostJob, prLoopRunner, prNoteCommandsJob, prStaleJob, withProductBin } from "./pr-pipeline.js";
|
|
28
28
|
import { resolveAgentSpec } from "../ci-agent.js";
|
|
29
29
|
import { resolveCommitSpec } from "../ci-commit.js";
|
|
30
|
-
import { planEvidenceOf, productPlanJobs, productPlanReachLock } from "./product-plan.js";
|
|
30
|
+
import { planEvidenceOf, productPlanContext, productPlanJobs, productPlanReachLock } from "./product-plan.js";
|
|
31
31
|
import { gitlabOpenEvidenceDir } from "../ci-evidence-jobs.js";
|
|
32
32
|
import { prCheckJob, prRefGateJob } from "./pr-checks.js";
|
|
33
33
|
import { COMMENT_JOBS_ENV, PR_COMMENT_JOB } from "../ci-comment-commands.js";
|
|
34
34
|
import { GITHUB_JOB_TOKEN } from "../ci-jobs.js";
|
|
35
|
+
import { defaultPipelineFiles } from "../op/before-merge-decide.js";
|
|
36
|
+
import { LOCK_REACH_ENV } from "../lifecycle/reach-locks.js";
|
|
35
37
|
/** Where the generator writes a product's waves spec, which chant reads at base (#4550). */
|
|
36
38
|
export const PRODUCT_WAVES_SPEC_DIR = ".chant/op-waves";
|
|
37
39
|
/** The waves spec file of op `name`: `.chant/op-waves/<name>.spec.json`. */
|
|
@@ -124,7 +126,9 @@ export function productPipelineJobs(forge, env, options) {
|
|
|
124
126
|
// #4946: the comment job answers every command but a commit word (the commit job's) with a reply, so the words may name any.
|
|
125
127
|
const answered = options.commentJob ? [...new Set([...jobs, ...CI_PRODUCT_COMMANDS.filter((c) => c !== "commit")])] : jobs;
|
|
126
128
|
const words = assertProductWords({ ...options.words, applyMode }, { jobs: answered });
|
|
127
|
-
const { waves: given, wavesSpecFile, member, agent: _agent, commits: _commits, actions: _actions, componentWaves, productPlan, evidence, commentJob: _commentJob, ...loop } = options;
|
|
129
|
+
const { waves: given, wavesSpecFile, member, agent: _agent, commits: _commits, actions: _actions, componentWaves, productPlan, evidence, commentJob: _commentJob, wavesBeforeMerge, applyStatus: _applyStatus, ...loop } = options;
|
|
130
|
+
if (options.applyStatus && !given && !componentWaves)
|
|
131
|
+
throw new Error("applyStatus posts the waves' apply statuses, and there are none: give waves (or componentWaves)");
|
|
128
132
|
const { respond } = options;
|
|
129
133
|
// #4629: the pull request loop puts the responses on the apply and note jobs, as `chant build --pr-loop --respond` does.
|
|
130
134
|
const prLoop = { ...loop, words, gate: options.gate ?? words.prGate };
|
|
@@ -172,7 +176,15 @@ export function productPipelineJobs(forge, env, options) {
|
|
|
172
176
|
const action = prActionJob(forge, prLoop);
|
|
173
177
|
if (action)
|
|
174
178
|
out.action = { ...action, ...(prLoopRunner(options, "apply") !== undefined ? { runner: prLoopRunner(options, "apply") } : {}) };
|
|
175
|
-
|
|
179
|
+
// #4987: a product plan's notes are marked from the waves workflow's push run, one --member per target, naming the re-plan comment.
|
|
180
|
+
// #5003: with the product's status context, the stale job sets that status back to pending, one a target.
|
|
181
|
+
const planContexts = productPlan?.statusContext !== undefined ? out.productPlan.map((p) => productPlanContext(p, words)) : undefined;
|
|
182
|
+
const planStale = productPlan
|
|
183
|
+
? prStaleJob(forge, env, { ...prLoop, ...(productPlan.replan ? { previewComment: true } : {}) }, productPlan.targets?.map((t) => t.name) ?? member, planContexts)
|
|
184
|
+
: undefined;
|
|
185
|
+
if (planStale && !options.waves && !options.componentWaves)
|
|
186
|
+
throw new Error("staleNotes with the product plan marks the notes from the waves workflow's push run, beside wave 1, and there are no waves: give waves (or componentWaves), or drop staleNotes");
|
|
187
|
+
const stale = productPlan ? undefined : prStaleJob(forge, env, prLoop, member);
|
|
176
188
|
if (stale)
|
|
177
189
|
out.stale = { ...stale, ...defaultRunner };
|
|
178
190
|
// #4785: GitLab's comment commands, polled from the notes; waves on merge are retried by an apply on a merged merge request.
|
|
@@ -201,6 +213,36 @@ export function productPipelineJobs(forge, env, options) {
|
|
|
201
213
|
const spec = given ?? (componentWaves
|
|
202
214
|
? componentWavesSpec(componentWaves.components, words, componentWaveSteps({ ...(words.bin ? { bin: words.bin } : {}), env, base: componentWaves.base ?? "HEAD^1", ...(member ? { member } : {}), op, gate: prLoop.gate }), { ...(componentWaves.waveGate ? { gate: componentWaves.waveGate } : {}) })
|
|
203
215
|
: undefined);
|
|
216
|
+
// #4984: the waves before merge: the comment job (the note poll on GitLab) decides an open pull request's apply and starts them.
|
|
217
|
+
const wavesOp = spec ? (words.op ?? spec.name) : undefined;
|
|
218
|
+
let bmJobs;
|
|
219
|
+
if (wavesBeforeMerge) {
|
|
220
|
+
if (!spec || !wavesOp)
|
|
221
|
+
throw new Error("wavesBeforeMerge runs the waves on an open pull request's head, and there are none: give waves (or componentWaves)");
|
|
222
|
+
if (options.applyBeforeMerge)
|
|
223
|
+
throw new Error("wavesBeforeMerge and applyBeforeMerge both answer an open pull request's apply; give one");
|
|
224
|
+
if (forge === "gitlab" ? !options.noteCommands : !options.commentJob)
|
|
225
|
+
throw new Error(`wavesBeforeMerge is decided by ${forge === "gitlab" ? "the note poll: set noteCommands" : "the comment job: set commentJob"}`);
|
|
226
|
+
const targets = productPlan?.targets?.map((t) => t.name);
|
|
227
|
+
bmJobs = {
|
|
228
|
+
...(forge !== "gitlab" ? { workflow: `${wavesOp}.yml` } : {}),
|
|
229
|
+
...(wavesBeforeMerge.requires ? { requires: [...wavesBeforeMerge.requires] } : {}),
|
|
230
|
+
// #5003: the product's own status contexts, when it named them.
|
|
231
|
+
plan: planContexts ?? (targets?.length ? targets.map((t) => productStatusContext(words, "plan", t)) : [productStatusContext(words, "plan", member)]),
|
|
232
|
+
pipelineFiles: wavesBeforeMerge.pipelineFiles ?? defaultPipelineFiles(forge),
|
|
233
|
+
...(productPlan?.reach ? { locks: { ...(productPlan.reach.gate ? { gate: productPlan.reach.gate } : {}) } } : {}),
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
// #4984: GitLab's note poll writes a wave stop for a merged merge request, and decides the waves before merge.
|
|
237
|
+
if (out.noteCommands && spec && wavesOp) {
|
|
238
|
+
out.noteCommands = {
|
|
239
|
+
...out.noteCommands,
|
|
240
|
+
env: {
|
|
241
|
+
[COMMENT_JOBS_ENV]: JSON.stringify({ waves: { op: wavesOp, count: spec.waves.length }, ...(bmJobs ? { wavesBeforeMerge: bmJobs } : {}) }),
|
|
242
|
+
...(bmJobs && productPlan?.reach ? { [LOCK_REACH_ENV]: productPlan.reach.command } : {}),
|
|
243
|
+
},
|
|
244
|
+
};
|
|
245
|
+
}
|
|
204
246
|
// #4946: the comment job answers what no other job of the pipeline takes, so it is told which jobs there are.
|
|
205
247
|
if (options.commentJob) {
|
|
206
248
|
// #4963's re-plan reply answers the same stray comments, so one of the two answers them.
|
|
@@ -216,6 +258,7 @@ export function productPipelineJobs(forge, env, options) {
|
|
|
216
258
|
...(given || componentWaves ? { applyOnMerge: true } : {}),
|
|
217
259
|
// #4979: the waves' op (the name productWavesSpec gives them) and count, so a wave-<n> stops a re-run after wave n.
|
|
218
260
|
...(spec ? { waves: { op: words.op ?? spec.name, count: spec.waves.length } } : {}),
|
|
261
|
+
...(bmJobs ? { wavesBeforeMerge: bmJobs } : {}),
|
|
219
262
|
// #4979: the product plan's re-plan takes no flags, so the comment job answers a plan comment that carries them.
|
|
220
263
|
...(productPlan?.replan ? { noPlanFlags: true } : {}),
|
|
221
264
|
...(locks.length > 0 ? { locks: true } : {}),
|
|
@@ -223,7 +266,11 @@ export function productPipelineJobs(forge, env, options) {
|
|
|
223
266
|
...(out.commits ? { commits: true } : {}),
|
|
224
267
|
...(options.actions || options.actionJob ? { actions: true } : {}),
|
|
225
268
|
};
|
|
226
|
-
|
|
269
|
+
const comment = productCommentJob(forge, words, commentJobs);
|
|
270
|
+
// #4984: the decision before merge locks what the reach line prints, at stage apply.
|
|
271
|
+
if (bmJobs && productPlan?.reach)
|
|
272
|
+
comment.env = { ...comment.env, [LOCK_REACH_ENV]: productPlan.reach.command };
|
|
273
|
+
out.comment = { ...comment, ...defaultRunner };
|
|
227
274
|
}
|
|
228
275
|
if (!spec)
|
|
229
276
|
return { ...out, record: record };
|
|
@@ -239,7 +286,17 @@ export function productPipelineJobs(forge, env, options) {
|
|
|
239
286
|
...(Object.keys(wavesRespond).length > 0 ? { respond: { ...(spec.respond ?? {}), ...wavesRespond } } : {}),
|
|
240
287
|
};
|
|
241
288
|
const specFile = wavesSpecFile ?? productWavesSpecFile(named.name);
|
|
242
|
-
|
|
289
|
+
// #4984: what the generator's before-merge mode takes: the merge after the last wave and the lock file it releases.
|
|
290
|
+
const beforeMerge = wavesBeforeMerge
|
|
291
|
+
? { ...(wavesBeforeMerge.merge ? { merge: wavesBeforeMerge.merge } : {}), ...(wavesBeforeMerge.mergeTokenSecret ? { mergeTokenSecret: wavesBeforeMerge.mergeTokenSecret } : {}), ...(productPlan?.reach?.gate ? { gate: productPlan.reach.gate } : {}) }
|
|
292
|
+
: undefined;
|
|
293
|
+
// #4987: the apply statuses after each wave, and with a product plan the stale marking beside wave 1, one --member per target.
|
|
294
|
+
const pipeline = {
|
|
295
|
+
...(beforeMerge ? { beforeMerge } : {}),
|
|
296
|
+
...(options.applyStatus ? { applyStatus: { context: productStatusContext(words, "apply", member) } } : {}),
|
|
297
|
+
...(planStale ? { staleNotes: planStale } : {}),
|
|
298
|
+
};
|
|
299
|
+
return { ...out, waves: { spec: named, specFile, jobs: opWaveJobs(named, specFile, { bin: words.bin, ...(beforeMerge ? { beforeMerge: true } : {}) }), ...(beforeMerge ? { beforeMerge } : {}), pipeline } };
|
|
243
300
|
}
|
|
244
301
|
/** Where a component waves spec keeps the outputs each wave's components left, for the next wave's plans (#4588). */
|
|
245
302
|
export function componentWaveOutputsFile(op) {
|
|
@@ -44,6 +44,7 @@ import type { OpWaveRunStep } from "../lexicon.js";
|
|
|
44
44
|
import { type ControlNoteCheckout, type ControlTarget } from "../control/dispatch.js";
|
|
45
45
|
import { type ScheduledWatch } from "../op/schedule-overdue.js";
|
|
46
46
|
import { type CloudTradeSpec } from "../ci-identity.js";
|
|
47
|
+
import { type PrCheckArtifacts } from "./pr-checks.js";
|
|
47
48
|
/** The variable the plan-note job reads the product's note words from (#4799), as JSON. Set from the pipeline, never from the report. */
|
|
48
49
|
export declare const PR_PLAN_NOTE_WORDS_ENV = "CHANT_PLAN_NOTE_WORDS";
|
|
49
50
|
/** One target the product plans in a job of its own (#4799): an environment, for sql-yodeler. */
|
|
@@ -166,6 +167,15 @@ export interface ProductPlanReplanJob {
|
|
|
166
167
|
/** With `notAffected` (#4963): the note job's command carries `--not-affected`, and reads the argument as {@link PLAN_ARGUMENT_ENV}. */
|
|
167
168
|
notAffected?: true;
|
|
168
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* The one word a comment re-plan takes after the command (#4899): letters,
|
|
172
|
+
* digits and `_./@+=,:-`, and (#4984) never starting with `-`, so a flag
|
|
173
|
+
* such as `--target=x` is refused rather than read as a root. The source
|
|
174
|
+
* of a regular expression, without anchors.
|
|
175
|
+
*/
|
|
176
|
+
export declare const REPLAN_WORD_SOURCE = "[A-Za-z0-9_.\\/@+=,:][A-Za-z0-9_.\\/@+=,:-]*";
|
|
177
|
+
/** Whether `word` is one a re-plan takes (#4984). */
|
|
178
|
+
export declare function isReplanWord(word: string): boolean;
|
|
169
179
|
/** The variable a comment re-plan's one argument reaches the plan verb in (#4899). Empty on a pull request's own plan. */
|
|
170
180
|
export declare const PLAN_ARGUMENT_ENV = "CHANT_PLAN_ARGUMENT";
|
|
171
181
|
/** The file the note job's own lines write extra notices to, one a line (#4931): `pr-post` adds them under the note's counts. */
|
|
@@ -321,7 +331,10 @@ export interface ProductPlanOptions {
|
|
|
321
331
|
* so `pr-post` asks the forge when each last ran, in its checkout of the
|
|
322
332
|
* target branch's commit, and adds the line for one that is overdue under
|
|
323
333
|
* the note's counts. They reach it as `CHANT_PLAN_WATCHES`, from the
|
|
324
|
-
* pipeline, never from the plan job's report.
|
|
334
|
+
* pipeline, never from the plan job's report. #4988: a watch's `targets`
|
|
335
|
+
* scope it to those targets' notes, such as an environment's drift
|
|
336
|
+
* watch to that environment's note; left out, every target's note checks
|
|
337
|
+
* it.
|
|
325
338
|
*/
|
|
326
339
|
watches?: ScheduledWatch[];
|
|
327
340
|
/**
|
|
@@ -363,6 +376,65 @@ export interface ProductPlanOptions {
|
|
|
363
376
|
command: string;
|
|
364
377
|
gate?: string;
|
|
365
378
|
};
|
|
379
|
+
/**
|
|
380
|
+
* The file the product writes the workflow to (#5003), from the
|
|
381
|
+
* repository root: on GitHub a file directly under `.github/workflows/`,
|
|
382
|
+
* on Forgejo under `.forgejo/workflows/`, on GitLab a `.yml` file, such
|
|
383
|
+
* as one the project's `.gitlab-ci.yml` includes. The generators return it as
|
|
384
|
+
* `path`. Default `<forge's workflow directory>/<workflow>.yml`, and on
|
|
385
|
+
* GitLab `.gitlab/<workflow>.gitlab-ci.yml`, with `workflow` the
|
|
386
|
+
* workflow's name.
|
|
387
|
+
*/
|
|
388
|
+
workflowFile?: string;
|
|
389
|
+
/**
|
|
390
|
+
* The plan jobs' names (#5003), so a product's required checks keep
|
|
391
|
+
* matching: `plan`, the plan job; `note`, its note job; `replan` and
|
|
392
|
+
* `replanNote`, the comment re-plan's. With `targets` each name holds
|
|
393
|
+
* `{target}`, filled with the target's name. Left out, a name is chant's:
|
|
394
|
+
* `plan`, `plan-note`, `replan`, `replan-note`, with targets
|
|
395
|
+
* `plan-{target}`, `plan-note-{target}`, `replan-{target}` and
|
|
396
|
+
* `replan-note-{target}` on GitHub and Forgejo and `{target}-plan`,
|
|
397
|
+
* `{target}-plan-note`, `{target}-replan` and `{target}-replan-note` on
|
|
398
|
+
* GitLab. A name is letters, digits, `_` and `-`, starting with a letter
|
|
399
|
+
* or `_` (on GitLab a digit too, and no top-level keyword such as
|
|
400
|
+
* `stages`), and no two jobs share one.
|
|
401
|
+
*/
|
|
402
|
+
jobNames?: {
|
|
403
|
+
plan?: string;
|
|
404
|
+
note?: string;
|
|
405
|
+
replan?: string;
|
|
406
|
+
replanNote?: string;
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* The plan status's context (#5003), which the note job posts
|
|
410
|
+
* (`pr-post --context`), the pending step says is pending, the stale job
|
|
411
|
+
* sets back to pending, and the apply before merge asks has passed. With
|
|
412
|
+
* `targets` it holds `{target}`. Default the words' `<product>/<plan
|
|
413
|
+
* stage>`, with targets `<product>/<plan stage>/<target>`. Letters,
|
|
414
|
+
* digits and `_./:-`.
|
|
415
|
+
*/
|
|
416
|
+
statusContext?: string;
|
|
417
|
+
/**
|
|
418
|
+
* The directory the plan verb writes into and the jobs hand on, keep as
|
|
419
|
+
* the artifact's path and post from (#5003): `{output}` in `command`
|
|
420
|
+
* and `report`, and `pr-post --output`. A path from the checkout's root
|
|
421
|
+
* that stays inside it, such as terragucci's `terragucci-report`.
|
|
422
|
+
* Default {@link PR_LOOP_REPORT_DIR}.
|
|
423
|
+
*/
|
|
424
|
+
reportDir?: string;
|
|
425
|
+
/**
|
|
426
|
+
* GitLab only (#5004): what each plan job keeps beside the report
|
|
427
|
+
* directory, as the check job's `artifacts` (#4988, {@link PrCheckArtifacts}):
|
|
428
|
+
* `paths` after it in `artifacts:paths`, and `reports` as
|
|
429
|
+
* `artifacts:reports`, such as terragucci's `{ terraform:
|
|
430
|
+
* "{output}/gitlab-terraform.json" }` for the merge request's widget.
|
|
431
|
+
* `{target}` and `{output}` are filled as in `command`. Kept when the plan
|
|
432
|
+
* fails too, as the report is. The re-plan jobs keep only the report
|
|
433
|
+
* directory: they run in a pipeline of the target branch, whose reports
|
|
434
|
+
* GitLab would read as the target branch's own. GitHub and Forgejo refuse
|
|
435
|
+
* it, since the plan verb is the job's last step there.
|
|
436
|
+
*/
|
|
437
|
+
artifacts?: PrCheckArtifacts;
|
|
366
438
|
}
|
|
367
439
|
/** The lock job a product plan with {@link ProductPlanOptions.reach} writes (#4979): its command and the values the command reads. */
|
|
368
440
|
export interface ProductPlanReachLock {
|
|
@@ -468,7 +540,24 @@ export interface ProductPlanJob {
|
|
|
468
540
|
record?: {
|
|
469
541
|
env: Record<string, string>;
|
|
470
542
|
};
|
|
543
|
+
/** With `statusContext` (#5003): the plan status's context, filled for the target. Absent: the words' {@link productStatusContext}. */
|
|
544
|
+
context?: string;
|
|
545
|
+
/** With `reportDir` (#5003): the directory the plan verb writes into and the jobs hand on. Absent: {@link PR_LOOP_REPORT_DIR}. */
|
|
546
|
+
reportDir?: string;
|
|
547
|
+
/** With `artifacts` (#5004), GitLab: the plan job's own paths and reports beside the report directory, `{target}` and `{output}` filled. */
|
|
548
|
+
artifacts?: PrCheckArtifacts;
|
|
471
549
|
}
|
|
550
|
+
/** The plan status's context of one plan job (#5003): its own, else the words'. */
|
|
551
|
+
export declare function productPlanContext(p: Pick<ProductPlanJob, "context" | "target">, words: CiProductWords): string;
|
|
552
|
+
/** The directory one plan job hands on (#5003): its own, else {@link PR_LOOP_REPORT_DIR}. */
|
|
553
|
+
export declare function productPlanReportDir(p: Pick<ProductPlanJob, "reportDir">): string;
|
|
554
|
+
/**
|
|
555
|
+
* The file a product plan's workflow is written to (#5003),
|
|
556
|
+
* {@link ProductPlanOptions.workflowFile}: the product's, checked for the
|
|
557
|
+
* forge, else the workflow's name in the forge's workflow directory
|
|
558
|
+
* (`.gitlab/<name>.gitlab-ci.yml` on GitLab).
|
|
559
|
+
*/
|
|
560
|
+
export declare function productPlanWorkflowFile(forge: ForgeKind, env: string, plan: Pick<ProductPlanOptions, "workflow" | "workflowFile">): string;
|
|
472
561
|
/**
|
|
473
562
|
* The product plan's jobs for `forge` (#4799). `words` are the pipeline's,
|
|
474
563
|
* already checked. Throws on a target name that is not one, a name given
|
|
@@ -548,7 +637,7 @@ export declare const PENDING_JS: string;
|
|
|
548
637
|
* report line whatever the verb's exit, then the step exits with the verb's
|
|
549
638
|
* status. Without a report line, the verb alone.
|
|
550
639
|
*/
|
|
551
|
-
export declare function planVerbLines(p: Pick<ProductPlanJob, "command" | "report" | "record">): string[];
|
|
640
|
+
export declare function planVerbLines(p: Pick<ProductPlanJob, "command" | "report" | "record" | "reportDir">): string[];
|
|
552
641
|
/**
|
|
553
642
|
* The plan step's record line (#4899): `node -e`, writing the run record of
|
|
554
643
|
* the plan verb into the directory it is given, {@link PLAN_RUN_RECORD_FILE}.
|
|
@@ -573,6 +662,7 @@ export declare function planEvidenceOf(forge: ForgeKind, evidence: PipelineEvide
|
|
|
573
662
|
name: string;
|
|
574
663
|
reportPath: string;
|
|
575
664
|
};
|
|
665
|
+
dir?: string;
|
|
576
666
|
}): NonNullable<ProductPlanJob["evidence"]>;
|
|
577
667
|
/** The GitHub and Forgejo condition that a pull request is from this repository, not a fork (#4799). */
|
|
578
668
|
export declare const SAME_REPOSITORY_IF = "github.event.pull_request.head.repo.full_name == github.repository";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-plan.d.ts","sourceRoot":"","sources":["../../src/components/product-plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;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