@intentius/chant 0.124.90 → 0.124.92

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 (99) hide show
  1. package/dist/actor.d.ts +5 -3
  2. package/dist/actor.d.ts.map +1 -1
  3. package/dist/actor.js +7 -5
  4. package/dist/audit/core.d.ts.map +1 -1
  5. package/dist/audit/core.js +11 -1
  6. package/dist/ci-comment-commands.d.ts +11 -1
  7. package/dist/ci-comment-commands.d.ts.map +1 -1
  8. package/dist/ci-comment-commands.js +10 -3
  9. package/dist/ci-product.d.ts +27 -1
  10. package/dist/ci-product.d.ts.map +1 -1
  11. package/dist/ci-product.js +36 -10
  12. package/dist/cli/handlers/pr-comment.d.ts.map +1 -1
  13. package/dist/cli/handlers/pr-comment.js +17 -4
  14. package/dist/cli/handlers/pr.d.ts +2 -2
  15. package/dist/cli/handlers/pr.d.ts.map +1 -1
  16. package/dist/cli/handlers/pr.js +32 -10
  17. package/dist/cli/parse-args.d.ts.map +1 -1
  18. package/dist/cli/parse-args.js +13 -0
  19. package/dist/cli/registry.d.ts +4 -0
  20. package/dist/cli/registry.d.ts.map +1 -1
  21. package/dist/components/pr-checks.d.ts +11 -0
  22. package/dist/components/pr-checks.d.ts.map +1 -1
  23. package/dist/components/pr-checks.js +15 -5
  24. package/dist/components/pr-pipeline.d.ts +13 -4
  25. package/dist/components/pr-pipeline.d.ts.map +1 -1
  26. package/dist/components/pr-pipeline.js +23 -9
  27. package/dist/components/product-pipeline.d.ts +41 -7
  28. package/dist/components/product-pipeline.d.ts.map +1 -1
  29. package/dist/components/product-pipeline.js +63 -23
  30. package/dist/components/product-plan.d.ts +86 -1
  31. package/dist/components/product-plan.d.ts.map +1 -1
  32. package/dist/components/product-plan.js +141 -16
  33. package/dist/floor-table.data.d.ts.map +1 -1
  34. package/dist/floor-table.data.js +18 -9
  35. package/dist/lexicon-module.d.ts +2 -0
  36. package/dist/lexicon-module.d.ts.map +1 -1
  37. package/dist/lexicon-module.js +6 -2
  38. package/dist/lexicon.d.ts +42 -1
  39. package/dist/lexicon.d.ts.map +1 -1
  40. package/dist/op/before-merge-decide.d.ts +2 -0
  41. package/dist/op/before-merge-decide.d.ts.map +1 -1
  42. package/dist/op/op-waves-evidence-jobs.d.ts +3 -2
  43. package/dist/op/op-waves-evidence-jobs.d.ts.map +1 -1
  44. package/dist/op/op-waves-evidence-jobs.js +4 -3
  45. package/dist/op/op-waves-follow-on.d.ts +2 -0
  46. package/dist/op/op-waves-follow-on.d.ts.map +1 -1
  47. package/dist/op/op-waves-follow-on.js +8 -2
  48. package/dist/op/op-waves-names.d.ts +122 -0
  49. package/dist/op/op-waves-names.d.ts.map +1 -0
  50. package/dist/op/op-waves-names.js +151 -0
  51. package/dist/planned-files.d.ts +16 -8
  52. package/dist/planned-files.d.ts.map +1 -1
  53. package/dist/planned-files.js +12 -8
  54. package/dist/pr-forge-job.d.ts +8 -0
  55. package/dist/pr-forge-job.d.ts.map +1 -1
  56. package/dist/pr-forge-job.js +13 -0
  57. package/dist/pr-plan-record.d.ts +3 -1
  58. package/dist/pr-plan-record.d.ts.map +1 -1
  59. package/dist/pr-plan-record.js +1 -1
  60. package/dist/pr-post.d.ts +15 -3
  61. package/dist/pr-post.d.ts.map +1 -1
  62. package/dist/pr-post.js +10 -6
  63. package/dist/release-floors.d.ts +7 -1
  64. package/dist/release-floors.d.ts.map +1 -1
  65. package/dist/release-floors.js +8 -2
  66. package/dist/wave-runtime.mjs +276 -276
  67. package/package.json +1 -1
  68. package/src/actor.test.ts +14 -1
  69. package/src/actor.ts +8 -6
  70. package/src/audit/core.ts +13 -1
  71. package/src/audit/first-load.test.ts +101 -0
  72. package/src/ci-comment-commands.test.ts +19 -5
  73. package/src/ci-comment-commands.ts +18 -3
  74. package/src/ci-product.ts +42 -10
  75. package/src/cli/handlers/pr-comment.ts +14 -4
  76. package/src/cli/handlers/pr.ts +27 -10
  77. package/src/cli/parse-args.ts +9 -0
  78. package/src/cli/registry.ts +4 -0
  79. package/src/components/pr-checks.ts +16 -5
  80. package/src/components/pr-pipeline.ts +24 -11
  81. package/src/components/product-job-names.test.ts +176 -0
  82. package/src/components/product-pipeline.ts +101 -31
  83. package/src/components/product-plan-names.test.ts +135 -0
  84. package/src/components/product-plan.ts +218 -18
  85. package/src/floor-table.data.ts +18 -9
  86. package/src/lexicon-module.ts +6 -2
  87. package/src/lexicon.ts +42 -1
  88. package/src/op/before-merge-decide.ts +2 -0
  89. package/src/op/op-waves-evidence-jobs.ts +4 -3
  90. package/src/op/op-waves-follow-on.ts +10 -2
  91. package/src/op/op-waves-names.test.ts +131 -0
  92. package/src/op/op-waves-names.ts +241 -0
  93. package/src/planned-files.test.ts +33 -0
  94. package/src/planned-files.ts +26 -10
  95. package/src/pr-forge-job.ts +13 -0
  96. package/src/pr-plan-record.ts +4 -2
  97. package/src/pr-post-head.test.ts +116 -0
  98. package/src/pr-post.ts +26 -9
  99. package/src/release-floors.ts +11 -2
