@intentius/chant 0.124.92 → 0.124.94

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.
Files changed (93) hide show
  1. package/dist/__golden__/notify-defaults-plain.json +52 -0
  2. package/dist/__golden__/notify-defaults-relay.json +92 -0
  3. package/dist/ci-job-guard.d.ts +22 -8
  4. package/dist/ci-job-guard.d.ts.map +1 -1
  5. package/dist/ci-job-guard.js +93 -49
  6. package/dist/ci-jobs.d.ts +22 -0
  7. package/dist/ci-jobs.d.ts.map +1 -1
  8. package/dist/ci-jobs.js +23 -0
  9. package/dist/ci-product.d.ts +41 -1
  10. package/dist/ci-product.d.ts.map +1 -1
  11. package/dist/ci-product.js +45 -5
  12. package/dist/cli/handlers/run-wave.js +17 -3
  13. package/dist/cli/main.d.ts.map +1 -1
  14. package/dist/cli/main.js +4 -1
  15. package/dist/components/product-pipeline.d.ts +30 -0
  16. package/dist/components/product-pipeline.d.ts.map +1 -1
  17. package/dist/components/product-pipeline.js +28 -3
  18. package/dist/floor-table.data.d.ts.map +1 -1
  19. package/dist/floor-table.data.js +17 -4
  20. package/dist/gate-resume-run.d.ts +7 -0
  21. package/dist/gate-resume-run.d.ts.map +1 -1
  22. package/dist/gate-resume-run.js +42 -3
  23. package/dist/lexicon.d.ts +64 -1
  24. package/dist/lexicon.d.ts.map +1 -1
  25. package/dist/lifecycle/gate-applied.d.ts +18 -0
  26. package/dist/lifecycle/gate-applied.d.ts.map +1 -1
  27. package/dist/notify.d.ts +8 -0
  28. package/dist/notify.d.ts.map +1 -1
  29. package/dist/notify.js +8 -3
  30. package/dist/op/before-merge.d.ts +8 -0
  31. package/dist/op/before-merge.d.ts.map +1 -1
  32. package/dist/op/before-merge.js +6 -0
  33. package/dist/op/gate-run-locator.d.ts +17 -0
  34. package/dist/op/gate-run-locator.d.ts.map +1 -1
  35. package/dist/op/index.d.ts +4 -2
  36. package/dist/op/index.d.ts.map +1 -1
  37. package/dist/op/index.js +3 -2
  38. package/dist/op/op-waves-names.d.ts +65 -2
  39. package/dist/op/op-waves-names.d.ts.map +1 -1
  40. package/dist/op/op-waves-names.js +129 -0
  41. package/dist/op/op-waves-remainder.d.ts +110 -0
  42. package/dist/op/op-waves-remainder.d.ts.map +1 -0
  43. package/dist/op/op-waves-remainder.js +120 -0
  44. package/dist/op/op-waves-render-spec.d.ts +63 -5
  45. package/dist/op/op-waves-render-spec.d.ts.map +1 -1
  46. package/dist/op/op-waves-render-spec.js +68 -10
  47. package/dist/op/op-waves-run.d.ts +29 -1
  48. package/dist/op/op-waves-run.d.ts.map +1 -1
  49. package/dist/op/op-waves-run.js +194 -6
  50. package/dist/op/op-waves-split-resume.d.ts +57 -0
  51. package/dist/op/op-waves-split-resume.d.ts.map +1 -0
  52. package/dist/op/op-waves-split-resume.js +94 -0
  53. package/dist/op/op-waves-stand-down.d.ts +9 -1
  54. package/dist/op/op-waves-stand-down.d.ts.map +1 -1
  55. package/dist/op/op-waves-stand-down.js +14 -2
  56. package/dist/op/op-waves.d.ts +38 -2
  57. package/dist/op/op-waves.d.ts.map +1 -1
  58. package/dist/op/op-waves.js +13 -2
  59. package/dist/release-floors.d.ts +9 -1
  60. package/dist/release-floors.d.ts.map +1 -1
  61. package/dist/release-floors.js +9 -1
  62. package/dist/wave-runtime.mjs +368 -368
  63. package/package.json +1 -1
  64. package/src/__golden__/notify-defaults-plain.json +52 -0
  65. package/src/__golden__/notify-defaults-relay.json +92 -0
  66. package/src/ci-job-guard.default-branch.test.ts +125 -0
  67. package/src/ci-job-guard.ts +64 -10
  68. package/src/ci-jobs.ts +26 -0
  69. package/src/ci-product.ts +54 -5
  70. package/src/cli/handlers/run-wave.ts +16 -3
  71. package/src/cli/main.ts +4 -1
  72. package/src/components/product-pipeline.ts +49 -4
  73. package/src/floor-table.data.ts +17 -4
  74. package/src/gate-resume-run.ts +38 -3
  75. package/src/lexicon.ts +64 -1
  76. package/src/lifecycle/gate-applied.ts +16 -0
  77. package/src/notify-bundle.test.ts +3 -2
  78. package/src/notify-relay-name.test.ts +72 -0
  79. package/src/notify.ts +16 -3
  80. package/src/op/before-merge.ts +12 -0
  81. package/src/op/gate-run-locator.ts +14 -0
  82. package/src/op/index.ts +6 -1
  83. package/src/op/op-waves-names.ts +130 -2
  84. package/src/op/op-waves-remainder.test.ts +342 -0
  85. package/src/op/op-waves-remainder.ts +146 -0
  86. package/src/op/op-waves-render-spec.test.ts +107 -0
  87. package/src/op/op-waves-render-spec.ts +81 -10
  88. package/src/op/op-waves-run.ts +204 -7
  89. package/src/op/op-waves-split-resume.test.ts +149 -0
  90. package/src/op/op-waves-split-resume.ts +109 -0
  91. package/src/op/op-waves-stand-down.ts +15 -2
  92. package/src/op/op-waves.ts +46 -3
  93. package/src/release-floors.ts +13 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ci-product.d.ts","sourceRoot":"","sources":["../src/ci-product.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAIhE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAE3C,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,uBAAuB,EACvB,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,yBAAyB,EACzB,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,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AAC;AACxD,YAAY,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhI;;;;;;GAMG;AACH,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,qBAAqB,EAAE,KAAK,iBAAiB,EAAE,KAAK,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AACtK,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAE1F;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,aAAsB,CAAC;AAC1D,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEjF;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC5H,yIAAyI;AACzI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AACnE,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EACL,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,YAAY,GAClB,MAAM,QAAQ,CAAC"}
@@ -145,20 +145,56 @@ export const PRODUCT_PLAN_ARTIFACTS_FLOOR = "0.124.91";
145
145
  /**
146
146
  * The first chant whose GitHub and Forgejo product plan, after a `login` or with `idTokens`, starts every step after the checkout but the login's without `ACTIONS_ID_TOKEN_REQUEST_URL` and `ACTIONS_ID_TOKEN_REQUEST_TOKEN` (#5021), as after a `trade`: the setup, the probe and the plan step, in the plan and the re-plan job, so the change's code can request no token. A product's own `idTokens` leave them in the plan step, whose verb requests them.
147
147
  */
148
- export const PRODUCT_PLAN_LOGIN_TOKENS_FLOOR = NEXT_RELEASE;
148
+ export const PRODUCT_PLAN_LOGIN_TOKENS_FLOOR = "0.124.92";
149
149
  /**
150
150
  * The first chant whose pull request jobs on GitHub and Forgejo name the pull request's head, `github.event.pull_request.head.sha`, where `github.sha` named the merge preview (#5020): the product plan's pending step (`CHANT_PENDING_SHA`), the note job's `HEAD_SHA` (the product plan's, the pull request loop's and the product pipeline's) and the `env-post` job's. `pr-post --head <head>` takes a report, a plan note hand-off or a run record for the head or for the run's merge preview the plan job checked out (`plannedForHead`), so a product's plan verb may write its hand-off for either.
151
151
  */
152
- export const PR_HEAD_SHA_FLOOR = NEXT_RELEASE;
152
+ export const PR_HEAD_SHA_FLOOR = "0.124.92";
153
153
  /**
154
154
  * The first chant whose Op waves generators keep a product's own names (#5022): `jobNames` (every job they write: a wave's, deciding, share and job group jobs, a split wave's plan, gate, apply and record jobs, the policy and evidence jobs, the apply status, stale, before-merge done and control jobs; `needs:`, `if:`, `{job}` and `--from-job` follow it), `stageNames` (GitLab), `artifactNames` (the outcome, decision, saved plan and check claims artifacts, and the pattern a wave job downloads the earlier outcomes with), `workflowFile` (the generators' file and the follow-on's dispatch), `runIf` (the jobs go in the product's own workflow, each running on a push it admits or a before-merge or follow-on dispatch, with its own permissions; on GitLab joined to every rule) and `dispatchInputs` (the dispatch inputs' names, which the comment job's dispatch and the follow-on use), with `buildForgejoOpWavesDoc` for the Forgejo jobs, and whose product pipeline's `wavesBeforeMerge` takes `workflowFile` and `dispatchInputs`.
155
155
  */
156
- export const OP_WAVES_NAMES_FLOOR = NEXT_RELEASE;
156
+ export const OP_WAVES_NAMES_FLOOR = "0.124.92";
157
157
  /**
158
158
  * The first chant whose product pipeline names its comment job and its waves' jobs as the product does (#5027): `commentJob: { jobName }` (default `comment`, such as terragucci's `apply-comment`), refused when another job of the workflow has the name, and `wavesJobNames`, the Op waves generators' `jobNames`, which `waves.pipeline` carries to the generator and `waves.jobs` takes, and under which the comment job's re-run of a merged pull request's apply looks for the waves' jobs (`CHANT_COMMENT_JOBS` `applyJobs`, `rerunApplyJobs`), so terragucci's `apply-wave-<k>`, `-share-<n>`, group jobs and `apply-rest` run again. Without them the job is `comment` and the re-run looks for `RERUN_APPLY_JOBS`, as before.
159
159
  */
160
- export const PRODUCT_JOB_NAMES_FLOOR = NEXT_RELEASE;
161
- export { opWavesArtifacts, opWavesDispatchInputs, opWavesNamer, opWavesWorkflowFile } from "./op/op-waves-names.js";
160
+ export const PRODUCT_JOB_NAMES_FLOOR = "0.124.92";
161
+ /**
162
+ * The first chant whose Op waves run from the repository's default branch by the name the forge gives it at run time (#5032): the spec's `defaultBranch: true`, with or without `branches` beside it. Every job's guard admits the default branch (GitLab's `CI_DEFAULT_BRANCH`; on GitHub and Forgejo `CHANT_DEFAULT_BRANCH`, which each guarded job sets from `github.event.repository.default_branch`) and the named branches, every GitLab rule matches `$CI_DEFAULT_BRANCH` (the push's, the before-merge and the follow-on pipelines', the evidence, status, control and stale-notes jobs'), the GitHub and Forgejo jobs' `if:` names it when the product gives no `runIf`, and the stand-down counts a newer commit on it. Without it the waves run from `branches`, default `main`, as before.
163
+ */
164
+ export const OP_WAVES_DEFAULT_BRANCH_FLOOR = "0.124.93";
165
+ /**
166
+ * The first chant whose Op waves generators take `firstWaveNeeds` (#5032): the product's own jobs, such as terragucci's `check`, that the first wave's own or deciding job (and before merge its plan job, and on GitLab its policy job) needs, so a push that fails the product's check applies nothing. GitHub and Forgejo: each must pass, or, in a dispatched run, not have run, and it goes with `runIf`; GitLab: optional needs, each to pass. Absent, the jobs render as before.
167
+ */
168
+ export const OP_WAVES_FIRST_WAVE_NEEDS_FLOOR = "0.124.93";
169
+ /**
170
+ * The first chant whose notify config takes `relayName` (#5033): the relay's name as people mention it in Teams, a plain value, which `sendNotify` (and so a wave's and a drift notice's messages) passes to the Teams card over the product's words' own, so a waiting wave's card spells out `reply @<name> approve <token>`. Without it the messages are as before.
171
+ */
172
+ export const NOTIFY_RELAY_NAME_FLOOR = "0.124.93";
173
+ /**
174
+ * The first chant whose Op waves resume keeps a product's names (#5034): `resumeWorkflowFile` names the GitHub and Forgejo resume workflow's file (such as terragucci's `terragucci-resume.yml`; default `<spec>-resume.yml`, refused on GitLab and when it is the waves' own file), and `jobNames` is called for the resume job with the role `resume` (GitHub and Forgejo `resume`, GitLab `<spec>-resume` by default). Without them the files render as before.
175
+ */
176
+ export const OP_WAVES_RESUME_NAMES_FLOOR = "0.124.93";
177
+ /**
178
+ * The first chant whose Op waves before merge take `beforeMerge.environment` (#5037): the forge environment the job after the last wave runs in, so a merge token scoped to it reaches that job alone (GitLab `environment: { name, action: access }`, GitHub `environment: <name>`; Forgejo refuses it), with the product pipeline's `wavesBeforeMerge.environment` carried through `waves.pipeline`. Without it the job is as before.
179
+ */
180
+ export const WAVES_BEFORE_MERGE_ENVIRONMENT_FLOOR = "0.124.93";
181
+ /**
182
+ * The first chant whose GitLab note poll keeps a product's names (#5038): the product pipeline's `noteCommandsJob` gives its job's name (default `note-commands`), its stage (default the job's name) and the variable and value a pipeline schedule starts it with (default `CHANT_NOTE_COMMANDS=1`), such as terragucci's `comments` job and `TERRAGUCCI_SCHEDULE=comments`, rendered in the job, its stage, its rule, its resource group and the workflow's rules. Refused on GitHub and Forgejo, without `noteCommands`, and on a name another job has. Without it the pipeline is as before.
183
+ */
184
+ export const NOTE_POLL_NAMES_FLOOR = "0.124.93";
185
+ /**
186
+ * The first chant whose Op waves generators take `commandToken` (#5044), GitHub and Forgejo: the jobs that run only the default branch's code (a push's wave, deciding, share and job group jobs; a split wave's gate and record jobs) hand their command step the job's token as `GITHUB_TOKEN`, so the spec's `respond` posts a refused wave's diff and a failed apply's triage and a product's hooks can read the forge, and ask for `permissions` beside chant's own. A split wave's plan and applying jobs never get it; GitLab refuses it. Without it no wave job holds a token, as before.
187
+ */
188
+ export const OP_WAVES_COMMAND_TOKEN_FLOOR = NEXT_RELEASE;
189
+ /**
190
+ * The first chant whose GitLab Op waves generator takes `cache` (#5045): the `cache:` entry or entries of each job that runs the wave's command (the wave's own, deciding, share and job group jobs, the policy job, a split wave's plan and applying jobs), such as terragucci's Terragrunt sources and providers cache. The gate and record jobs take none; GitHub and Forgejo refuse it, since a wave's `setup` step does this there. Without it no wave job has a cache, as before.
191
+ */
192
+ export const OP_WAVES_GITLAB_CACHE_FLOOR = NEXT_RELEASE;
193
+ /**
194
+ * The first chant whose Op waves generators take `controlGroup` and `resumeGroup` (#5053): the control job's group (GitHub and Forgejo `concurrency` with `cancel-in-progress: false`, GitLab `resource_group`), with `{commit}` standing for the commit it tells the control repo about, so a push's run and a resume's run send one dispatch per commit; and the GitLab resume job's `resource_group`. Without them neither job has a group, as before.
195
+ */
196
+ export const OP_WAVES_GROUPS_FLOOR = NEXT_RELEASE;
197
+ export { opWavesArtifacts, opWavesCommandToken, opWavesControlGroup, opWavesDispatchInputs, opWavesGitlabCache, opWavesNamer, opWavesResumeGroup, opWavesResumeWorkflowFile, opWavesWorkflowFile } from "./op/op-waves-names.js";
162
198
  /**
163
199
  * Day-2 actions in the product pipeline (#4654): the `action` comment
164
200
  * command counted as answered by the product's own workflow
@@ -304,4 +340,8 @@ export const PRODUCT_MCP_HOOK_FLOOR = OTLP_EXPORTER_FLOOR;
304
340
  * and `destructiveHint`, and a contribution's `annotations` add the rest.
305
341
  */