package/dist/actor.d.ts CHANGED
@@ -19,7 +19,7 @@ export declare const ACTOR_ENV_ORDER: readonly ["GITHUB_ACTOR", "GITLAB_USER_LOG
19
19
  export declare function actorFromEnv(env?: Record<string, string | undefined>, fallback?: string): string;
20
20
  /** Which of the places {@link actorOf} reads, and the answer when none is set. */
21
21
  export interface ActorOptions {
22
- /** The variables. Default `process.env`. */
22
+ /** The variables, and the environment the `git config` for `repo` runs with (#5005). Default `process.env`. */
23
23
  env?: Record<string, string | undefined>;
24
24
  /** Read `GITHUB_TRIGGERING_ACTOR` first: who re-ran the job, ahead of who started the run. Default false. */
25
25
  triggering?: boolean;
@@ -40,8 +40,10 @@ export declare function actorOrder(options?: Omit<ActorOptions, "env" | "fallbac
40
40
  * The first place of {@link actorOrder} set to something other than blanks,
41
41
  * else `fallback` (#4966). With no options it answers as
42
42
  * {@link actorFromEnv}. A git config key is read only when every place
43
- * before it is empty, so a job with a forge actor runs no git.
43
+ * before it is empty, so a job with a forge actor runs no git. git runs
44
+ * with `env`, so a job's `GIT_CONFIG_GLOBAL` or `HOME` picks the config it
45
+ * reads, not the process's (#5005).
44
46
  */
45
47
  export declare function actorOf(options?: ActorOptions): string;
46
- export { ACTOR_ORDER_FLOOR } from "./release-floors.js";
48
+ export { ACTOR_GIT_ENV_FLOOR, ACTOR_ORDER_FLOOR } from "./release-floors.js";
47
49
  //# sourceMappingURL=actor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../src/actor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,oFAAoF;AACpF,eAAO,MAAM,eAAe,YAAI,cAAc,EAAE,mBAAmB,EAAE,MAAM,EAAE,UAAU,CAAU,CAAC;AAElG,oHAAoH;AACpH,wBAAgB,YAAY,CAAC,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,EAAE,QAAQ,SAAY,GAAG,MAAM,CAMhH;AAED,kFAAkF;AAClF,MAAM,WAAW,YAAY;IAC3B,4CAA4C;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC,6GAA6G;IAC7G,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kFAAkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,sHAAsH;AACtH,wBAAgB,UAAU,CAAC,OAAO,GAAE,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,UAAU,CAAM,GAAG,MAAM,EAAE,CAOzF;AAOD;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,OAAO,GAAE,YAAiB,GAAG,MAAM,CAO1D;AAED,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../src/actor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,oFAAoF;AACpF,eAAO,MAAM,eAAe,YAAI,cAAc,EAAE,mBAAmB,EAAE,MAAM,EAAE,UAAU,CAAU,CAAC;AAElG,oHAAoH;AACpH,wBAAgB,YAAY,CAAC,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,EAAE,QAAQ,SAAY,GAAG,MAAM,CAMhH;AAED,kFAAkF;AAClF,MAAM,WAAW,YAAY;IAC3B,+GAA+G;IAC/G,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC,6GAA6G;IAC7G,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kFAAkF;IAClF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,sHAAsH;AACtH,wBAAgB,UAAU,CAAC,OAAO,GAAE,IAAI,CAAC,YAAY,EAAE,KAAK,GAAG,UAAU,CAAM,GAAG,MAAM,EAAE,CAOzF;AAOD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,OAAO,GAAE,YAAiB,GAAG,MAAM,CAO1D;AAED,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/actor.js CHANGED
@@ -34,23 +34,25 @@ export function actorOrder(options = {}) {
34
34
  ...(options.login === false ? [] : ["USER", "USERNAME"]),
35
35
  ];
36
36
  }
37
- function gitConfig(repo, key) {
38
- const r = spawnSync("git", ["-C", repo, "config", key], { encoding: "utf-8", stdio: ["ignore", "pipe", "ignore"] });
37
+ function gitConfig(repo, key, env) {
38
+ const r = spawnSync("git", ["-C", repo, "config", key], { encoding: "utf-8", env, stdio: ["ignore", "pipe", "ignore"] });
39
39
  return r.status === 0 ? r.stdout.trim() : undefined;
40
40
  }
41
41
  /**
42
42
  * The first place of {@link actorOrder} set to something other than blanks,
43
43
  * else `fallback` (#4966). With no options it answers as
44
44
  * {@link actorFromEnv}. A git config key is read only when every place
45
- * before it is empty, so a job with a forge actor runs no git.
45
+ * before it is empty, so a job with a forge actor runs no git. git runs
46
+ * with `env`, so a job's `GIT_CONFIG_GLOBAL` or `HOME` picks the config it
47
+ * reads, not the process's (#5005).
46
48
  */
47
49
  export function actorOf(options = {}) {
48
50
  const env = options.env ?? process.env;
49
51
  for (const place of actorOrder(options)) {
50
- const v = (place.startsWith("git:") ? gitConfig(options.repo, place.slice(4)) : env[place])?.trim();
52
+ const v = (place.startsWith("git:") ? gitConfig(options.repo, place.slice(4), env) : env[place])?.trim();
51
53
  if (v)
52
54
  return v;
53
55
  }
54
56
  return options.fallback ?? "unknown";
55
57
  }
56
- export { ACTOR_ORDER_FLOOR } from "./release-floors.js";
58
+ export { ACTOR_GIT_ENV_FLOOR, ACTOR_ORDER_FLOOR } from "./release-floors.js";
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/audit/core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAyC,MAAM,oBAAoB,CAAC;AAGhG,OAAO,KAAK,EAAE,kBAAkB,EAAiB,MAAM,YAAY,CAAC;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CA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CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,YAAY,KAAK,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;AAa9F;;;;GAIG;AACH,qEAAqE;AACrE,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AAgFjD;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAsB,UAAU,CAC9B,MAAM,EAAE,UAAU,EAAE,EACpB,IAAI,GAAE;IACJ,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,uHAAuH;IACvH,YAAY,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC/B,GACL,OAAO,CAAC,YAAY,EAAE,CAAC,CAqBzB;AAED,8EAA8E;AAC9E,eAAO,MAAM,UAAU,iBAAiB,CAAC"}
@@ -21,7 +21,7 @@
21
21
  */
22
22
  import { basename } from "path";
23
23
  import { applyInlineSuppressions } from "../lint/suppressions.js";
24
- import { lexiconModulePath, lexiconPackagesToInstall, lexiconSourceLabel } from "../lexicon-module.js";
24
+ import { isPackageNotFound, lexiconModulePath, lexiconPackagesToInstall, lexiconSourceLabel } from "../lexicon-module.js";
25
25
  const checksCache = new Map();
26
26
  const entitiesParserCache = new Map();
27
27
  function dedupeById(checks) {
@@ -58,6 +58,16 @@ async function load(names) {
58
58
  if (pkgs.length === 0) {
59
59
  throw new MissingLexiconError(`Could not load the lexicon module ${paths.join(", ")} needed to audit ${names.join("/")} workflows.\n(${detail})`);
60
60
  }
61
+ // chant#4881 — only a package that can't be resolved is missing. Any other
62
+ // failure (a module the package imports, its `init()`, a cross-lexicon
63
+ // conflict) is reported as itself, so nobody is told to install a package
64
+ // they have.
65
+ if (paths.length === 0 && !pkgs.some((pkg) => isPackageNotFound(err, pkg))) {
66
+ const generated = /[\\/]generated[\\/]index\b/.test(detail)
67
+ ? " Its src/generated/ code is missing; in a source checkout, run the lexicon's `npm run generate`."
68
+ : "";
69
+ throw new Error(`The lexicon package ${pkgs.join(", ")} needed to audit ${names.join("/")} workflows is installed but failed to load: ${detail}${generated}`);
70
+ }
61
71
  const fromPath = paths.length > 0 ? ` The lexicon module ${paths.join(", ")} is declared by path and has nothing to install.` : "";
62
72
  throw new MissingLexiconError(`Missing lexicon package needed to audit ${names.join("/")} workflows. Install it with: npm i ${pkgs.join(" ")}${fromPath}\n(${detail})`);
63
73
  }
@@ -54,7 +54,7 @@ import { type CiProductWords, type ParsedProductComment } from "./ci-product-wor
54
54
  import { type ForgeFetch, type PrForge } from "./pr-forge.js";
55
55
  import type { ForgeReads } from "./pr-forge-reads.js";
56
56
  import type { DecideBeforeMergeInput, WavesBeforeMergeJobs } from "./op/before-merge-decide.js";
57
- /** The comment job's name in a generated workflow (#4946). */
57
+ /** The comment job's name in a generated workflow (#4946), unless the product names it (#5027: the product pipeline's `commentJob.jobName`, such as terragucci's `apply-comment`). */
58
58
  export declare const PR_COMMENT_JOB = "comment";
59
59
  /** The variable the comment job reads the pipeline's jobs from, as JSON ({@link CommentJobs}), written by the generator (#4946). */
60
60
  export declare const COMMENT_JOBS_ENV = "CHANT_COMMENT_JOBS";
@@ -100,6 +100,14 @@ export interface CommentJobs extends Omit<ChantNoteJobs, "members"> {
100
100
  * `chant/lifecycle`, and dispatches the waves workflow for it.
101
101
  */
102
102
  wavesBeforeMerge?: WavesBeforeMergeJobs;
103
+ /**
104
+ * The waves' apply jobs by the names the product gave them (#5027, the
105
+ * Op waves generator's `jobNames`, such as terragucci's `apply-wave-<k>`,
106
+ * `apply-wave-<k>-share-<n>`, its group jobs and `apply-rest`). A re-run
107
+ * of a merged pull request's apply looks for these. Absent:
108
+ * {@link RERUN_APPLY_JOBS}.
109
+ */
110
+ applyJobs?: readonly string[];
103
111
  }
104
112
  /** What the decision before merge reads and writes with (#4984), the comment job's handler's. */
105
113
  export type CommentBeforeMerge = Pick<DecideBeforeMergeInput, "requires" | "statuses" | "git" | "cwd" | "lock" | "record" | "stop" | "now">;
@@ -116,6 +124,8 @@ export type CommentWaveStops = (op: string, sha: string, stop: {
116
124
  * terragucci's pull request loop jobs (`apply`, `apply-wave-<k>`).
117
125
  */
118
126
  export declare const RERUN_APPLY_JOBS: RegExp;
127
+ /** The apply jobs a re-run looks for (#5027): exactly `jobs.applyJobs` when the product named them, else {@link RERUN_APPLY_JOBS}. */
128
+ export declare function rerunApplyJobs(jobs: Pick<CommentJobs, "applyJobs">): RegExp;
119
129
  /** The writes a re-run makes, with the job's token. */
120
130
  export interface CommentRuns {
121
131
  /** GitHub: `POST /repos/{repo}/actions/runs/{run}/rerun-failed-jobs`. */
@@ -1 +1 @@
1
- {"version":3,"file":"ci-comment-commands.d.ts","sourceRoot":"","sources":["../src/ci-comment-commands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAGH,OAAO,EAAc,KAAK,UAAU,EAAqB,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACzH,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EAAiB,KAAK,UAAU,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,EAAE,UAAU,EAAqB,MAAM,kBAAkB,CAAC;AACtE,OAAO,KAAK,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAE7F,8DAA8D;AAC9D,eAAO,MAAM,cAAc,YAAY,CAAC;AAExC,oIAAoI;AACpI,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,WAAY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;AACtE,wBAAsB,oBAAoB,CAAC,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,CAAC,CAgJ3F;AAED,6FAA6F;AAC7F,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAI5D;AAcD,oFAAoF;AACpF,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,aAAa,CAAC,GAAG,UAAU,CAY9E;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,GAAG,UAAU,CAqBnH"}
@@ -53,7 +53,7 @@ import { commentTerms, forkReply, memberReply, notRunReply } from "./ci-comment-
53
53
  import { retryApply } from "./ci-note-commands.js";
54
54
  import { parseProductComment } from "./ci-product-words.js";
55
55
  import { ForgeApiError } from "./pr-forge.js";
56
- /** The comment job's name in a generated workflow (#4946). */
56
+ /** The comment job's name in a generated workflow (#4946), unless the product names it (#5027: the product pipeline's `commentJob.jobName`, such as terragucci's `apply-comment`). */
57
57
  export const PR_COMMENT_JOB = "comment";
58
58
  /** The variable the comment job reads the pipeline's jobs from, as JSON ({@link CommentJobs}), written by the generator (#4946). */
59
59
  export const COMMENT_JOBS_ENV = "CHANT_COMMENT_JOBS";
@@ -63,6 +63,12 @@ export const COMMENT_JOBS_ENV = "CHANT_COMMENT_JOBS";
63
63
  * terragucci's pull request loop jobs (`apply`, `apply-wave-<k>`).
64
64
  */
65
65
  export const RERUN_APPLY_JOBS = /^(?:wave-([1-9][0-9]*)-[a-z0-9][a-z0-9_-]*|(?:[a-z0-9][a-z0-9-]*-)?apply(?:-wave-([1-9][0-9]*)(?:-share-[1-9][0-9]*)?)?)$/;
66
+ /** The apply jobs a re-run looks for (#5027): exactly `jobs.applyJobs` when the product named them, else {@link RERUN_APPLY_JOBS}. */
67
+ export function rerunApplyJobs(jobs) {
68
+ if (!jobs.applyJobs?.length)
69
+ return RERUN_APPLY_JOBS;
70
+ return new RegExp(`^(?:${jobs.applyJobs.map((n) => n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})$`);
71
+ }
66
72
  /** The writes for a GitHub or Forgejo API root, repository and token. */
67
73
  export function commentRuns(opts) {
68
74
  const fetchImpl = opts.fetch ?? globalThis.fetch;
@@ -240,7 +246,8 @@ export async function answerProductComment(o) {
240
246
  count: o.jobs.waves.count,
241
247
  jobs: bm,
242
248
  words: o.words,
243
- start: (r) => o.runs.dispatch(workflow, o.base, { pr: String(r.pr), head: r.head, digest: r.digest }),
249
+ // #5022: under the waves workflow's input names, the product's when it renamed them.
250
+ start: (r) => o.runs.dispatch(workflow, o.base, { [bm.inputs?.pr ?? "pr"]: String(r.pr), [bm.inputs?.head ?? "head"]: r.head, [bm.inputs?.digest ?? "digest"]: r.digest }),
244
251
  });
245
252
  if (done.kind === "fail")
246
253
  return broke(done.reason, command);
@@ -280,7 +287,7 @@ export async function answerProductComment(o) {
280
287
  return start(run, jobs, ctx);
281
288
  }
282
289
  : start;
283
- const done = await retryApply({ reads: o.reads, forge: o.poster, words: o.words, base: o.base }, o.forge, pr, user, { kind: "retry", sha: mergeCommit, jobs: RERUN_APPLY_JOBS }, rerun);
290
+ const done = await retryApply({ reads: o.reads, forge: o.poster, words: o.words, base: o.base }, o.forge, pr, user, { kind: "retry", sha: mergeCommit, jobs: rerunApplyJobs(o.jobs) }, rerun);
284
291
  if (done.kind === "fail")
285
292
  return broke(done.reason, command);
286
293
  const stopped = done.kind === "ran" && wave !== undefined && waves && wave < waves.count ? `; it stops after \`wave-${wave}\`, and the waves after it wait until \`/${o.words.product} ${typedApply(o.words)}\` runs it again` : "";
@@ -61,7 +61,7 @@ export declare const COMMENT_LEAVES_COMMIT_FLOOR = "0.124.88";
61
61
  * The first chant with the comment job on GitHub and Forgejo and the replies to commands no job runs (#4946): `commentJob` in the product pipeline (`chant components pr-comment`, `answerProductComment` in `@intentius/chant/ci-comment-commands`), which replies to a refusal and to a command the pipeline runs no job for, and with waves on merge starts a merged pull request's apply again; the words' `replies` and an alias's `refuse`, which the GitLab note poll reads too, as `chantNoteRuns`' `members`; `retryApply`; and `locks: "plan"` in GitHub's and Forgejo's product plan, with the lock, unlock and comment lock jobs.
62
62
  */
63
63
  export declare const COMMENT_COMMANDS_FLOOR = "0.124.89";
64
- export { answerProductComment, answeredElsewhere, COMMENT_JOBS_ENV, commentRuns, PR_COMMENT_JOB, RERUN_APPLY_JOBS, type CommentJobs, type CommentOutcome, type CommentRuns, type AnswerCommentOptions } from "./ci-comment-commands.js";
64
+ export { answerProductComment, answeredElsewhere, COMMENT_JOBS_ENV, commentRuns, PR_COMMENT_JOB, RERUN_APPLY_JOBS, rerunApplyJobs, type CommentJobs, type CommentOutcome, type CommentRuns, type AnswerCommentOptions } from "./ci-comment-commands.js";
65
65
  export { forkReply, memberReply, notRunReply } from "./ci-comment-replies.js";
66
66
  export type { CiProductCommentReplies } from "./ci-product-words.js";
67
67
  export { productCommentJob, type ProductCommentJob } from "./components/product-pipeline.js";
@@ -138,6 +138,32 @@ export { planBodyHandoff, PLAN_BODY_LIMIT, type PrPlanBodyHandoff } from "./pr-p
138
138
  */
139
139
  export declare const PRODUCT_PLAN_SUBJECT_FLOOR = "0.124.89";
140
140
  export { PLAN_SUBJECT_LIMIT, planSubjectProblem, sinceLastLine, subjectChanges, type PrPlanSubject, type PrPlanSubjectPartWords } from "./pr-plan-note.js";
141
+ /**
142
+ * 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`).
143
+ */
144
+ export declare const PRODUCT_PLAN_NAMES_FLOOR = "0.124.91";
145
+ export { productPlanContext, productPlanReportDir, productPlanWorkflowFile } from "./components/product-plan.js";
146
+ /**
147
+ * 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. GitHub and Forgejo refuse it.
148
+ */
149
+ export declare const PRODUCT_PLAN_ARTIFACTS_FLOOR = "0.124.91";
150
+ /**
151
+ * 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.
152
+ */
153
+ export declare const PRODUCT_PLAN_LOGIN_TOKENS_FLOOR = "0.124.92";
154
+ /**
155
+ * 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.
156
+ */
157
+ export declare const PR_HEAD_SHA_FLOOR = "0.124.92";
158
+ /**
159
+ * 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`.
160
+ */
161
+ export declare const OP_WAVES_NAMES_FLOOR = "0.124.92";
162
+ /**
163
+ * 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.
164
+ */
165
+ export declare const PRODUCT_JOB_NAMES_FLOOR = "0.124.92";
166
+ export { opWavesArtifacts, opWavesDispatchInputs, opWavesNamer, opWavesWorkflowFile, type OpWavesArtifactNames, type OpWavesDispatchInput, type OpWavesJobNames, type OpWavesJobRef, type OpWavesJobRole, type OpWavesStageNames, type OpWavesStageRef } from "./op/op-waves-names.js";
141
167
  /**
142
168
  * Day-2 actions in the product pipeline (#4654): the `action` comment
143
169
  * command counted as answered by the product's own workflow
@@ -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;AAE9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,aAAa,CAAC;AAE3C,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,kBAAk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ine`
9
9
  * and `assertProductWords` present means the rest is too.
10
10
  */
11
- import { NEXT_RELEASE } from "./release-floors.js";
12
11
  import { OTLP_EXPORTER_FLOOR } from "./otlp.js";
12
+ import { NEXT_RELEASE } from "./release-floors.js";
13
13
  /**
14
14
  * The first chant with the product pipeline (#4550): the words, the
15
15
  * `pull-request` op-wave approval source, `runCommandInProcess(argv, {
@@ -60,7 +60,7 @@ export const COMMENT_LEAVES_COMMIT_FLOOR = "0.124.88";
60
60
  * The first chant with the comment job on GitHub and Forgejo and the replies to commands no job runs (#4946): `commentJob` in the product pipeline (`chant components pr-comment`, `answerProductComment` in `@intentius/chant/ci-comment-commands`), which replies to a refusal and to a command the pipeline runs no job for, and with waves on merge starts a merged pull request's apply again; the words' `replies` and an alias's `refuse`, which the GitLab note poll reads too, as `chantNoteRuns`' `members`; `retryApply`; and `locks: "plan"` in GitHub's and Forgejo's product plan, with the lock, unlock and comment lock jobs.
61
61
  */
62
62
  export const COMMENT_COMMANDS_FLOOR = "0.124.89";
63
- export { answerProductComment, answeredElsewhere, COMMENT_JOBS_ENV, commentRuns, PR_COMMENT_JOB, RERUN_APPLY_JOBS } from "./ci-comment-commands.js";
63
+ export { answerProductComment, answeredElsewhere, COMMENT_JOBS_ENV, commentRuns, PR_COMMENT_JOB, RERUN_APPLY_JOBS, rerunApplyJobs } from "./ci-comment-commands.js";
64
64
  export { forkReply, memberReply, notRunReply } from "./ci-comment-replies.js";
65
65
  export { productCommentJob } from "./components/product-pipeline.js";
66
66
  /**
@@ -78,36 +78,36 @@ export { setWaveStop, waveStopAt, waveStopLine } from "./op/wave-stop.js";
78
78
  /**
79
79
  * The first chant whose Op waves run before merge (#4984): `wavesBeforeMerge` in the product pipeline, where the comment job (GitHub, Forgejo) or the note poll (GitLab) decides `/<product> apply [wave-<n>]` on an open pull request (`decideWavesBeforeMerge`, `@intentius/chant/op/before-merge-decide`), records the head and its digest on `chant/lifecycle` (`_waves/<op>.before-merge.json`) and starts the waves for it; the generators' `beforeMerge`, whose guard admits that head alone, whose jobs check it out and read the base from the default branch, and whose `before-merge-done` job merges and releases the locks (`chant run wave --merge`); `waveJobs.<wave>.prelude`; the GitLab note poll's wave stop (`chantNoteRuns`' `waves`); a re-plan word that never starts with `-`; and the terraform lexicon's reach helpers (`@intentius/chant-lexicon-terraform/reach`).
80
80
  */
81
- export const WAVES_BEFORE_MERGE_FLOOR = NEXT_RELEASE;
81
+ export const WAVES_BEFORE_MERGE_FLOOR = "0.124.90";
82
82
  export { BEFORE_MERGE_DIGEST_ENV, BEFORE_MERGE_DONE_JOB, BEFORE_MERGE_HEAD_ENV, BEFORE_MERGE_PR_ENV, beforeMergeDigest, beforeMergePath, beforeMergeProblems, WAVES_BASE_ENV } from "./op/before-merge.js";
83
83
  export { decideWavesBeforeMerge, defaultPipelineFiles } from "./op/before-merge-decide.js";
84
84
  /**
85
85
  * The first chant whose Op waves post the apply statuses (#4987): the generators' `applyStatus`, a job `apply-status-<n>` after each wave at the default branch's commit that posts `<product>/apply` on the commit the waves applied (a before-merge run's decided head) with `chant run wave --apply-status` (`@intentius/chant/op/apply-status`), and the product pipeline's `applyStatus`; whose product plan takes `staleNotes`, each target's note carrying the target branch's commit and a `stale-notes` job beside wave 1 on a push marking each target's note (`pr-post --stale` with one `--member` per target); whose `productPipelineJobs` returns `waves.pipeline` for the generators; and whose GitLab reach line reaches the lock and note-commands jobs unexpanded (`expand: false`).
86
86
  */
87
- export const WAVES_APPLY_STATUS_FLOOR = NEXT_RELEASE;
87
+ export const WAVES_APPLY_STATUS_FLOOR = "0.124.90";
88
88
  export { applyStatusJobName, opWaveApplyStatus, postOpWaveApplyStatus } from "./op/apply-status.js";
89
89
  /**
90
90
  * The first chant whose before-merge waves never run the change's code beside a write token (#4987): with `beforeMerge` each wave is a plan job (the change's code, a checkout with no credentials kept, a read-only token; GitLab drops `CHANT_FORGE_TOKEN` and the job token), a gate job at the default branch with the token, an applying job on the saved plan with no write token, and a record job at the default branch that writes the run records (`chant run wave --phase plan|gate|apply|record`, `@intentius/chant/op/op-waves-split`). A `rest` wave is refused with `beforeMerge`.
91
91
  */
92
- export const WAVES_BEFORE_MERGE_SPLIT_FLOOR = NEXT_RELEASE;
92
+ export const WAVES_BEFORE_MERGE_SPLIT_FLOOR = "0.124.90";
93
93
  export { opWaveSplitJobs } from "./op/op-waves-split.js";
94
94
  /**
95
95
  * The first chant whose split before-merge waves take a `step` spec, Forgejo's hand-off, holds on other gates and one approval per wave (#4992): the plan job saves each run's step plan, the gate job leases the rows they change (no heartbeat; the decision names the lease) before it spends the approval, the applying job plans its runs again through the step and applies each whose digest the decision holds, and the record job writes the release records and lets go of the rows; a hook in the plan or apply job that holds the wave on another gate reads it with no write token and leaves its pending fact to the gate or record job; on Forgejo the plan and applying jobs hand their files on as job outputs (`packJs`), never through the artifact upload, and the gate and record jobs keep them as the artifacts; the plan job names no environment on GitHub (a wave's `planEnvironment` when set; on GitLab it prepares it), so the environment's reviewers are asked once. A `rest` wave splits from {@link WAVES_BEFORE_MERGE_REST_FLOOR} on.
96
96
  */
97
- export const WAVES_BEFORE_MERGE_STEP_FLOOR = NEXT_RELEASE;
97
+ export const WAVES_BEFORE_MERGE_STEP_FLOOR = "0.124.90";
98
98
  /**
99
99
  * The first chant whose split waves run a product's own process in every job (#4994): the product wave hook's `hooks` (`runChantInProcess(["run", "wave", ..., "--phase", <phase>], words, { wave: { afterPlan, capabilities, hookExec, runHooks, hooks } })`, `RunOpWaveOptions.inProcessHooks`) serves a spec hook by its name in the process of whichever job runs it, plan, gate or applying job or the one-job shape, in place of a command that called back over a socket; `opWaveProductStateDir` is where the plan job's code keeps what the later jobs read; a `record: true` hold in the plan job is spent by the gate job for a re-run of the hook at the wave's commit (an applied line with `rerun.head`), which the next run's plan job runs and its gate job finishes (`holdsFinished`); and `waveJobs.<wave>.artifact.path` takes a list and `waveJobs.<wave>.gate` gives the gate job a report and an artifact, so a product's own upload steps go through chant's Forgejo hand-off.
100
100
  */
101
- export const WAVES_PRODUCT_HOOKS_FLOOR = NEXT_RELEASE;
101
+ export const WAVES_PRODUCT_HOOKS_FLOOR = "0.124.90";
102
102
  export { opWaveProductStateDir } from "./op/op-waves-split.js";
103
103
  /**
104
104
  * The first chant whose split before-merge waves take a `rest` wave (#4992): its four jobs run one wave per run, the wave `CHANT_WAVES_WAVE` names (their own by default), and its record job, once the run applied and the plan found another wave, starts the waves workflow again for it (GitHub and Forgejo: a dispatch with the inputs `wave` and the decision's `pr`, `head` and `digest`, or a push's `commit`; GitLab: a pipeline with the same variables, with `CHANT_FORGE_TOKEN`), whose guard admits it as the same decided head; the jobs of the waves before it do not run in that follow-on; the record job's note (`rest-wave.json` beside the outcomes, `@intentius/chant/op/op-waves-follow-on`) tells `before-merge-done`, the control dispatch and the apply status that a run which started a follow-on is not the last.
105
105
  */
106
- export const WAVES_BEFORE_MERGE_REST_FLOOR = NEXT_RELEASE;
106
+ export const WAVES_BEFORE_MERGE_REST_FLOOR = "0.124.90";
107
107
  /**
108
108
  * The first chant whose rest wave's record job records each follow-on it starts on `chant/lifecycle` before it starts it (#4998): `_waves/<op>.follow-on.json` keeps, per decided head or pushed commit, the wave started, the run that started it, the decision (`pr`, `digest`) or the `commit`, and the outcomes of every run of the chain so far; the guard admits a follow-on only for the wave that record names, so a wave started by hand past it is refused; and the last run's control dispatch, apply status and `before-merge-done` add up the outcomes of every run of the chain (the note's `chain`), so a chain whose last wave changed nothing reports `applied`.
109
109
  */
110
- export const WAVES_FOLLOW_ON_RECORD_FLOOR = NEXT_RELEASE;
110
+ export const WAVES_FOLLOW_ON_RECORD_FLOOR = "0.124.90";
111
111
  /**
112
112
  * The first chant whose product plan takes `watches`, the product's own scheduled jobs the note job's `pr-post` checks for having stopped with the job's token (#4888), and whose `checkOverdueOps` and `overdueOpsAt` take a product's `logPrefix` and `label`.
113
113
  */
@@ -116,7 +116,7 @@ export { PLAN_WATCHES_ENV, watchesForTarget } from "./op/schedule-overdue.js";
116
116
  /**
117
117
  * The first chant whose product plan's `watches` take `targets` (#4988): a watch scoped to those targets is checked by their notes alone, and the note of another target checks neither it nor the discovered Op of its name (`watchesForTarget`).
118
118
  */
119
- export const PRODUCT_PLAN_WATCH_TARGETS_FLOOR = NEXT_RELEASE;
119
+ export const PRODUCT_PLAN_WATCH_TARGETS_FLOOR = "0.124.90";
120
120
  /**
121
121
  * The first chant whose product plan takes `record` (#4899): the plan step writes the plan job's run record into the hand-off, and the note job keeps it as Op `pr-plan` on `chant/lifecycle` with `pr-post --record-run <plan job>` (`--open` on GitLab), as `chant ci run plan --in-place` records `pr-plan`'s.
122
122
  */
@@ -133,6 +133,32 @@ export { planBodyHandoff, PLAN_BODY_LIMIT } from "./pr-plan-note.js";
133
133
  */
134
134
  export const PRODUCT_PLAN_SUBJECT_FLOOR = "0.124.89";
135
135
  export { PLAN_SUBJECT_LIMIT, planSubjectProblem, sinceLastLine, subjectChanges } from "./pr-plan-note.js";
136
+ /**
137
+ * 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`).
138
+ */
139
+ export const PRODUCT_PLAN_NAMES_FLOOR = "0.124.91";
140
+ export { productPlanContext, productPlanReportDir, productPlanWorkflowFile } from "./components/product-plan.js";
141
+ /**
142
+ * 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. GitHub and Forgejo refuse it.
143
+ */
144
+ export const PRODUCT_PLAN_ARTIFACTS_FLOOR = "0.124.91";
145
+ /**
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
+ */
148
+ export const PRODUCT_PLAN_LOGIN_TOKENS_FLOOR = NEXT_RELEASE;
149
+ /**
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
+ */
152
+ export const PR_HEAD_SHA_FLOOR = NEXT_RELEASE;
153
+ /**
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
+ */
156
+ export const OP_WAVES_NAMES_FLOOR = NEXT_RELEASE;
157
+ /**
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
+ */
160
+ export const PRODUCT_JOB_NAMES_FLOOR = NEXT_RELEASE;
161
+ export { opWavesArtifacts, opWavesDispatchInputs, opWavesNamer, opWavesWorkflowFile } from "./op/op-waves-names.js";
136
162
  /**
137
163
  * Day-2 actions in the product pipeline (#4654): the `action` comment
138
164
  * command counted as answered by the product's own workflow
@@ -1 +1 @@
1
- {"version":3,"file":"pr-comment.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/pr-comment.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAuD,KAAK,kBAAkB,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC3I,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,EAAoC,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGhF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAOlD,2HAA2H;AAC3H,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CA8BvE;AAED,iJAAiJ;AACjJ,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAiBnE;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA4C1I;AAED,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAiDjF"}
1
+ {"version":3,"file":"pr-comment.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/pr-comment.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAuD,KAAK,kBAAkB,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC3I,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,EAAoC,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGhF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAOlD,2HAA2H;AAC3H,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAoCvE;AAED,iJAAiJ;AACjJ,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAqBnE;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA4C1I;AAED,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAiDjF"}
@@ -31,7 +31,7 @@ export function commentJobsFromEnv(raw) {
31
31
  const v = JSON.parse(raw);
32
32
  if (typeof v !== "object" || v === null || Array.isArray(v))
33
33
  throw new Error(`${COMMENT_JOBS_ENV} is a JSON object of the jobs the pipeline has`);
34
- const known = new Set(["preview", "applyBeforeMerge", "applyOnMerge", "locks", "agent", "commits", "actions", "skipForks", "targets", "noPlanFlags", "waves", "wavesBeforeMerge"]);
34
+ const known = new Set(["preview", "applyBeforeMerge", "applyOnMerge", "locks", "agent", "commits", "actions", "skipForks", "targets", "noPlanFlags", "waves", "wavesBeforeMerge", "applyJobs"]);
35
35
  const jobs = {};
36
36
  for (const [k, x] of Object.entries(v)) {
37
37
  if (!known.has(k))
@@ -56,6 +56,14 @@ export function commentJobsFromEnv(raw) {
56
56
  jobs.targets = x;
57
57
  continue;
58
58
  }
59
+ // #5027: the waves' apply jobs by the product's names, which a re-run looks for.
60
+ if (k === "applyJobs") {
61
+ if (!Array.isArray(x) || x.some((t) => typeof t !== "string" || !/^[A-Za-z0-9_][A-Za-z0-9_.-]*$/.test(t)))
62
+ throw new Error(`${COMMENT_JOBS_ENV}.applyJobs is a list of job names`);
63
+ if (x.length > 0)
64
+ jobs.applyJobs = x;
65
+ continue;
66
+ }
59
67
  if (typeof x !== "boolean")
60
68
  throw new Error(`${COMMENT_JOBS_ENV}.${k} is true or false`);
61
69
  if (x)
@@ -70,7 +78,7 @@ export function wavesBeforeMergeOf(x) {
70
78
  const what = `${COMMENT_JOBS_ENV}.wavesBeforeMerge`;
71
79
  const o = x;
72
80
  if (!o || typeof o !== "object" || Array.isArray(o))
73
- throw new Error(`${what} is { workflow?, requires?, plan, pipelineFiles, locks? }`);
81
+ throw new Error(`${what} is { workflow?, inputs?, requires?, plan, pipelineFiles, locks? }`);
74
82
  const strings = (v) => Array.isArray(v) && v.every((s) => typeof s === "string" && s.trim() !== "" && !/[\r\n]/.test(s));
75
83
  if (o.workflow !== undefined && (typeof o.workflow !== "string" || !/^[A-Za-z0-9][A-Za-z0-9._-]*\.ya?ml$/.test(o.workflow)))
76
84
  throw new Error(`${what}.workflow is a workflow file name, like deploy.yml`);
@@ -82,8 +90,13 @@ export function wavesBeforeMergeOf(x) {
82
90
  throw new Error(`${what}.pipelineFiles is the list of paths a change may not touch`);
83
91
  if (o.locks !== undefined && (typeof o.locks !== "object" || o.locks === null || (o.locks.gate !== undefined && (typeof o.locks.gate !== "string" || !/^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$/.test(o.locks.gate)))))
84
92
  throw new Error(`${what}.locks is { gate? }`);
93
+ // #5022: the waves workflow's input names, the product's.
94
+ const inputs = o.inputs;
95
+ if (inputs !== undefined && (typeof inputs !== "object" || inputs === null || Object.entries(inputs).some(([k, n]) => !["pr", "head", "digest"].includes(k) || typeof n !== "string" || !/^[A-Za-z_][A-Za-z0-9_-]*$/.test(n))))
96
+ throw new Error(`${what}.inputs names the inputs pr, head and digest`);
85
97
  return {
86
98
  ...(o.workflow ? { workflow: o.workflow } : {}),
99
+ ...(inputs ? { inputs: { ...inputs } } : {}),
87
100
  ...(o.requires ? { requires: [...o.requires] } : {}),
88
101
  plan: [...o.plan],
89
102
  pipelineFiles: [...o.pipelineFiles],
@@ -112,8 +125,8 @@ export async function beforeMergeDeps(forge, jobs, env = process.env) {
112
125
  const line = env[LOCK_REACH_ENV];
113
126
  const name = (n) => (forge.kind === "gitlab" ? `!${n}` : `pull request ${n}`);
114
127
  return {
115
- // The plan and apply statuses never hold the apply back: the plan status is asked for by name.
116
- requires: async (pr, head) => unmetRequires(await checkPrRequires(forge, pr, head, { ignore: [productStatusContext(words, "apply"), productStatusContext(words, "plan"), `${productStatusContext(words, "plan")}/`], ...(bm.requires ? { only: bm.requires } : {}) })),
128
+ // The plan and apply statuses never hold the apply back: the plan status is asked for by name (#5003: the product plan's own names too).
129
+ requires: async (pr, head) => unmetRequires(await checkPrRequires(forge, pr, head, { ignore: [...new Set([productStatusContext(words, "apply"), productStatusContext(words, "plan"), `${productStatusContext(words, "plan")}/`, ...bm.plan])], ...(bm.requires ? { only: bm.requires } : {}) })),
117
130
  statuses: async (sha) => (await forge.commitStatuses?.(sha)) ?? [],
118
131
  git: (argv, o) => {
119
132
  const r = spawnSync(argv[0], argv.slice(1), { encoding: "utf8", ...(o.cwd ? { cwd: o.cwd } : {}) });
@@ -222,8 +222,8 @@ export declare function runComponentsPlanWave(ctx: CommandContext): Promise<numb
222
222
  */
223
223
  export declare function runComponentsApplyWave(ctx: CommandContext): Promise<number>;
224
224
  /**
225
- * chant components pr-post --pr <n> --head <sha> --env <env> --forge <kind> [--member <name>] [--output <dir>] [--result <result>] [--not-affected <argument>] (#4295, #4963)
226
- * chant components pr-post --open --env <env> --forge gitlab [--branch <branch>] [--member <name>] [--output <dir>] (#4328)
225
+ * chant components pr-post --pr <n> --head <sha> --env <env> --forge <kind> [--member <name>] [--output <dir>] [--result <result>] [--not-affected <argument>] [--context <context>] (#4295, #4963, #5003)
226
+ * chant components pr-post --open --env <env> --forge gitlab [--branch <branch>] [--member <name>] [--output <dir>] [--context <context>] [--plan-job <name>] (#4328, #5003)
227
227
  *
228
228
  * Post the plan note and the `chant/plan` status from the report a plan job
229
229
  * wrote with `pr-plan --no-status`, in a job that runs none of the change's
@@ -1 +1 @@
1
- {"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/pr.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAOH,OAAO,EAA+C,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAI7F,OAAO,EACL,UAAU,EAUV,KAAK,SAAS,EACf,MAAM,yBAAyB,CAAC;AASjC,OAAO,EAA0C,KAAK,YAAY,EAAuB,MAAM,wBAAwB,CAAC;AAIxH,OAAO,EAUL,KAAK,aAAa,EAGlB,KAAK,cAAc,EAKpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAA+D,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAc3G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,OAAO,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,EAAqE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAClI,OAAO,EAA6D,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGjI,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAiD,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC9H,OAAO,EAAqI,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAClM,O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