306
342
  export { MCP_TOOL_ANNOTATIONS_FLOOR, PRODUCT_MCP_PROPOSE_FLOOR, PRODUCT_TOOL_PROPOSE_WORDS } from "./cli/mcp/product-tools.js";
343
+ /** #5047: the Op waves keep the stopped-apply record (`approvals.remainder`, `approvals.spendStanding`), in place of a product's own. */
344
+ export { OP_WAVES_REMAINDER_FLOOR } from "./release-floors.js";
345
+ export { OP_WAVES_SPLIT_RESUME_FLOOR } from "./release-floors.js";
346
+ export { OP_WAVES_REMAINDER_PARITY_FLOOR } from "./release-floors.js";
307
347
  export { activeOtlp, configureOtlp, OTLP_EXPORTER_FLOOR, RunEventTrace, } from "./otlp.js";
@@ -139,9 +139,23 @@ async function runOpWaveJobCommand(ctx) {
139
139
  if (args.renderSpec) {
140
140
  const at = await import("../../op/op-waves-render-spec.js");
141
141
  const file = relative(process.cwd(), path);
142
- show = at.renderedSpecShow(file, at.commandSpecRender(at.opWavesSpecCommandFromEnv(), file, process.cwd()), gitShowAtBase);
143
- spec = at.renderOpWavesSpecFile({ specFile: file, base: args.base ?? "HEAD^1", cwd: process.cwd(), show, parse: parseOpWavesSpec }).spec;
144
- const missing = at.renderedJobMissing(spec, args.wave, job);
142
+ const command = at.opWavesSpecCommandFromEnv();
143
+ // #5046: with CHANT_WAVES_SPEC_RUNS=head the runs come from the applied commit; the gate and record jobs take them from the saved plan.
144
+ const runsAtHead = at.opWavesSpecRunsAtHead() && phase !== "gate" && phase !== "record";
145
+ const rendered = at.renderOpWavesJobSpec({
146
+ specFile: file,
147
+ base: args.base ?? "HEAD^1",
148
+ cwd: process.cwd(),
149
+ render: at.commandSpecRender(command, file, process.cwd()),
150
+ fallback: gitShowAtBase,
151
+ parse: parseOpWavesSpec,
152
+ ...(runsAtHead ? { runsAtHead, headRender: (baseSha) => at.commandSpecRender(command, file, process.cwd(), { [at.OP_WAVES_SPEC_BASE_ENV]: baseSha }) } : {}),
153
+ });
154
+ show = rendered.show;
155
+ spec = rendered.spec;
156
+ if (runsAtHead)
157
+ console.error(`${spec.name}: the runs come from the spec rendered at ${rendered.sha.slice(0, 12)}, the applied commit; the rules from the one rendered at base`);
158
+ const missing = at.renderedJobMissing(spec, args.wave, job, rendered.at);
145
159
  if (missing) {
146
160
  console.error(`${missing}, so this job has nothing to apply`);
147
161
  return 0;
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":";AAEA,OAAO,EAAoB,KAAK,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAItG,OAAO,EAAkB,KAAK,UAAU,EAAmB,MAAM,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;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,EA0RvC,CAAC"}
package/dist/cli/main.js CHANGED
@@ -605,7 +605,10 @@ Ops:
605
605
  --render-spec runs the command CHANT_WAVES_SPEC_COMMAND
606
606
  names (a JSON argv) with CHANT_WAVES_SPEC_AT set to
607
607
  the base, writes the spec it prints over --spec, and
608
- reads the rules at base from it (#4982).
608
+ reads the rules at base from it (#4982). With
609
+ CHANT_WAVES_SPEC_RUNS=head the spec it writes is
610
+ printed at HEAD, with CHANT_WAVES_SPEC_BASE set to
611
+ the base, and the rules still come from base (#5046).
609
612
  --phase plan|gate|apply|record: one of a wave's four
610
613
  jobs before merge (#4987). plan saves the plan and
611
614
  writes nothing to chant/lifecycle; gate decides the
@@ -141,6 +141,16 @@ export interface ProductPipelineOptions extends Omit<PrLoopPipelineOptions, "wor
141
141
  * `apply-comment`. Default `comment`.
142
142
  */
143
143
  commentJob?: boolean | ProductCommentJobOptions;
144
+ /**
145
+ * GitLab's note poll under the product's names (#5038), with
146
+ * `noteCommands`: its job's name (default `note-commands`), its stage
147
+ * (default the job's name), and the variable and value a pipeline
148
+ * schedule starts it with (default `CHANT_NOTE_COMMANDS` and `1`), such
149
+ * as terragucci's `comments` job, which `TERRAGUCCI_SCHEDULE=comments`
150
+ * starts. Its resource group is its name. Refused on GitHub and Forgejo,
151
+ * whose comment job is `commentJob`.
152
+ */
153
+ noteCommandsJob?: ProductNoteCommandsJobOptions;
144
154
  /**
145
155
  * The waves' job names (#5027), the Op waves generators' `jobNames`
146
156
  * (#5022): `waves.pipeline` carries them to the generator, `waves.jobs`
@@ -184,6 +194,8 @@ export interface ProductWavesBeforeMerge {
184
194
  merge?: "auto" | "manual";
185
195
  /** The merge token's secret or CI/CD variable, with `merge: "auto"` (needed on Forgejo and GitLab). */
186
196
  mergeTokenSecret?: string;
197
+ /** The forge environment the merge job runs in, which the merge token is scoped to (#5037; GitHub and GitLab). `waves.pipeline` carries it as the generator's `beforeMerge.environment`. */
198
+ environment?: string;
187
199
  /** 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/`. */
188
200
  pipelineFiles?: string[];
189
201
  /**
@@ -201,6 +213,18 @@ export interface ProductWavesBeforeMerge {
201
213
  */
202
214
  dispatchInputs?: Partial<Record<"pr" | "head" | "digest", string>>;
203
215
  }
216
+ /** {@link ProductPipelineOptions.noteCommandsJob} (#5038). */
217
+ export interface ProductNoteCommandsJobOptions {
218
+ /** The job's name, such as `comments`. Default `note-commands`. */
219
+ jobName?: string;
220
+ /** Its stage. Default the job's name. */
221
+ stage?: string;
222
+ /** The variable and value a pipeline schedule starts it with, such as `{ variable: "TERRAGUCCI_SCHEDULE", value: "comments" }`. Default `CHANT_NOTE_COMMANDS` and `1`. */
223
+ schedule?: {
224
+ variable: string;
225
+ value: string;
226
+ };
227
+ }
204
228
  /** {@link ProductPipelineOptions.commentJob}'s settings (#5027). */
205
229
  export interface ProductCommentJobOptions {
206
230
  /** The comment job's name in the workflow, such as `apply-comment`. Default {@link PR_COMMENT_JOB}. */
@@ -306,6 +330,12 @@ export interface ProductPipelineJobs {
306
330
  command: string;
307
331
  runner?: CiRunner;
308
332
  env?: Record<string, string>;
333
+ jobName?: string;
334
+ stage?: string;
335
+ schedule?: {
336
+ variable: string;
337
+ value: string;
338
+ };
309
339
  };
310
340
  /**
311
341
  * 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,EAOL,KAAK,gBAAgB,E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AAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yHAAyH;IACzH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gHAAgH;IAChH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,CAAC;CACxC;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,SAAS,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,WAAW,CAAC,EAAE,EAClE,OAAO,EAAE,mBAAmB,GAAG,cAAc,EAC7C,KAAK,EAAE,kBAAkB,EACzB,OAAO,GAAE,yBAA8B,GACtC,WAAW,CAuBb;AAwBD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,GAAE,MAAuB,GAAG,iBAAiB,CAWjJ;AAED,sGAAsG;AACtG,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAE1E"}
@@ -128,7 +128,7 @@ export function productPipelineJobs(forge, env, options) {
128
128
  // #4946: the comment job answers every command but a commit word (the commit job's) with a reply, so the words may name any.
129
129
  const answered = options.commentJob ? [...new Set([...jobs, ...CI_PRODUCT_COMMANDS.filter((c) => c !== "commit")])] : jobs;
130
130
  const words = assertProductWords({ ...options.words, applyMode }, { jobs: answered });
131
- const { waves: given, wavesSpecFile, member, agent: _agent, commits: _commits, actions: _actions, componentWaves, productPlan, evidence, commentJob: _commentJob, wavesBeforeMerge, applyStatus: _applyStatus, wavesJobNames, ...loop } = options;
131
+ const { waves: given, wavesSpecFile, member, agent: _agent, commits: _commits, actions: _actions, componentWaves, productPlan, evidence, commentJob: _commentJob, wavesBeforeMerge, applyStatus: _applyStatus, wavesJobNames, noteCommandsJob, ...loop } = options;
132
132
  if (options.applyStatus && !given && !componentWaves)
133
133
  throw new Error("applyStatus posts the waves' apply statuses, and there are none: give waves (or componentWaves)");
134
134
  const { respond } = options;
@@ -193,7 +193,9 @@ export function productPipelineJobs(forge, env, options) {
193
193
  // #4899: the product plan's comment re-plan runs in the preview's pipeline, so the poll starts it as it starts a preview.
194
194
  const notes = prNoteCommandsJob(forge, { ...prLoop, ...(options.waves || options.componentWaves ? { applyOnMerge: true } : {}), ...(productPlan?.replan ? { previewComment: true } : {}) });
195
195
  if (notes)
196
- out.noteCommands = { ...notes, ...defaultRunner };
196
+ out.noteCommands = { ...notes, ...defaultRunner, ...noteCommandsNames(forge, noteCommandsJob) };
197
+ else if (noteCommandsJob !== undefined)
198
+ throw new Error(forge === "gitlab" ? "noteCommandsJob names the note poll, and there is none: set noteCommands" : `noteCommandsJob names GitLab's note poll; on ${forge} the comment job (commentJob) answers comments`);
197
199
  const preview = prCommentPreviewJob(forge, env, prLoop, member);
198
200
  if (preview)
199
201
  out.preview = { ...preview, ...(defaultRunner.runner !== undefined ? { noteRunner: defaultRunner.runner } : {}) };
@@ -305,7 +307,7 @@ export function productPipelineJobs(forge, env, options) {
305
307
  return { ...out, record: record };
306
308
  // #4984: what the generator's before-merge mode takes: the merge after the last wave and the lock file it releases.
307
309
  const beforeMerge = wavesBeforeMerge
308
- ? { ...(wavesBeforeMerge.merge ? { merge: wavesBeforeMerge.merge } : {}), ...(wavesBeforeMerge.mergeTokenSecret ? { mergeTokenSecret: wavesBeforeMerge.mergeTokenSecret } : {}), ...(productPlan?.reach?.gate ? { gate: productPlan.reach.gate } : {}) }
310
+ ? { ...(wavesBeforeMerge.merge ? { merge: wavesBeforeMerge.merge } : {}), ...(wavesBeforeMerge.mergeTokenSecret ? { mergeTokenSecret: wavesBeforeMerge.mergeTokenSecret } : {}), ...(wavesBeforeMerge.environment !== undefined ? { environment: wavesBeforeMerge.environment } : {}), ...(productPlan?.reach?.gate ? { gate: productPlan.reach.gate } : {}) }
309
311
  : undefined;
310
312
  // #4987: the apply statuses after each wave, and with a product plan the stale marking beside wave 1, one --member per target.
311
313
  const pipeline = {
@@ -390,6 +392,29 @@ export function componentWavesSpec(components, wordsIn, steps, options = {}) {
390
392
  approvals: { ...(named.approvals ?? {}), pullRequest: { gate: options.prGate ?? words.prGate } },
391
393
  };
392
394
  }
395
+ /** GitLab's reserved top-level keys, which no job may be named. */
396
+ const GITLAB_RESERVED = new Set(["default", "include", "stages", "variables", "workflow", "image", "services", "cache", "before_script", "after_script", "spec", "pages"]);
397
+ /** The note poll's names (#5038), checked: only those the product gave, so a pipeline without them renders as before. */
398
+ function noteCommandsNames(forge, given) {
399
+ if (given === undefined)
400
+ return {};
401
+ if (forge !== "gitlab")
402
+ throw new Error(`noteCommandsJob names GitLab's note poll; on ${forge} the comment job (commentJob) answers comments`);
403
+ const name = (what, v) => {
404
+ if (typeof v !== "string" || !/^[A-Za-z0-9_][A-Za-z0-9_.-]*$/.test(v) || GITLAB_RESERVED.has(v))
405
+ throw new Error(`noteCommandsJob.${what} ${JSON.stringify(v)} is not a GitLab ${what === "stage" ? "stage" : "job"} name of letters, digits, _, . and -, and no GitLab keyword`);
406
+ return v;
407
+ };
408
+ const s = given.schedule;
409
+ if (s !== undefined && (typeof s.variable !== "string" || !/^[A-Za-z_][A-Za-z0-9_]*$/.test(s.variable) || typeof s.value !== "string" || !/^[A-Za-z0-9_.-]+$/.test(s.value))) {
410
+ throw new Error(`noteCommandsJob.schedule ${JSON.stringify(s)} is a variable name and a value of letters, digits, _, . and -, such as { variable: "TERRAGUCCI_SCHEDULE", value: "comments" }`);
411
+ }
412
+ return {
413
+ ...(given.jobName !== undefined ? { jobName: name("jobName", given.jobName) } : {}),
414
+ ...(given.stage !== undefined ? { stage: name("stage", given.stage) } : {}),
415
+ ...(s !== undefined ? { schedule: { variable: s.variable, value: s.value } } : {}),
416
+ };
417
+ }
393
418
  /**
394
419
  * The comment job's descriptor (#4946): `chant components pr-comment
395
420
  * --forge <forge>` through the words' bin, the jobs it leaves comments to as
@@ -1 +1 @@
1
- {"version":3,"file":"floor-table.data.d.ts","sourceRoot":"","sources":["../src/floor-table.data.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EA2PzC,CAAC"}
1
+ {"version":3,"file":"floor-table.data.d.ts","sourceRoot":"","sources":["../src/floor-table.data.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAwQzC,CAAC"}
@@ -50,10 +50,19 @@ export const FLOOR_ROWS = [
50
50
  { name: "PRODUCT_PLAN_SUBJECT_FLOOR", version: "0.124.89", gates: "The first chant whose note job compares the plan's subject with the previous note's (#4972), on GitHub, Forgejo and GitLab: a plan note hand-off's `subject` (`PrPlanSubject`, an id and named parts) is kept in the note, and `pr-post` adds the note words' `sinceLast` line, naming the parts added, gone and changed (`subjectParts`), when the previous note kept another id.", issue: "#4972", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
51
51
  { name: "PRODUCT_PLAN_NAMES_FLOOR", version: "0.124.91", gates: "The first chant whose product plan keeps a product's own names (#5003): `workflowFile` (the generators' `path`), `jobNames` (the plan, note, re-plan and re-plan note jobs, with `{target}`), `statusContext` (which `pr-post --context`, the pending step, the stale job and the apply before merge use) and `reportDir` (`{output}`, the hand-off, the artifact's path and `pr-post --output`), and whose `pr-post --open` finds a plan job of the product's name (`--plan-job`).", issue: "#5003", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
52
52
  { name: "PRODUCT_PLAN_ARTIFACTS_FLOOR", version: "0.124.91", gates: "The first chant whose GitLab product plan job keeps a product's own artifacts beside the report directory (#5004): `productPlan.artifacts: { paths, reports }`, as `artifacts:paths` and `artifacts:reports`, such as terragucci's `terraform` report for the merge request's widget, with `{target}` and `{output}` filled.", issue: "#5004", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
53
- { name: "PRODUCT_PLAN_LOGIN_TOKENS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose GitHub and Forgejo product plan, after a `login` or with `idTokens`, starts every step after the checkout but the login's without `ACTIONS_ID_TOKEN_REQUEST_URL` and `ACTIONS_ID_TOKEN_REQUEST_TOKEN` (#5021), as after a `trade`: the setup, the probe and the plan step, in the plan and the re-plan job, so the change's code can request no token.", issue: "#5021", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
54
- { name: "PR_HEAD_SHA_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose pull request jobs on GitHub and Forgejo name the pull request's head, `github.event.pull_request.head.sha`, where `github.sha` named the merge preview (#5020): the product plan's pending step (`CHANT_PENDING_SHA`), the note job's `HEAD_SHA` (the product plan's, the pull request loop's and the product pipeline's) and the `env-post` job's.", issue: "#5020", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
55
- { name: "OP_WAVES_NAMES_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose Op waves generators keep a product's own names (#5022): `jobNames` (every job they write: a wave's, deciding, share and job group jobs, a split wave's plan, gate, apply and record jobs, the policy and evidence jobs, the apply status, stale, before-merge done and control jobs; `needs:`, `if:`, `{job}` and `--from-job` follow it), `stageNames` (GitLab), `artifactNames` (the outcome, decision, saved plan and check claims artifacts, and the pattern a wave job downloads the earlier outcomes with), `workflowFile` (the generators' file and the follow-on's dispatch), `runIf` (the jobs go in the product's own workflow, each running on a push it admits or a before-merge or follow-on dispatch, with its own permissions; on GitLab joined to every rule) and `dispatchInputs` (the dispatch inputs' names, which the comment job's dispatch and the follow-on use), with `buildForgejoOpWavesDoc` for the Forgejo jobs, and whose product pipeline's `wavesBeforeMerge` takes `workflowFile` and `dispatchInputs`.", issue: "#5022", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
56
- { name: "PRODUCT_JOB_NAMES_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose product pipeline names its comment job and its waves' jobs as the product does (#5027): `commentJob: { jobName }` (default `comment`, such as terragucci's `apply-comment`), refused when another job of the workflow has the name, and `wavesJobNames`, the Op waves generators' `jobNames`, which `waves.pipeline` carries to the generator and `waves.jobs` takes, and under which the comment job's re-run of a merged pull request's apply looks for the waves' jobs (`CHANT_COMMENT_JOBS` `applyJobs`, `rerunApplyJobs`), so terragucci's `apply-wave-<k>`, `-share-<n>`, group jobs and `apply-rest` run again.", issue: "#5027", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
53
+ { name: "PRODUCT_PLAN_LOGIN_TOKENS_FLOOR", version: "0.124.92", gates: "The first chant whose GitHub and Forgejo product plan, after a `login` or with `idTokens`, starts every step after the checkout but the login's without `ACTIONS_ID_TOKEN_REQUEST_URL` and `ACTIONS_ID_TOKEN_REQUEST_TOKEN` (#5021), as after a `trade`: the setup, the probe and the plan step, in the plan and the re-plan job, so the change's code can request no token.", issue: "#5021", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
54
+ { name: "PR_HEAD_SHA_FLOOR", version: "0.124.92", gates: "The first chant whose pull request jobs on GitHub and Forgejo name the pull request's head, `github.event.pull_request.head.sha`, where `github.sha` named the merge preview (#5020): the product plan's pending step (`CHANT_PENDING_SHA`), the note job's `HEAD_SHA` (the product plan's, the pull request loop's and the product pipeline's) and the `env-post` job's.", issue: "#5020", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
55
+ { name: "OP_WAVES_NAMES_FLOOR", version: "0.124.92", gates: "The first chant whose Op waves generators keep a product's own names (#5022): `jobNames` (every job they write: a wave's, deciding, share and job group jobs, a split wave's plan, gate, apply and record jobs, the policy and evidence jobs, the apply status, stale, before-merge done and control jobs; `needs:`, `if:`, `{job}` and `--from-job` follow it), `stageNames` (GitLab), `artifactNames` (the outcome, decision, saved plan and check claims artifacts, and the pattern a wave job downloads the earlier outcomes with), `workflowFile` (the generators' file and the follow-on's dispatch), `runIf` (the jobs go in the product's own workflow, each running on a push it admits or a before-merge or follow-on dispatch, with its own permissions; on GitLab joined to every rule) and `dispatchInputs` (the dispatch inputs' names, which the comment job's dispatch and the follow-on use), with `buildForgejoOpWavesDoc` for the Forgejo jobs, and whose product pipeline's `wavesBeforeMerge` takes `workflowFile` and `dispatchInputs`.", issue: "#5022", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
56
+ { name: "PRODUCT_JOB_NAMES_FLOOR", version: "0.124.92", gates: "The first chant whose product pipeline names its comment job and its waves' jobs as the product does (#5027): `commentJob: { jobName }` (default `comment`, such as terragucci's `apply-comment`), refused when another job of the workflow has the name, and `wavesJobNames`, the Op waves generators' `jobNames`, which `waves.pipeline` carries to the generator and `waves.jobs` takes, and under which the comment job's re-run of a merged pull request's apply looks for the waves' jobs (`CHANT_COMMENT_JOBS` `applyJobs`, `rerunApplyJobs`), so terragucci's `apply-wave-<k>`, `-share-<n>`, group jobs and `apply-rest` run again.", issue: "#5027", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
57
+ { name: "OP_WAVES_DEFAULT_BRANCH_FLOOR", version: "0.124.93", gates: "The first chant whose Op waves run from the repository's default branch by the name the forge gives it at run time (#5032): the spec's `defaultBranch: true`, with or without `branches` beside it.", issue: "#5032", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
58
+ { name: "OP_WAVES_FIRST_WAVE_NEEDS_FLOOR", version: "0.124.93", gates: "The first chant whose Op waves generators take `firstWaveNeeds` (#5032): the product's own jobs, such as terragucci's `check`, that the first wave's own or deciding job (and before merge its plan job, and on GitLab its policy job) needs, so a push that fails the product's check applies nothing.", issue: "#5032", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
59
+ { name: "NOTIFY_RELAY_NAME_FLOOR", version: "0.124.93", gates: "The first chant whose notify config takes `relayName` (#5033): the relay's name as people mention it in Teams, a plain value, which `sendNotify` (and so a wave's and a drift notice's messages) passes to the Teams card over the product's words' own, so a waiting wave's card spells out `reply @<name> approve <token>`.", issue: "#5033", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
60
+ { name: "OP_WAVES_RESUME_NAMES_FLOOR", version: "0.124.93", gates: "The first chant whose Op waves resume keeps a product's names (#5034): `resumeWorkflowFile` names the GitHub and Forgejo resume workflow's file (such as terragucci's `terragucci-resume.yml`; default `<spec>-resume.yml`, refused on GitLab and when it is the waves' own file), and `jobNames` is called for the resume job with the role `resume` (GitHub and Forgejo `resume`, GitLab `<spec>-resume` by default).", issue: "#5034", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
61
+ { name: "WAVES_BEFORE_MERGE_ENVIRONMENT_FLOOR", version: "0.124.93", gates: "The first chant whose Op waves before merge take `beforeMerge.environment` (#5037): the forge environment the job after the last wave runs in, so a merge token scoped to it reaches that job alone (GitLab `environment: { name, action: access }`, GitHub `environment: <name>`; Forgejo refuses it), with the product pipeline's `wavesBeforeMerge.environment` carried through `waves.pipeline`.", issue: "#5037", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
62
+ { name: "NOTE_POLL_NAMES_FLOOR", version: "0.124.93", gates: "The first chant whose GitLab note poll keeps a product's names (#5038): the product pipeline's `noteCommandsJob` gives its job's name (default `note-commands`), its stage (default the job's name) and the variable and value a pipeline schedule starts it with (default `CHANT_NOTE_COMMANDS=1`), such as terragucci's `comments` job and `TERRAGUCCI_SCHEDULE=comments`, rendered in the job, its stage, its rule, its resource group and the workflow's rules.", issue: "#5038", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
63
+ { name: "OP_WAVES_COMMAND_TOKEN_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose Op waves generators take `commandToken` (#5044), GitHub and Forgejo: the jobs that run only the default branch's code (a push's wave, deciding, share and job group jobs; a split wave's gate and record jobs) hand their command step the job's token as `GITHUB_TOKEN`, so the spec's `respond` posts a refused wave's diff and a failed apply's triage and a product's hooks can read the forge, and ask for `permissions` beside chant's own.", issue: "#5044", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
64
+ { name: "OP_WAVES_GITLAB_CACHE_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose GitLab Op waves generator takes `cache` (#5045): the `cache:` entry or entries of each job that runs the wave's command (the wave's own, deciding, share and job group jobs, the policy job, a split wave's plan and applying jobs), such as terragucci's Terragrunt sources and providers cache.", issue: "#5045", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
65
+ { name: "OP_WAVES_GROUPS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose Op waves generators take `controlGroup` and `resumeGroup` (#5053): the control job's group (GitHub and Forgejo `concurrency` with `cancel-in-progress: false`, GitLab `resource_group`), with `{commit}` standing for the commit it tells the control repo about, so a push's run and a resume's run send one dispatch per commit; and the GitLab resume job's `resource_group`.", issue: "#5053", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
57
66
  { name: "PRODUCT_ACTIONS_FLOOR", version: "0.124.58", gates: "Day-2 actions in the product pipeline (#4654): the `action` comment command counted as answered by the product's own workflow (`productPipelineJobs(forge, env, { words, actions: true })`), or the pipeline's own action job (`actionJob`, `build --pr-loop --action-job`), which answers the comment and a dispatch with a member and an action input, and runs the product's action verb with `--from-event`.", issue: "#4654", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
58
67
  { name: "APPROVAL_STATUS_FLOOR", version: "0.124.56", gates: "The approval status before merge (#4630): under a `pr-review` wave, the op waves generators add a job that posts `<product>/approval` on each open pull request's head.", issue: "#4630", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
59
68
  { name: "APPROVAL_STATUS_PULL_REQUEST_FLOOR", version: "0.124.56", gates: "The approval status for `pull-request` waves too (#4630, 2026-10-28 ruling): the generators add the record-plans and approval-status jobs for a spec whose waves take the pull request's own approval, and the status reads that approval's coverage of each wave's change set.", issue: "#4630", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
@@ -226,6 +235,10 @@ export const FLOOR_ROWS = [
226
235
  { name: "BEFORE_MERGE_REF_GATE_FLOOR", version: "0.124.89", gates: "The first chant whose `chant components pr-apply --before-merge` waits for the ref gate's status: the status the policy at base sets for the target branch is passed as `require` to the `checks` require (#4966).", issue: "#4966", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
227
236
  { name: "TARGET_SIGNED_CHECKS_FLOOR", version: "0.124.89", gates: "The first chant whose product plan with `targets` and `evidence` signs each target's plan job as `plan:<target>` and `policy:<target>` (`ci evidence sign --member <target>`, `targetEvidenceCheck`, `productPlanEvidenceChecks`), and whose `refGateInitPlan` takes `targets` and names those checks in the `refs` rule (#4978).", issue: "#4978", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/ref-gate-init", "@intentius/chant/release-floors"] },
228
237
  { name: "RUNTIME_WAVES_SPEC_FLOOR", version: "0.124.89", gates: "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).", issue: "#4982", file: "release-floors.ts", modules: ["@intentius/chant/op", "@intentius/chant/op/index", "@intentius/chant/op/op-waves-render-spec", "@intentius/chant/release-floors"] },
238
+ { name: "RUNTIME_WAVES_SPEC_RUNS_AT_HEAD_FLOOR", version: NEXT_RELEASE, gates: "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).", issue: "#5046", file: "release-floors.ts", modules: ["@intentius/chant/op", "@intentius/chant/op/index", "@intentius/chant/op/op-waves-render-spec", "@intentius/chant/release-floors"] },
239
+ { name: "OP_WAVES_REMAINDER_FLOOR", version: NEXT_RELEASE, gates: "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.", issue: "#5047", file: "release-floors.ts", modules: ["@intentius/chant/ci-product", "@intentius/chant/op", "@intentius/chant/op/index", "@intentius/chant/op/op-waves-remainder", "@intentius/chant/release-floors"] },
240
+ { name: "OP_WAVES_SPLIT_RESUME_FLOOR", version: NEXT_RELEASE, gates: "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.", issue: "#5052", file: "release-floors.ts", modules: ["@intentius/chant/ci-product", "@intentius/chant/op/op-waves-split-resume", "@intentius/chant/release-floors"] },
241
+ { name: "OP_WAVES_REMAINDER_PARITY_FLOOR", version: NEXT_RELEASE, gates: "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.", issue: "#5056", file: "release-floors.ts", modules: ["@intentius/chant/ci-product", "@intentius/chant/op/op-waves-remainder", "@intentius/chant/release-floors"] },
229
242
  { name: "GITLAB_WAVE_EVIDENCE_RETRY_FLOOR", version: "0.124.89", gates: "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).", issue: "#4978", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
230
243
  { name: "TERRAFORM_COMMAND_TRACE_FLOOR", version: "0.124.91", gates: "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).", issue: "#5007", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
231
244
  { name: "RUN_EVENT_FLOOR", version: "0.124.28", gates: "The first chant that writes contract version 1 of the run-event stream.", file: "run-event.ts", modules: ["@intentius/chant", "@intentius/chant/index", "@intentius/chant/run-event"] },
@@ -27,6 +27,13 @@
27
27
  * jobs before the gate run again too; they must be safe to repeat (a wave
28
28
  * whose runs already applied plans nothing and applies nothing new).
29
29
  *
30
+ * A killed split apply (#5052): a split wave's gate job writes the applied
31
+ * line, and its applying job is the one killed. On GitLab its locator names
32
+ * the wave's applying and record jobs (`retry`), and each applying job's
33
+ * newest try that failed or was cancelled is retried, then the record job.
34
+ * On Forgejo it carries the run's dispatch inputs (`inputs`), and the
35
+ * dispatch sends them, so a before-merge run plans the same decided head.
36
+ *
30
37
  * Resuming approves nothing. The resumed job decides the gate again from the
31
38
  * ledger, so resuming a run whose approval does not count only makes it wait
32
39
  * again. {@link resumeGateRun} skips a run that is still going, that ended
@@ -1 +1 @@
1
- {"version":3,"file":"gate-resume-run.d.ts","sourceRoot":"","sources":["../src/gate-resume-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,OAAO,EAAiB,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,KAAK,cAAc,EAA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AS,CAG9H"}
@@ -27,6 +27,13 @@
27
27
  * jobs before the gate run again too; they must be safe to repeat (a wave
28
28
  * whose runs already applied plans nothing and applies nothing new).
29
29
  *
30
+ * A killed split apply (#5052): a split wave's gate job writes the applied
31
+ * line, and its applying job is the one killed. On GitLab its locator names
32
+ * the wave's applying and record jobs (`retry`), and each applying job's
33
+ * newest try that failed or was cancelled is retried, then the record job.
34
+ * On Forgejo it carries the run's dispatch inputs (`inputs`), and the
35
+ * dispatch sends them, so a before-merge run plans the same decided head.
36
+ *
30
37
  * Resuming approves nothing. The resumed job decides the gate again from the
31
38
  * ledger, so resuming a run whose approval does not count only makes it wait
32
39
  * again. {@link resumeGateRun} skips a run that is still going, that ended
@@ -52,6 +59,8 @@ export function gitlabEvidenceJobOf(job) {
52
59
  }
53
60
  /** The GitLab job statuses of a job that ran and ended; a `skipped` or `created` job GitLab runs again after a retry itself. */
54
61
  const GITLAB_FINISHED = new Set(["success", "failed", "canceled"]);
62
+ /** The statuses of a job that is not going and will not start by itself: finished, skipped, or waiting for a person. */
63
+ const GITLAB_ENDED = new Set([...GITLAB_FINISHED, "skipped", "manual"]);
55
64
  const trimSlash = (s) => s.replace(/\/+$/, "");
56
65
  const isObject = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
57
66
  function client(base, headers, fetchImpl) {
@@ -107,6 +116,32 @@ export async function resumeGateRun(loc, opts) {
107
116
  if (loc.forge === "gitlab") {
108
117
  const call = client(loc.api, { "PRIVATE-TOKEN": opts.token }, fetchImpl);
109
118
  const project = `/projects/${encodeURIComponent(decodeURIComponent(loc.repo))}`;
119
+ // #5052: a split wave's applying jobs, by name in the same pipeline, and its record job after them.
120
+ if (loc.retry?.apply.length) {
121
+ const listed = await call("GET", `${project}/pipelines/${loc.run}/jobs?per_page=100`);
122
+ // The list leaves retried jobs out, so the job of a name is its newest try.
123
+ const jobs = Array.isArray(listed) ? listed.filter(isObject) : [];
124
+ const newest = (name) => jobs.find((j) => j.name === name);
125
+ const applying = loc.retry.apply.map((name) => ({ name, job: newest(name) }));
126
+ const going = applying.find((a) => a.job && !GITLAB_ENDED.has(String(a.job.status)));
127
+ if (going)
128
+ return skip(`job ${String(going.job.id)} (${going.name}) is ${String(going.job.status)}, not finished`);
129
+ const stopped = applying.filter((a) => a.job && (a.job.status === "failed" || a.job.status === "canceled"));
130
+ if (stopped.length > 0) {
131
+ const record = loc.retry.record ? newest(loc.retry.record) : undefined;
132
+ const after = record && GITLAB_FINISHED.has(String(record.status)) ? record : undefined;
133
+ const what = [...stopped.map((a) => `job ${String(a.job.id)} (${a.name})`), ...(after ? [`its record job ${String(after.id)}`] : [])].join(" and ");
134
+ if (opts.dryRun)
135
+ return wouldResume(`retry ${what}`);
136
+ for (const a of stopped)
137
+ await call("POST", `${project}/jobs/${String(a.job.id)}/retry`);
138
+ // It needs the applying jobs, so it waits for their new tries.
139
+ if (after)
140
+ await call("POST", `${project}/jobs/${String(after.id)}/retry`);
141
+ return { status: "resumed", forge: "gitlab", how: `retried ${what}`, ...url };
142
+ }
143
+ // No applying job stopped: the gate job's own try says what is left (it succeeded, or stopped before them).
144
+ }
110
145
  const job = await call("GET", `${project}/jobs/${loc.job}`);
111
146
  if (!isObject(job))
112
147
  throw new Error(`GET ${project}/jobs/${loc.job} returned no job`);
@@ -155,15 +190,19 @@ export async function resumeGateRun(loc, opts) {
155
190
  const runs = isObject(listed) && Array.isArray(listed.workflow_runs) ? listed.workflow_runs : Array.isArray(listed) ? listed : [];
156
191
  // Forgejo reports `created` in whole seconds.
157
192
  const since = opts.since ? Math.floor(new Date(opts.since).getTime() / 1000) * 1000 : undefined;
193
+ // #5052: a run that a resume with inputs started is a dispatch; a push or a comment of the branch since is not one.
194
+ const inputs = loc.inputs && Object.keys(loc.inputs).length > 0 ? loc.inputs : undefined;
158
195
  const later = runs.find((r) => isObject(r) && Number(r.id) > Number(loc.run) &&
159
196
  (r.prettyref === undefined || r.prettyref === loc.ref) &&
197
+ (!inputs || r.event === undefined || r.event === "workflow_dispatch") &&
160
198
  (since === undefined || (typeof r.created === "string" && new Date(r.created).getTime() >= since)));
161
199
  if (isObject(later))
162
200
  return skip(`run ${String(later.id)} of ${loc.workflow} started after the approval`);
201
+ const with_ = inputs ? ` with ${Object.entries(inputs).map(([k, v]) => `${k}=${v}`).join(", ")}` : "";
163
202
  if (opts.dryRun)
164
- return wouldResume(`dispatch ${loc.workflow} on ${loc.ref}`);
165
- await call("POST", `${repo}/actions/workflows/${encodeURIComponent(loc.workflow)}/dispatches`, { ref: loc.ref });
166
- return { status: "resumed", forge: "forgejo", how: `dispatched ${loc.workflow} on ${loc.ref}`, ...url };
203
+ return wouldResume(`dispatch ${loc.workflow} on ${loc.ref}${with_}`);
204
+ await call("POST", `${repo}/actions/workflows/${encodeURIComponent(loc.workflow)}/dispatches`, { ref: loc.ref, ...(inputs ? { inputs } : {}) });
205
+ return { status: "resumed", forge: "forgejo", how: `dispatched ${loc.workflow} on ${loc.ref}${with_}`, ...url };
167
206
  }
168
207
  /**
169
208
  * The token a resume uses: `CHANT_FORGE_TOKEN`, else the forge's own
package/dist/lexicon.d.ts CHANGED
@@ -1031,7 +1031,11 @@ export interface OpWavesPipelineOptions extends Pick<ComponentPipelineOptions, "
1031
1031
  * the commit in `CHANT_WAVES_SPEC_AT`. The spec handed to the generator
1032
1032
  * is the pipeline's shape (its waves, shares, job groups, `cloud`,
1033
1033
  * runners, environments and `holds.policy`); the rendered one sets the
1034
- * rules. Absent: the jobs read the committed spec as before.
1034
+ * rules. Absent: the jobs read the committed spec as before. With
1035
+ * `runsAtHead: true` (#5046) the jobs also carry
1036
+ * `CHANT_WAVES_SPEC_RUNS=head`: the job's own spec, its runs, is rendered
1037
+ * at the applied commit with `CHANT_WAVES_SPEC_BASE` set to the base, and
1038
+ * the rules still come from the render at base.
1035
1039
  */
1036
1040
  renderSpec?: import("./op/op-waves-render-spec.js").OpWavesRenderSpec;
1037
1041
  /**
@@ -1104,6 +1108,13 @@ export interface OpWavesPipelineOptions extends Pick<ComponentPipelineOptions, "
1104
1108
  * record job dispatches. GitLab takes `opsFileName`. Absent: `<spec>.yml`.
1105
1109
  */
1106
1110
  workflowFile?: string;
1111
+ /**
1112
+ * GitHub and Forgejo (#5034): the file the spec's `resume` workflow goes
1113
+ * in, such as terragucci's `terragucci-resume.yml`. GitLab refuses it
1114
+ * (its resume job is in the pipeline; `jobNames` names it with the role
1115
+ * `resume`). Absent: `<spec>-resume.yml`.
1116
+ */
1117
+ resumeWorkflowFile?: string;
1107
1118
  /**
1108
1119
  * The jobs go in a product's own workflow or pipeline beside its other
1109
1120
  * jobs (#5022). GitHub and Forgejo: an expression (without `${{ }}`)
@@ -1123,6 +1134,58 @@ export interface OpWavesPipelineOptions extends Pick<ComponentPipelineOptions, "
1123
1134
  * (`wavesBeforeMerge.dispatchInputs`). Absent: chant's.
1124
1135
  */
1125
1136
  dispatchInputs?: Partial<Record<import("./op/op-waves-names.js").OpWavesDispatchInput, string>>;
1137
+ /**
1138
+ * The product's own jobs the first wave's jobs need (#5032), such as
1139
+ * terragucci's `check`, so a push that fails the product's check applies
1140
+ * nothing. They go in `needs:` of wave 1's job (its deciding job for a
1141
+ * wide wave, and before merge its plan job). GitHub and Forgejo: each has
1142
+ * to pass, or, in a dispatched run, not have run. GitLab: each, optional,
1143
+ * has to pass (wave 1's policy job needs them too). The jobs must be in
1144
+ * the same workflow or pipeline, so this goes with `runIf`. Absent: none.
1145
+ */
1146
+ firstWaveNeeds?: string[];
1147
+ /**
1148
+ * GitHub and Forgejo (#5044): the job's token in the command step of the
1149
+ * jobs that run only the default branch's code (a push's wave, deciding,
1150
+ * share and job group jobs; a split wave's gate and record jobs), as
1151
+ * `GITHUB_TOKEN`, so the spec's `respond` posts a refused wave's diff and
1152
+ * a failed apply's triage, and a product's hooks can read the forge. The
1153
+ * jobs ask for `permissions` beside chant's own, such as terragucci's
1154
+ * `pull-requests: write` and, with its review agent, `actions: read`.
1155
+ * A split wave's plan and applying jobs run the change's code and never
1156
+ * get it. GitLab refuses it: its jobs read `CHANT_FORGE_TOKEN`. Absent:
1157
+ * no wave job holds a token, as before.
1158
+ */
1159
+ commandToken?: import("./op/op-waves-names.js").OpWavesCommandToken;
1160
+ /**
1161
+ * GitLab (#5045): the `cache:` of each job that runs the wave's command
1162
+ * (the wave's own, deciding, share and job group jobs, the policy job, and
1163
+ * a split wave's plan and applying jobs), one entry or a list as GitLab
1164
+ * takes them, such as terragucci's Terragrunt sources and providers cache.
1165
+ * The gate and record jobs plan and apply nothing, so they take none.
1166
+ * GitHub and Forgejo refuse it: a wave's `setup` step does this there.
1167
+ * Absent: no cache, as before.
1168
+ */
1169
+ cache?: Record<string, unknown> | Array<Record<string, unknown>>;
1170
+ /**
1171
+ * The control job's group (#5053), so the control repo gets one send per
1172
+ * commit when a push's run and a resume's run both reach it: GitHub and
1173
+ * Forgejo `concurrency: { group, cancel-in-progress: false }`, GitLab
1174
+ * `resource_group`. `{commit}` in it stands for the commit the job tells
1175
+ * the control repo about (`${{ github.sha }}`, or a follow-on run's commit
1176
+ * input; GitLab `$CI_COMMIT_SHA` or `CHANT_WAVES_COMMIT`), such as
1177
+ * terragucci's `terragucci-control-${{ github.repository }}-{commit}`.
1178
+ * Needs `control` on the spec. Absent: no group, as before.
1179
+ */
1180
+ controlGroup?: string;
1181
+ /**
1182
+ * GitLab (#5053): the resume job's `resource_group`, such as terragucci's
1183
+ * `terragucci-resume`, so two resume pipelines that overlap do not both
1184
+ * retry the same waiting job. GitHub and Forgejo refuse it: their resume
1185
+ * workflow has its own group, `<spec>-resume`. Needs `resume` on the
1186
+ * spec. Absent: no resource group, as before.
1187
+ */
1188
+ resumeGroup?: string;
1126
1189
  }
1127
1190
  /** A run step a product adds to a generated job (#4791): its name, and its shell lines in order. */
1128
1191
  export interface OpWaveRunStep {