@intentius/chant 0.124.88 → 0.124.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actor.d.ts +36 -1
- package/dist/actor.d.ts.map +1 -1
- package/dist/actor.js +39 -1
- package/dist/chant-install.d.ts.map +1 -1
- package/dist/chant-install.js +1 -2
- package/dist/ci-base.d.ts +30 -0
- package/dist/ci-base.d.ts.map +1 -0
- package/dist/ci-base.js +33 -0
- package/dist/ci-comment-commands.d.ts +193 -0
- package/dist/ci-comment-commands.d.ts.map +1 -0
- package/dist/ci-comment-commands.js +353 -0
- package/dist/ci-comment-replies.d.ts +40 -0
- package/dist/ci-comment-replies.d.ts.map +1 -0
- package/dist/ci-comment-replies.js +59 -0
- package/dist/ci-evidence-from-job.d.ts +25 -0
- package/dist/ci-evidence-from-job.d.ts.map +1 -1
- package/dist/ci-evidence-from-job.js +43 -2
- package/dist/ci-evidence-jobs.d.ts +30 -1
- package/dist/ci-evidence-jobs.d.ts.map +1 -1
- package/dist/ci-evidence-jobs.js +46 -3
- package/dist/ci-image.d.ts +21 -4
- package/dist/ci-image.d.ts.map +1 -1
- package/dist/ci-image.js +62 -10
- package/dist/ci-job-guard.d.ts +42 -45
- package/dist/ci-job-guard.d.ts.map +1 -1
- package/dist/ci-job-guard.js +206 -3
- package/dist/ci-note-commands.d.ts +104 -4
- package/dist/ci-note-commands.d.ts.map +1 -1
- package/dist/ci-note-commands.js +131 -38
- package/dist/ci-product-words.d.ts +42 -0
- package/dist/ci-product-words.d.ts.map +1 -1
- package/dist/ci-product-words.js +25 -0
- package/dist/ci-product.d.ts +72 -1
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +73 -6
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/build.js +29 -2
- package/dist/cli/handlers/approve.d.ts.map +1 -1
- package/dist/cli/handlers/approve.js +2 -1
- package/dist/cli/handlers/ci-check.d.ts +1 -1
- package/dist/cli/handlers/ci-check.d.ts.map +1 -1
- package/dist/cli/handlers/ci-check.js +17 -7
- package/dist/cli/handlers/ci-evidence.d.ts.map +1 -1
- package/dist/cli/handlers/ci-evidence.js +33 -7
- package/dist/cli/handlers/components.d.ts.map +1 -1
- package/dist/cli/handlers/components.js +3 -1
- package/dist/cli/handlers/generated-check.d.ts +8 -0
- package/dist/cli/handlers/generated-check.d.ts.map +1 -1
- package/dist/cli/handlers/generated-check.js +31 -1
- package/dist/cli/handlers/lock.d.ts.map +1 -1
- package/dist/cli/handlers/lock.js +121 -4
- package/dist/cli/handlers/pr-comment.d.ts +33 -0
- package/dist/cli/handlers/pr-comment.d.ts.map +1 -0
- package/dist/cli/handlers/pr-comment.js +201 -0
- package/dist/cli/handlers/pr-env.d.ts.map +1 -1
- package/dist/cli/handlers/pr-env.js +6 -3
- package/dist/cli/handlers/pr-notes.d.ts.map +1 -1
- package/dist/cli/handlers/pr-notes.js +23 -1
- package/dist/cli/handlers/pr.d.ts +23 -1
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +71 -23
- package/dist/cli/handlers/promote.d.ts.map +1 -1
- package/dist/cli/handlers/promote.js +2 -1
- package/dist/cli/handlers/release.d.ts.map +1 -1
- package/dist/cli/handlers/release.js +11 -2
- package/dist/cli/handlers/run-wave.d.ts.map +1 -1
- package/dist/cli/handlers/run-wave.js +180 -4
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/handlers/run.js +2 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +41 -2
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +31 -0
- package/dist/cli/registry.d.ts +19 -1
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/components/auto-release.d.ts.map +1 -1
- package/dist/components/auto-release.js +2 -1
- package/dist/components/pr-checks.d.ts +97 -6
- package/dist/components/pr-checks.d.ts.map +1 -1
- package/dist/components/pr-checks.js +107 -13
- package/dist/components/pr-pipeline.d.ts +19 -14
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +7 -13
- package/dist/components/product-pipeline.d.ts +96 -3
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +120 -14
- package/dist/components/product-plan.d.ts +203 -6
- package/dist/components/product-plan.d.ts.map +1 -1
- package/dist/components/product-plan.js +250 -43
- package/dist/drift-record.d.ts +7 -0
- package/dist/drift-record.d.ts.map +1 -1
- package/dist/drift-record.js +19 -0
- package/dist/floor-table.data.d.ts.map +1 -1
- package/dist/floor-table.data.js +63 -31
- package/dist/forge-check/contract.d.ts +11 -1
- package/dist/forge-check/contract.d.ts.map +1 -1
- package/dist/forge-check/contract.js +4 -1
- package/dist/forge-check/index.d.ts +2 -0
- package/dist/forge-check/index.d.ts.map +1 -1
- package/dist/forge-check/index.js +2 -0
- package/dist/gate-resume-run.d.ts +9 -1
- package/dist/gate-resume-run.d.ts.map +1 -1
- package/dist/gate-resume-run.js +26 -3
- package/dist/generated-check.d.ts +18 -4
- package/dist/generated-check.d.ts.map +1 -1
- package/dist/generated-check.js +37 -5
- package/dist/image-pins.d.ts +26 -0
- package/dist/image-pins.d.ts.map +1 -0
- package/dist/image-pins.js +19 -0
- package/dist/lexicon.d.ts +93 -4
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/gate-applied.d.ts +9 -0
- package/dist/lifecycle/gate-applied.d.ts.map +1 -1
- package/dist/lifecycle/git.d.ts +11 -0
- package/dist/lifecycle/git.d.ts.map +1 -1
- package/dist/lifecycle/git.js +30 -3
- package/dist/lifecycle/publish-npm.d.ts +11 -0
- package/dist/lifecycle/publish-npm.d.ts.map +1 -1
- package/dist/lifecycle/publish-npm.js +27 -1
- package/dist/lifecycle/reach-locks.d.ts +131 -0
- package/dist/lifecycle/reach-locks.d.ts.map +1 -0
- package/dist/lifecycle/reach-locks.js +118 -0
- package/dist/lifecycle/release-cut.d.ts +3 -1
- package/dist/lifecycle/release-cut.d.ts.map +1 -1
- package/dist/lifecycle/release-cut.js +15 -0
- package/dist/lifecycle/release-images.d.ts.map +1 -1
- package/dist/lifecycle/release-images.js +1 -2
- package/dist/notify-product.d.ts +12 -3
- package/dist/notify-product.d.ts.map +1 -1
- package/dist/notify-product.js +10 -6
- package/dist/op/activities/source-release.d.ts.map +1 -1
- package/dist/op/activities/source-release.js +2 -1
- package/dist/op/activities/source-rollback.d.ts.map +1 -1
- package/dist/op/activities/source-rollback.js +2 -1
- package/dist/op/apply-status.d.ts +84 -0
- package/dist/op/apply-status.d.ts.map +1 -0
- package/dist/op/apply-status.js +106 -0
- package/dist/op/before-merge-decide.d.ts +102 -0
- package/dist/op/before-merge-decide.d.ts.map +1 -0
- package/dist/op/before-merge-decide.js +142 -0
- package/dist/op/before-merge-done.d.ts +56 -0
- package/dist/op/before-merge-done.d.ts.map +1 -0
- package/dist/op/before-merge-done.js +69 -0
- package/dist/op/before-merge-store.d.ts +20 -0
- package/dist/op/before-merge-store.d.ts.map +1 -0
- package/dist/op/before-merge-store.js +48 -0
- package/dist/op/before-merge.d.ts +150 -0
- package/dist/op/before-merge.d.ts.map +1 -0
- package/dist/op/before-merge.js +207 -0
- package/dist/op/follow-on-run.d.ts +117 -0
- package/dist/op/follow-on-run.d.ts.map +1 -0
- package/dist/op/follow-on-run.js +154 -0
- package/dist/op/follow-on-store.d.ts +17 -0
- package/dist/op/follow-on-store.d.ts.map +1 -0
- package/dist/op/follow-on-store.js +54 -0
- package/dist/op/gate.d.ts +6 -0
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/gate.js +10 -1
- package/dist/op/index.d.ts +5 -1
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/index.js +2 -0
- package/dist/op/op-waves-after-plan.d.ts +13 -0
- package/dist/op/op-waves-after-plan.d.ts.map +1 -1
- package/dist/op/op-waves-evidence-jobs.d.ts +10 -2
- package/dist/op/op-waves-evidence-jobs.d.ts.map +1 -1
- package/dist/op/op-waves-evidence-jobs.js +19 -5
- package/dist/op/op-waves-follow-on.d.ts +162 -0
- package/dist/op/op-waves-follow-on.d.ts.map +1 -0
- package/dist/op/op-waves-follow-on.js +355 -0
- package/dist/op/op-waves-render-spec.d.ts +100 -0
- package/dist/op/op-waves-render-spec.d.ts.map +1 -0
- package/dist/op/op-waves-render-spec.js +162 -0
- package/dist/op/op-waves-run.d.ts +148 -6
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +873 -100
- package/dist/op/op-waves-split.d.ts +122 -0
- package/dist/op/op-waves-split.d.ts.map +1 -0
- package/dist/op/op-waves-split.js +166 -0
- package/dist/op/op-waves.d.ts +24 -0
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +18 -1
- package/dist/op/schedule-overdue.d.ts +15 -1
- package/dist/op/schedule-overdue.d.ts.map +1 -1
- package/dist/op/schedule-overdue.js +77 -5
- package/dist/op/stage-hooks.d.ts +36 -1
- package/dist/op/stage-hooks.d.ts.map +1 -1
- package/dist/op/stage-hooks.js +17 -3
- package/dist/op/wave-stop.d.ts +67 -0
- package/dist/op/wave-stop.d.ts.map +1 -0
- package/dist/op/wave-stop.js +129 -0
- package/dist/planned-files.d.ts +76 -0
- package/dist/planned-files.d.ts.map +1 -0
- package/dist/planned-files.js +108 -0
- package/dist/pr-forge-job.d.ts +22 -0
- package/dist/pr-forge-job.d.ts.map +1 -0
- package/dist/pr-forge-job.js +46 -0
- package/dist/pr-loop.d.ts +3 -6
- package/dist/pr-loop.d.ts.map +1 -1
- package/dist/pr-loop.js +4 -81
- package/dist/pr-plan-note.d.ts +97 -0
- package/dist/pr-plan-note.d.ts.map +1 -1
- package/dist/pr-plan-note.js +94 -1
- package/dist/pr-post.d.ts +28 -3
- package/dist/pr-post.d.ts.map +1 -1
- package/dist/pr-post.js +146 -13
- package/dist/pr-status.d.ts +16 -0
- package/dist/pr-status.d.ts.map +1 -0
- package/dist/pr-status.js +90 -0
- package/dist/ref-gate-init.d.ts +16 -2
- package/dist/ref-gate-init.d.ts.map +1 -1
- package/dist/ref-gate-init.js +24 -13
- package/dist/release-floors.d.ts +39 -1
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +63 -25
- package/dist/render-module.d.ts +15 -0
- package/dist/render-module.d.ts.map +1 -0
- package/dist/render-module.js +73 -0
- package/dist/state-migration.d.ts.map +1 -1
- package/dist/state-migration.js +1 -2
- package/dist/wave-blocked.d.ts +7 -1
- package/dist/wave-blocked.d.ts.map +1 -1
- package/dist/wave-blocked.js +7 -2
- package/dist/wave-runtime.mjs +366 -350
- package/dist/workspace/ci-green-cli.d.ts.map +1 -1
- package/dist/workspace/ci-green-cli.js +3 -2
- package/dist/workspace/release-train.d.ts.map +1 -1
- package/dist/workspace/release-train.js +2 -1
- package/dist/workspace/release-workflow.d.ts +4 -3
- package/dist/workspace/release-workflow.d.ts.map +1 -1
- package/dist/workspace/release-workflow.js +10 -7
- package/dist/workspace/trust/check-evidence-report.d.ts +7 -2
- package/dist/workspace/trust/check-evidence-report.d.ts.map +1 -1
- package/dist/workspace/trust/check-evidence-report.js +15 -8
- package/dist/workspace/trust/ref-gate-cli.d.ts +10 -1
- package/dist/workspace/trust/ref-gate-cli.d.ts.map +1 -1
- package/dist/workspace/trust/ref-gate-cli.js +30 -10
- package/dist/workspace/workspace-run.d.ts.map +1 -1
- package/dist/workspace/workspace-run.js +2 -1
- package/package.json +1 -1
- package/src/actor.test.ts +68 -2
- package/src/actor.ts +61 -1
- package/src/chant-install.test.ts +2 -3
- package/src/chant-install.ts +1 -2
- package/src/ci-base.test.ts +41 -0
- package/src/ci-base.ts +43 -0
- package/src/ci-comment-commands.test.ts +439 -0
- package/src/ci-comment-commands.ts +428 -0
- package/src/ci-comment-replies.ts +78 -0
- package/src/ci-commit.test.ts +2 -3
- package/src/ci-evidence-from-job.test.ts +18 -0
- package/src/ci-evidence-from-job.ts +58 -2
- package/src/ci-evidence-jobs.ts +50 -5
- package/src/ci-image.test.ts +130 -10
- package/src/ci-image.ts +85 -12
- package/src/ci-job-guard.before-merge.test.ts +148 -0
- package/src/ci-job-guard.follow-on-record.test.ts +137 -0
- package/src/ci-job-guard.follow-on.test.ts +144 -0
- package/src/ci-job-guard.ts +221 -3
- package/src/ci-note-commands.test.ts +76 -1
- package/src/ci-note-commands.ts +198 -46
- package/src/ci-product-words.ts +59 -0
- package/src/ci-product.ts +90 -6
- package/src/cli/commands/build.test.ts +41 -0
- package/src/cli/commands/build.ts +27 -2
- package/src/cli/handlers/approve.ts +2 -1
- package/src/cli/handlers/ci-check.ts +19 -7
- package/src/cli/handlers/ci-evidence.ts +29 -8
- package/src/cli/handlers/components.ts +3 -1
- package/src/cli/handlers/generated-check.ts +31 -1
- package/src/cli/handlers/lock-reach.test.ts +103 -0
- package/src/cli/handlers/lock.ts +100 -4
- package/src/cli/handlers/pr-comment.ts +187 -0
- package/src/cli/handlers/pr-env.ts +6 -3
- package/src/cli/handlers/pr-notes.ts +30 -6
- package/src/cli/handlers/pr-record.test.ts +1 -1
- package/src/cli/handlers/pr.ts +64 -21
- package/src/cli/handlers/promote.ts +2 -1
- package/src/cli/handlers/release.e2e.test.ts +35 -0
- package/src/cli/handlers/release.ts +14 -2
- package/src/cli/handlers/run-wave.ts +170 -4
- package/src/cli/handlers/run.ts +2 -1
- package/src/cli/main.ts +41 -2
- package/src/cli/parse-args.ts +23 -0
- package/src/cli/registry.ts +19 -1
- package/src/components/auto-release.ts +2 -1
- package/src/components/pr-checks.ts +165 -17
- package/src/components/pr-pipeline.ts +22 -18
- package/src/components/product-pipeline.apply-status.test.ts +50 -0
- package/src/components/product-pipeline.ts +204 -17
- package/src/components/product-plan.test.ts +60 -4
- package/src/components/product-plan.ts +367 -50
- package/src/drift-record.test.ts +20 -0
- package/src/drift-record.ts +16 -0
- package/src/floor-table.data.ts +63 -31
- package/src/forge-check/contract.ts +12 -1
- package/src/forge-check/forge-check.test.ts +17 -0
- package/src/forge-check/index.ts +2 -0
- package/src/gate-resume-run.ts +27 -3
- package/src/generated-check.e2e.test.ts +21 -1
- package/src/generated-check.test.ts +66 -0
- package/src/generated-check.ts +51 -10
- package/src/image-pins.ts +31 -0
- package/src/lexicon.ts +89 -1
- package/src/lifecycle/gate-applied.ts +7 -0
- package/src/lifecycle/git.test.ts +48 -0
- package/src/lifecycle/git.ts +27 -4
- package/src/lifecycle/publish-npm.ts +31 -1
- package/src/lifecycle/reach-locks.test.ts +87 -0
- package/src/lifecycle/reach-locks.ts +169 -0
- package/src/lifecycle/release-cut.ts +17 -1
- package/src/lifecycle/release-images.test.ts +56 -0
- package/src/lifecycle/release-images.ts +1 -2
- package/src/notify-product.ts +19 -8
- package/src/op/activities/source-release.ts +2 -1
- package/src/op/activities/source-rollback.ts +2 -1
- package/src/op/apply-status.test.ts +83 -0
- package/src/op/apply-status.ts +132 -0
- package/src/op/before-merge-decide.ts +190 -0
- package/src/op/before-merge-done.ts +99 -0
- package/src/op/before-merge-store.ts +44 -0
- package/src/op/before-merge.test.ts +201 -0
- package/src/op/before-merge.ts +266 -0
- package/src/op/follow-on-run.ts +206 -0
- package/src/op/follow-on-store.ts +54 -0
- package/src/op/gate-resume.test.ts +27 -0
- package/src/op/gate.ts +16 -1
- package/src/op/index.ts +15 -0
- package/src/op/op-waves-after-plan.ts +13 -0
- package/src/op/op-waves-evidence-jobs.ts +21 -7
- package/src/op/op-waves-follow-on-record.test.ts +152 -0
- package/src/op/op-waves-follow-on.test.ts +247 -0
- package/src/op/op-waves-follow-on.ts +385 -0
- package/src/op/op-waves-notify-words.test.ts +18 -0
- package/src/op/op-waves-render-spec.test.ts +159 -0
- package/src/op/op-waves-render-spec.ts +171 -0
- package/src/op/op-waves-run.ts +973 -94
- package/src/op/op-waves-split-product.test.ts +288 -0
- package/src/op/op-waves-split-step.test.ts +298 -0
- package/src/op/op-waves-split.test.ts +196 -0
- package/src/op/op-waves-split.ts +189 -0
- package/src/op/op-waves.ts +31 -3
- package/src/op/schedule-overdue.test.ts +72 -1
- package/src/op/schedule-overdue.ts +84 -6
- package/src/op/stage-hooks.ts +52 -4
- package/src/op/wave-stop.test.ts +72 -0
- package/src/op/wave-stop.ts +139 -0
- package/src/planned-files.test.ts +80 -0
- package/src/planned-files.ts +134 -0
- package/src/pr-forge-job.test.ts +53 -0
- package/src/pr-forge-job.ts +46 -0
- package/src/pr-loop-narrowed.test.ts +2 -1
- package/src/pr-loop-words.test.ts +2 -1
- package/src/pr-loop.test.ts +1 -2
- package/src/pr-loop.ts +4 -80
- package/src/pr-plan-note.ts +155 -3
- package/src/pr-post-replan.test.ts +144 -0
- package/src/pr-post-subject.test.ts +230 -0
- package/src/pr-post.test.ts +2 -1
- package/src/pr-post.ts +151 -15
- package/src/pr-status.ts +91 -0
- package/src/ref-gate-init.ts +30 -11
- package/src/release-floors.ts +81 -25
- package/src/render-module.ts +73 -0
- package/src/state-migration-record.test.ts +2 -3
- package/src/state-migration.ts +1 -2
- package/src/wave-blocked.ts +9 -4
- package/src/workspace/ci-green-cli.ts +3 -2
- package/src/workspace/ci-green-workflow.test.ts +32 -1
- package/src/workspace/release-train.ts +2 -1
- package/src/workspace/release-workflow.test.ts +36 -5
- package/src/workspace/release-workflow.ts +10 -7
- package/src/workspace/trust/check-evidence-report.ts +15 -8
- package/src/workspace/trust/check-evidence.test.ts +5 -0
- package/src/workspace/trust/ref-gate-cli.ts +30 -8
- package/src/workspace/trust/ref-gate-pieces.test.ts +46 -1
- package/src/workspace/trust/ref-gate.test.ts +10 -0
- package/src/workspace/workspace-run.ts +2 -1
package/dist/floor-table.data.js
CHANGED
|
@@ -9,7 +9,7 @@ export const FLOOR_ROWS = [
|
|
|
9
9
|
{ name: "CAPABILITY_TEMPLATES_FLOOR", version: "0.124.54", gates: "The first chant whose capabilities document carries `templates` (#4531).", issue: "#4531", file: "capabilities/templates.ts", modules: ["@intentius/chant/capabilities/templates"] },
|
|
10
10
|
{ name: "CHANGE_SET_GROUP_FLOOR", version: "0.124.54", gates: "The first chant whose change set can carry a member's `group` (ws-107, #4440).", issue: "#4440", file: "change-set.ts", modules: ["@intentius/chant/change-set"] },
|
|
11
11
|
{ name: "CHANGE_SET_PLACEHOLDERS_FLOOR", version: "0.124.54", gates: "The first chant whose change set can carry a member's `placeholders` (#4463).", issue: "#4463", file: "change-set.ts", modules: ["@intentius/chant/change-set"] },
|
|
12
|
-
{ name: "CHANT_RUN_FLOOR", version:
|
|
12
|
+
{ name: "CHANT_RUN_FLOOR", version: "0.124.88", gates: "The first chant with `runChant`, `lastJsonLine`, `installResolveFallback` and `fallbackImportArgs` in `@intentius/chant/chant-install` (#4889): a product runs chant and reads its `--json` document, and a file with no `node_modules` above it imports the product's packages, with no code of the product's own.", issue: "#4889", file: "chant-install.ts", modules: ["@intentius/chant/chant-install"] },
|
|
13
13
|
{ name: "CI_AGENT_FLOOR", version: "0.124.55", gates: "The first chant with the agent job and the scheduled Op spec's `agent` and `runner` (#4616).", issue: "#4616", file: "ci-agent.ts", modules: ["@intentius/chant/ci-agent", "@intentius/chant/ci-product"] },
|
|
14
14
|
{ name: "CI_AUDIT_FLOOR", version: "0.124.56", gates: "The first chant with drift attribution and the unrecorded writer audit in core.", file: "ci-audit/index.ts", modules: ["@intentius/chant/ci-audit", "@intentius/chant/ci-audit/index"] },
|
|
15
15
|
{ name: "CI_COMMIT_FLOOR", version: "0.124.71", gates: "The first chant with the commit job and the scheduled Op spec's `commit` (#4722).", issue: "#4722", file: "ci-commit.ts", modules: ["@intentius/chant/ci-commit"] },
|
|
@@ -31,10 +31,23 @@ export const FLOOR_ROWS = [
|
|
|
31
31
|
{ name: "NOTIFY_RELAY_FLOOR", version: "0.124.55", gates: "The first chant with `chant notify relay` and the notify relay buttons (#4611).", issue: "#4611", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
32
32
|
{ name: "PR_PREVIEW_FLOOR", version: "0.124.55", gates: "The first chant whose product pipeline has the comment preview (`previewComment`, `build --pr-loop --preview-comment`) and whose `components pr-plan` takes `--target` (#4620).", issue: "#4620", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
33
33
|
{ name: "PRODUCT_PLAN_FLOOR", version: "0.124.86", gates: "The product plan (#4799): `productPipelineJobs(forge, env, { words, productPlan })` runs the product's plan verb in place of `pr-plan`, one plan job and one plan-note job per target, each with only its target's variables and secrets and an optional write probe, and `pr-post` posts the plan note hand-off the verb wrote (`planNoteHandoff`, `PR_PLAN_NOTE_FILE` in `@intentius/chant/pr-plan-note`).", issue: "#4799", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
34
|
-
{ name: "PRODUCT_PLAN_STEPS_FLOOR", version:
|
|
35
|
-
{ name: "COMMENT_LEAVES_COMMIT_FLOOR", version:
|
|
36
|
-
{ name: "
|
|
37
|
-
{ name: "
|
|
34
|
+
{ name: "PRODUCT_PLAN_STEPS_FLOOR", version: "0.124.88", gates: "The first chant whose product plan carries the plan-job steps beside the plan verb and the note job's own lines (#4899, #4931): `productPlan.login` and a target's `login` (ci-login) with the job's OIDC token, `idTokens`, `pending`, `controlRead`, `setup` steps, job-level `env`, `report`, `concurrency`, the comment re-plan `replan`, and `noteSteps`; a hand-off's `marker` kept under the note words' `productMarker`; and the note job's notices and overdue Ops under a hand-off's counts.", issue: "#4899", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
35
|
+
{ name: "COMMENT_LEAVES_COMMIT_FLOOR", version: "0.124.88", gates: "The first chant whose `parseProductComment` takes `leaveCommit` and that has `commitWordOf` (#4890): a comment job that is not the commit job leaves every comment for a commit word to it, a malformed one included, so the comment gets one reply.", issue: "#4890", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
36
|
+
{ name: "COMMENT_COMMANDS_FLOOR", version: "0.124.89", gates: "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.", issue: "#4946", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
37
|
+
{ name: "PRODUCT_PLAN_REACH_LOCKS_FLOOR", version: "0.124.89", gates: "The first chant whose product plan locks what a change reaches (#4979): `productPlan.reach`, a reach line the lock job runs at the target branch's commit with `chant lock --reach` (`@intentius/chant/lifecycle/reach-locks`), on GitHub, Forgejo and GitLab, where the lock job runs in the plan notes pipeline with `--open` beside the comment lock and unlock jobs; and whose comment job answers a re-plan comment with flags the product plan's re-plan cannot take (`noPlanFlags`).", issue: "#4979", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
38
|
+
{ name: "WAVE_STOP_FLOOR", version: "0.124.89", gates: "The first chant whose comment job stops a merged pull request's re-run at a wave (#4979): `/<product> apply wave-<n>` writes a stop for the merge commit on `chant/lifecycle` (`_waves/<op>.stops.json`, `@intentius/chant/op/wave-stop`) before GitHub's re-run or Forgejo's dispatch, and `chant run wave` leaves each wave after n waiting (exit 3).", issue: "#4979", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
39
|
+
{ name: "WAVES_BEFORE_MERGE_FLOOR", version: NEXT_RELEASE, gates: "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`).", issue: "#4984", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
40
|
+
{ name: "WAVES_APPLY_STATUS_FLOOR", version: NEXT_RELEASE, gates: "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`).", issue: "#4987", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
41
|
+
{ name: "WAVES_BEFORE_MERGE_SPLIT_FLOOR", version: NEXT_RELEASE, gates: "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`).", issue: "#4987", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
42
|
+
{ name: "WAVES_BEFORE_MERGE_STEP_FLOOR", version: NEXT_RELEASE, gates: "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.", issue: "#4992", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
43
|
+
{ name: "WAVES_PRODUCT_HOOKS_FLOOR", version: NEXT_RELEASE, gates: "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.", issue: "#4994", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
44
|
+
{ name: "WAVES_BEFORE_MERGE_REST_FLOOR", version: NEXT_RELEASE, gates: "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.", issue: "#4992", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
45
|
+
{ name: "WAVES_FOLLOW_ON_RECORD_FLOOR", version: NEXT_RELEASE, gates: "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`.", issue: "#4998", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
46
|
+
{ name: "PRODUCT_PLAN_WATCHES_FLOOR", version: "0.124.88", gates: "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`.", issue: "#4888", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
47
|
+
{ name: "PRODUCT_PLAN_WATCH_TARGETS_FLOOR", version: NEXT_RELEASE, gates: "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`).", issue: "#4988", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
48
|
+
{ name: "PRODUCT_PLAN_RECORD_FLOOR", version: "0.124.88", gates: "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.", issue: "#4899", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
49
|
+
{ name: "PRODUCT_PLAN_REPLAN_FLOOR", version: "0.124.89", gates: "The first chant whose product plan carries what terragucci's and sql-yodeler's plan jobs did themselves (#4963, #4951): `trade` (a plan's or a target's) before the checkout, `replan: { dispatch, reply, notAffected }` (a re-plan from `workflow_dispatch`, a reply to a comment no other job takes, `pr-post --not-affected`), `previousMarker` (`CHANT_PLAN_PREVIOUS_MARKER`), `noteSteps.pullRequest`, a `PrReport`'s `marker`, and a hand-off of the product's own note text (`planBodyHandoff`).", issue: "#4963", file: "ci-product.ts", modules: ["@intentius/chant/ci-product"] },
|
|
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"] },
|
|
38
51
|
{ 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"] },
|
|
39
52
|
{ 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"] },
|
|
40
53
|
{ 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"] },
|
|
@@ -88,7 +101,7 @@ export const FLOOR_ROWS = [
|
|
|
88
101
|
{ name: "RELEASE_CUT_OVERRIDE_FLOOR", version: "0.124.64", gates: "The first chant that cuts a commit that is not green under an override and writes `override` on the cut line (#4693).", issue: "#4693", file: "lifecycle/release-cut.ts", modules: ["@intentius/chant/lifecycle/release-cut"] },
|
|
89
102
|
{ name: "RELEASE_IMAGES_FLOOR", version: "0.124.71", gates: "The first chant with `release.images`, `CHANT_RELEASE_DIGESTS`, `chant release images` and an npm target's `pins` (#4657).", issue: "#4657", file: "lifecycle/release-images.ts", modules: ["@intentius/chant/lifecycle/release-images"] },
|
|
90
103
|
{ name: "RELEASE_IMAGE_DOCKERFILE_FLOOR", version: "0.124.78", gates: "The first chant whose `release.images` takes a Dockerfile entry, with `releaseImagePins` and `writeReleaseImagePins` for a product's package build (#4819).", issue: "#4819", file: "lifecycle/release-images.ts", modules: ["@intentius/chant/lifecycle/release-images"] },
|
|
91
|
-
{ name: "RELEASE_IMAGE_ARGS_FLOOR", version:
|
|
104
|
+
{ name: "RELEASE_IMAGE_ARGS_FLOOR", version: "0.124.88", gates: "The first chant whose Dockerfile entry in `release.images` takes `args`, build arguments beside the two chant passes (#4908).", issue: "#4908", file: "lifecycle/release-images.ts", modules: ["@intentius/chant/lifecycle/release-images"] },
|
|
92
105
|
{ name: "RUN_ORIGIN_CHANT_FLOOR", version: "0.124.30", gates: "The first chant that writes `runOrigin.forge: \"chant\"`, for a job `chant ci run` ran (#4094).", issue: "#4094", file: "lifecycle/release-ledger.ts", modules: ["@intentius/chant", "@intentius/chant/index", "@intentius/chant/lifecycle/index", "@intentius/chant/lifecycle/release-ledger"] },
|
|
93
106
|
{ name: "RUN_ORIGIN_JOB_FLOOR", version: "0.124.32", gates: "The first chant that writes `runOrigin.jobId` and `runOrigin.attempt`, for a forge job that ran `chant ci run` (#4156).", issue: "#4156", file: "lifecycle/release-ledger.ts", modules: ["@intentius/chant", "@intentius/chant/index", "@intentius/chant/lifecycle/index", "@intentius/chant/lifecycle/release-ledger"] },
|
|
94
107
|
{ name: "RELEASE_RECORD_VERSION_FLOOR", version: "0.124.55", gates: "The first chant that writes and reads `releaseVersion` on a release record (#4595).", issue: "#4595", file: "lifecycle/release-ledger.ts", modules: ["@intentius/chant", "@intentius/chant/index", "@intentius/chant/lifecycle/index", "@intentius/chant/lifecycle/release-ledger"] },
|
|
@@ -138,8 +151,9 @@ export const FLOOR_ROWS = [
|
|
|
138
151
|
{ name: "REF_GATE_FLOOR", version: "0.124.86", gates: "The first chant with `chant workspace ref-gate` (pre-receive, pre-push, check, status, attach, install) and `refs` in `.chant/trust.json`, the checks a ref update needs evidence for (#4867).", issue: "#4867", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
139
152
|
{ name: "OVERDUE_PIPELINE_FILES_FLOOR", version: "0.124.86", gates: "The first chant whose overdue check finds a schedule in any pipeline file, and whose `ScheduledWatch` takes a product's `files` and GitLab `schedule` selector (#4789).", issue: "#4789", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
140
153
|
{ name: "TERRAFORM_APPLY_COMMAND_HOOK_FLOOR", version: "0.124.86", gates: "The first chant whose `terraformApplyCapabilityWith` takes `onCommand`, a hook around each engine command `terraform-apply` runs for a root, its reads' upstreams included (#4865).", issue: "#4865", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
141
|
-
{ name: "TERRAFORM_ENGINE_TIMINGS_FLOOR", version:
|
|
142
|
-
{ name: "TERRAFORM_ROOT_HELPERS_FLOOR", version:
|
|
154
|
+
{ name: "TERRAFORM_ENGINE_TIMINGS_FLOOR", version: "0.124.88", gates: "The first chant whose terraform lexicon times each root's engine commands and reads its spans and lock waits (`@intentius/chant-lexicon-terraform/engine-timings`, `engineTimings()` as `terraformApplyCapabilityWith`'s `onCommand`), and runs a composed group's commands through that hook (#4887).", issue: "#4887", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
155
|
+
{ name: "TERRAFORM_ROOT_HELPERS_FLOOR", version: "0.124.88", gates: "The first chant whose terraform lexicon finds live roots and estates (`live-roots`), places a Terragrunt unit (`terragruntUnitPlace`), reads a state migration's history and revert from its finished lines (`migration-history`), and runs the binary without the forge's tokens (`tokenlessBinaryExec`, `engineEnv`) (#4910).", issue: "#4910", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
156
|
+
{ name: "TERRAFORM_ENGINE_RUNNER_FLOOR", version: "0.124.89", gates: "The first chant whose terraform lexicon has one runner of the engine for a product (`engineRunner` in `engine-runner`: a hooked `exec`, `execSync`, `terragrunt` and the tokenless `script`), traces each engine command (`commandTrace`, `commandTraceEnv`), sends each Terragrunt unit's plan through `planTerragruntWave({ onCommand })`, and resolves a live root's record store (`liveRecordStore`, `writtenRecordStore`, `rootBackendAttrs` in `live-roots`) (#4954).", issue: "#4954", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
143
157
|
{ name: "PRODUCT_HELPERS_FLOOR", version: "0.124.86", gates: "The first chant with `@intentius/chant/forge-flags` (`forgeTargetWith`, `forgeTargetFromFlags`, `apiBaseOf`), `@intentius/chant/chant-install` (`bundledChant`, `chantArgv`, `installChantResolveFallback`) and `noteLimit` and `fitNote` in `@intentius/chant/plan-summary` (#4800).", issue: "#4800", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
144
158
|
{ name: "CI_IMAGE_FLOOR", version: "0.124.86", gates: "The first chant with `@intentius/chant/ci-image`: `productImageStages`, `productImageDockerfile` and `derivedImageDockerfile` for a product's CI image, and `ciToolFetchScript`, `ciToolInstallLine` and `installCiTool`, the digest-checked engine installs, with the terraform lexicon's `choudoufuInstallLine` checked the same way (#4784).", issue: "#4784", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
145
159
|
{ name: "DRIFT_ISSUE_FLOOR", version: "0.124.86", gates: "The first chant with `@intentius/chant/drift-issue`, whose `keepDriftIssue` keeps one drift issue per environment from a product's words and the drift records (#4790).", issue: "#4790", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
@@ -165,28 +179,46 @@ export const FLOOR_ROWS = [
|
|
|
165
179
|
{ name: "CHECK_EVIDENCE_FLOOR", version: "0.124.86", gates: "The first chant whose generated pipelines sign evidence for each named check they run, with `chant ci evidence`, `ci check` signing each hook, and an Op waves spec's `evidence.requires` (#4870).", issue: "#4870", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
|
|
166
180
|
{ name: "LOCAL_EVIDENCE_FLOOR", version: "0.124.86", gates: "The first chant that accepts local evidence (#4868): `local` in `.chant/trust.json`, `chant ci evidence sign --local`, and `chant ci check` skipping a hook whose current local evidence the policy at base accepts.", issue: "#4868", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
|
|
167
181
|
{ name: "KEYLESS_EVIDENCE_FLOOR", version: "0.124.87", gates: "The first chant that signs runner statements keyless from the CI job's OIDC identity and verifies them against `keyless` in `.chant/trust.json`, with `evidence.identity: \"oidc\"` in the generators (#4869).", issue: "#4869", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
|
|
168
|
-
{ name: "WAVE_EVIDENCE_JOB_FLOOR", version:
|
|
169
|
-
{ name: "CLOUD_LOGIN_SAME_STEP_FLOOR", version:
|
|
170
|
-
{ name: "RELEASE_WORKFLOW_QEMU_FLOOR", version:
|
|
171
|
-
{ name: "NPM_CARRIES_IMAGE_FLOOR", version:
|
|
172
|
-
{ name: "LIVE_DRIFT_RECORDS_FLOOR", version:
|
|
173
|
-
{ name: "SQL_TYPES_PATH_FLOOR", version:
|
|
174
|
-
{ name: "FORGE_TARGET_ORIGIN_FLOOR", version:
|
|
175
|
-
{ name: "STACK_OPS_PRODUCT_HELPERS_FLOOR", version:
|
|
176
|
-
{ name: "FORGE_REMOTE_FLOOR", version:
|
|
177
|
-
{ name: "GENERATED_CHECK_FLOOR", version:
|
|
178
|
-
{ name: "LOCAL_CHANT_NEXT_RELEASE_FLOOR", version:
|
|
179
|
-
{ name: "CHANT_EXTERNAL_PACKAGES_FLOOR", version:
|
|
180
|
-
{ name: "CI_IMAGE_NON_ROOT_FLOOR", version:
|
|
181
|
-
{ name: "CI_IMAGE_DOCKER_STAGES_FLOOR", version:
|
|
182
|
-
{ name: "OP_SETUP_STEP_NAME_FLOOR", version:
|
|
183
|
-
{ name: "CLOUD_LOGIN_RESTART_FLOOR", version:
|
|
184
|
-
{ name: "PR_LOOP_EVIDENCE_FLOOR", version:
|
|
185
|
-
{ name: "CHECK_JOB_FLOOR", version:
|
|
186
|
-
{ name: "GITLAB_OPEN_EVIDENCE_FLOOR", version:
|
|
187
|
-
{ name: "CHECK_SUMMARY_FLOOR", version:
|
|
188
|
-
{ name: "REF_GATE_STATUS_JOB_FLOOR", version:
|
|
189
|
-
{ name: "REF_GATE_PIECES_FLOOR", version:
|
|
182
|
+
{ name: "WAVE_EVIDENCE_JOB_FLOOR", version: "0.124.88", gates: "The first chant whose waves generators run each wave's policy as a step of its own (`chant run wave --policy-only`; on GitLab a `<wave job>-policy` job) and sign its checks in a `<wave job>-evidence` job with `chant ci evidence sign --from-job`, from the forge's record of the wave job's steps, so a wave that trades cloud credentials signs keyless with `evidence.identity: \"oidc\"` instead of being refused (#4926).", issue: "#4926", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
|
|
183
|
+
{ name: "CLOUD_LOGIN_SAME_STEP_FLOOR", version: "0.124.88", gates: "The first chant whose cloud login leaves the region to the job unless the spec names one, takes `sameStep` to export into the step that runs it, accepts an AWS spec with no role (the token file alone), and whose trade sets `CHANT_CLOUD_TRADED` so a login's targets file is told from a trade's (#4930).", issue: "#4930", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
184
|
+
{ name: "RELEASE_WORKFLOW_QEMU_FLOOR", version: "0.124.88", gates: "The first chant whose `chant release workflow` sets up QEMU in the cut and publish jobs for the platforms `release.images` builds that the runner can't (`docker/setup-qemu-action` at its pin on GitHub and Forgejo, a `tonistiigi/binfmt` run line on GitLab), and whose `release.images` command entries take `platforms` (#4876).", issue: "#4876", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
185
|
+
{ name: "NPM_CARRIES_IMAGE_FLOOR", version: "0.124.88", gates: "The first chant whose npm publish target refuses at plan time a package that would carry an image archive the release records (`publish-npm-carries-image`), naming the file and the `files` entry that leaves it out (#4934).", issue: "#4934", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
186
|
+
{ name: "LIVE_DRIFT_RECORDS_FLOOR", version: "0.124.88", gates: "The first chant with `driftRunFingerprint` in `@intentius/chant/drift-issue` and `lexiconDriftRecords` in `@intentius/chant/drift-record`, whose `chant lifecycle diff --live --json` writes a lexicon's `absent`, and whose sql lexicon reports a declared object the server lacks as `missing` instead of `pending` (#4896).", issue: "#4896", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
187
|
+
{ name: "SQL_TYPES_PATH_FLOOR", version: "0.124.88", gates: "The first chant whose `chant sql types --path` prints where `sql-types.d.ts` is by the source-dir rule, the path `sqlTypesPath` answers (#4897).", issue: "#4897", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
188
|
+
{ name: "FORGE_TARGET_ORIGIN_FLOOR", version: "0.124.88", gates: "The first chant whose forge target carries its web `origin` (`forgeTargetWith`) and whose `@intentius/chant/forge-flags` has `jobForgeTarget`, a job's target or undefined where the job cannot reach the forge, so a product keeps no target type of its own (#4888).", issue: "#4888", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
189
|
+
{ name: "STACK_OPS_PRODUCT_HELPERS_FLOOR", version: "0.124.88", gates: "The first chant with `actorFromEnv` (`@intentius/chant/actor`), `forgeTargetLiveRuns` and `forgeLiveRunsOf` in `@intentius/chant/state-unlock`, and a pulumi lexicon whose stack ops take the product's `approveCommand`, with `pulumiStackLockToCancel` and `pulumiMoveDestStack`, a move naming its own `--dest` from both sides' `project` (#4911).", issue: "#4911", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
190
|
+
{ name: "FORGE_REMOTE_FLOOR", version: "0.124.88", gates: "The first chant with `@intentius/chant/forge-remote` (`forgeOfRemote`, `forgeOfCheckout`, `forgeKindOfHost`), the forge and repository a checkout's origin remote names, and a pulumi `gatedStackCancel` that reads the forge's runs from it on a laptop (#4920).", issue: "#4920", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
191
|
+
{ name: "GENERATED_CHECK_FLOOR", version: "0.124.88", gates: "The first chant with `chant dev generated-check` (`chantGenerated` in a product's root package.json, `@intentius/chant/generated-check`) and `chant dev local-image` (`localChantImage` in `@intentius/chant/local-chant`): a drift check of a product's committed generated files, and an image build with the product's chant, local or pinned, without the product's own scripts (#4909).", issue: "#4909", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
192
|
+
{ name: "LOCAL_CHANT_NEXT_RELEASE_FLOOR", version: "0.124.88", gates: "The first chant whose `chant dev local` keeps the product's peer dependencies installed and packs the checkout at its `NEXT_RELEASE`, and whose root build of a project with no `sourceDir` leaves its top-level `migrations/` out, with the sql lexicon opening no `.sql` file under a `migrations` directory (#4921).", issue: "#4921", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
193
|
+
{ name: "CHANT_EXTERNAL_PACKAGES_FLOOR", version: "0.124.88", gates: "The first chant whose `chantExternalPlugin` keeps external only the chant packages it is given, by default the ones in the package's `dependencies`, so a product that bundles its lexicons uses it as is (#4922).", issue: "#4922", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
194
|
+
{ name: "CI_IMAGE_NON_ROOT_FLOOR", version: "0.124.88", gates: "The first chant whose `ciToolInstallLine` takes `sudo` and `binDir` and a root under a shell variable, for a job that is not root, whose `CI_TOOL_SHA256` records terraform 1.14.9, terragrunt 1.2.0 and the AWS CLI 2.37.9, and whose Pulumi lexicon's `ciFetchScript` and `PINNED_SHA256` are ci-image's (#4908).", issue: "#4908", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
195
|
+
{ name: "CI_IMAGE_DOCKER_STAGES_FLOOR", version: "0.124.88", gates: "The first chant whose `productImageStages` stages type as the docker lexicon's `DockerfileStage[]` under `exactOptionalPropertyTypes`, so `new Dockerfile({ stages: productImageStages(spec) })` compiles (#4932).", issue: "#4932", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
196
|
+
{ name: "OP_SETUP_STEP_NAME_FLOOR", version: "0.124.88", gates: "The first chant whose setup steps (`OpSetupStep`: an Op waves spec's wave and job group `setup`, a scheduled Op's `setup`, `release.workflow.setup`) take a `name`, rendered as the step's name on GitHub and Forgejo (#4932).", issue: "#4932", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
197
|
+
{ name: "CLOUD_LOGIN_RESTART_FLOOR", version: "0.124.88", gates: "The first chant whose cloud login takes `restart` (log in, then start the step's script again without the token request variables, and empty the token files when the step exits), sets `CHANT_CLOUD_TOKEN_FILES` for `LOGIN_CLEAR_TOKENS`, takes a full token URL as GCP's `stsEndpoint`, and whose GitLab trade evaluates its exports without writing a file (#4912).", issue: "#4912", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
198
|
+
{ name: "PR_LOOP_EVIDENCE_FLOOR", version: "0.124.88", gates: "The first chant whose `chant build --pr-loop` takes `evidence` (`--evidence-runner-key-secret`, `--evidence-identity oidc`, `--evidence-audience`) and signs the plan job's `plan` and `policy` checks in its note job on GitHub, GitLab and Forgejo (#4935).", issue: "#4935", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
199
|
+
{ name: "CHECK_JOB_FLOOR", version: "0.124.88", gates: "The first chant whose pull request pipelines take `checkJob` (`--check-job`): a check job that runs `chant ci check` on the pull request's commit with no token or runner identity, and with `evidence` a `check-evidence` job that signs each passed hook from its report with `chant ci evidence sign --from-report .chant/check` (#4935).", issue: "#4935", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
200
|
+
{ name: "GITLAB_OPEN_EVIDENCE_FLOOR", version: "0.124.88", gates: "The first chant whose GitLab pipelines sign evidence in the target branch's plan notes pipeline, in jobs that name the `chant-evidence` environment, with `chant ci evidence sign --open`, and whose `pr-post --open --evidence-dir` ends each merge request's note with the checks line; no job of a merge request pipeline holds the runner key (#4914).", issue: "#4914", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
201
|
+
{ name: "CHECK_SUMMARY_FLOOR", version: "0.124.88", gates: "The first chant whose `chant ci check` takes `--summary <file>` and whose `checkReportSummary` renders the check report's markdown section, so a product's check step runs chant's check stage and keeps the section in its own report (#4914).", issue: "#4914", file: "release-floors.ts", modules: ["@intentius/chant/components/check-hooks", "@intentius/chant/release-floors"] },
|
|
202
|
+
{ name: "REF_GATE_STATUS_JOB_FLOOR", version: "0.124.88", gates: "The first chant whose pull request pipelines take `refGateStatus` (`--ref-gate-status`): a `ref-gate` job that runs `chant workspace ref-gate status` for the pull request's commit, and on GitLab `ref-gate status --open` for every open merge request (#4935).", issue: "#4935", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
203
|
+
{ name: "REF_GATE_PIECES_FLOOR", version: "0.124.88", gates: "The first chant with `@intentius/chant/ref-gate-rules` (`refGateRulesAt`), `require` in `checkPrRequires`, `refGateStatus` in `pipelineContract` and `ci forge-check --ref-gate-status`, `@intentius/chant/ref-gate-init` (`refGateInitPlan`, `writeRefGateInit`), and a pre-receive refusal that prints the command recording the override request (#4913).", issue: "#4913", file: "release-floors.ts", modules: ["@intentius/chant/forge-check", "@intentius/chant/forge-check/index", "@intentius/chant/pr-requires", "@intentius/chant/ref-gate-init", "@intentius/chant/ref-gate-rules", "@intentius/chant/release-floors"] },
|
|
204
|
+
{ name: "RELEASE_CUT_RECORD_FLOOR", version: "0.124.89", gates: "The first chant whose `chant release cut --yes` pushes `chant/lifecycle` again when the remote refuses it, and exits non-zero untagged (`release-record-not-pushed`) when the release record never lands, so the release workflow does not push the tag (#4965).", issue: "#4965", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
205
|
+
{ name: "RELEASE_CUT_CARRIES_IMAGE_FLOOR", version: "0.124.89", gates: "The first chant whose release cut refuses, before it records or tags, a release whose npm publish target would carry an image archive (`publish-npm-carries-image`), and whose GitLab release workflow runs the binfmt image by digest from `IMAGE_PINS` (#4941).", issue: "#4941", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
206
|
+
{ name: "CI_TOOL_NODE_DOWNLOAD_FLOOR", version: "0.124.89", gates: "The first chant whose `ciToolFetchScript` and `ciToolInstallLine` take `download: \"node\"`, a fetch and unzip with node for an image with no curl or unzip, whose `CI_TOOL_SHA256` records just 1.36.0 and act 0.2.89 and checks them against their releases' checksums files, and whose overdue check deepens a shallow checkout before it dates a pipeline file (#4952).", issue: "#4952", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
207
|
+
{ name: "RENDER_KINDS_FLOOR", version: "0.124.89", gates: "The first chant whose `chant build -o <dir>/` writes a build's additional files (a docker project's Dockerfiles) into the directory with no primary file, whose `chantGenerated` renders take a `module` and its `export` (a `{ path: text }` object or a function returning one) and `chant dev render <module> <export>` writes them in place, and whose `chant ci workflow` and `chant release workflow` write into `chant dev generated-check`'s render tree with no `--output` (#4950).", issue: "#4950", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
208
|
+
{ name: "SQL_LIVE_COLUMNS_FLOOR", version: "0.124.89", gates: "The first chant whose sql lexicon's `chant lifecycle diff --live` addresses a table's columns by name (`columns[#country].default.expr`), compares a ClickHouse table's column order as `columnOrder`, and reports a column the server has and the declaration does not as pending, and whose `lexiconDriftRecords` counts a deep read's pending changes (that column, a ClickHouse or Postgres privilege granted by hand) as drift (#4944).", issue: "#4944", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
209
|
+
{ name: "DRIFT_NOTIFY_STACKS_FLOOR", version: "0.124.89", gates: "The first chant whose `driftNotifyFields` takes `stacks`, each member's drift records, and from them names the drifted members and computes the run's fingerprint (#4944).", issue: "#4944", file: "release-floors.ts", modules: ["@intentius/chant/release-floors"] },
|
|
210
|
+
{ name: "MEMBER_SIGNED_CHECKS_FLOOR", version: "0.124.89", gates: "The first chant whose workspace member's pull request pipeline takes `evidence`, `checkJob` and `refGateStatus` (`chant build --pr-loop` in a member), signing the member's plan job as `plan:<member>` and `policy:<member>` (`ci evidence sign --member`, `memberEvidenceCheck`) and running the check job in the member's directory (#4964).", issue: "#4964", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
211
|
+
{ name: "PRODUCT_CHECK_JOBS_FLOOR", version: "0.124.89", gates: "The first chant whose `checkJob` takes `{ services, env, before, dir, args }` (`PrCheckJobOptions`: service containers, the check step's variables and lines, the report directory, the arguments after `--base`) and whose github, forgejo and gitlab lexicons render the check, check evidence and ref gate jobs for a product's own workflow (`productCheckJobs`, `forgejoProductCheckJobs`, `gitlabProductCheckJobs`) (#4964).", issue: "#4964", file: "release-floors.ts", modules: ["@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
212
|
+
{ name: "CHECK_JOB_ARTIFACTS_FLOOR", version: NEXT_RELEASE, gates: "The first chant whose `checkJob` takes `artifacts: { paths, reports }` (`PrCheckArtifacts`), which GitLab's check job keeps beside its report as `artifacts:paths` and `artifacts:reports`, such as a lint hook's `codequality` report (#4988).", issue: "#4988", file: "release-floors.ts", modules: ["@intentius/chant/components/pr-checks", "@intentius/chant/release-floors"] },
|
|
213
|
+
{ name: "GITLAB_WAVE_KEY_SCOPE_FLOOR", version: "0.124.89", gates: "The first chant whose GitLab Op waves pipeline with a runner key hands it to no wave job: each deciding wave's `<wave job>-evidence` job names the `chant-evidence` environment and signs `plan:<wave>` from the wave job (#4964).", issue: "#4964", file: "release-floors.ts", modules: ["@intentius/chant/ci-evidence-jobs", "@intentius/chant/release-floors"] },
|
|
214
|
+
{ name: "ACTOR_ORDER_FLOOR", version: "0.124.89", gates: "The first chant with `actorOf` and `actorOrder` in `@intentius/chant/actor`: the actor fallback with `GITHUB_TRIGGERING_ACTOR` ahead of the forge's actor and git's `user.name` before the login, each place switched on or off by the caller (#4966).", issue: "#4966", file: "release-floors.ts", modules: ["@intentius/chant/actor", "@intentius/chant/release-floors"] },
|
|
215
|
+
{ name: "CI_BASE_REF_FLOOR", version: "0.124.89", gates: "The first chant with `@intentius/chant/ci-base` (`ciBaseRef`), the base a CI job measures a change from (the pull request's target branch, else the default branch for a push to another branch), and whose `chant ci check` defaults `--base` to it (#4966).", issue: "#4966", file: "release-floors.ts", modules: ["@intentius/chant/ci-base", "@intentius/chant/release-floors"] },
|
|
216
|
+
{ name: "PLANNED_FILES_FLOOR", version: "0.124.89", gates: "The first chant with `@intentius/chant/planned-files` (`planFile`, `planRemoval`, `writePlannedFiles`, `staleGeneratedFiles`): an init's planned files with their modes, written or removed in one call, and the generated files a product no longer renders, found by their header (#4966).", issue: "#4966", file: "release-floors.ts", modules: ["@intentius/chant/planned-files", "@intentius/chant/release-floors"] },
|
|
217
|
+
{ name: "FORGE_CHECK_OWN_JOBS_FLOOR", version: "0.124.89", gates: "The first chant whose `pipelineContract` takes `jobs`, the jobs a product builds from its own config, beside or in place of `pipelines`, so a product's forge check gets the required statuses and `refGateStatus` from chant (#4966).", issue: "#4966", file: "release-floors.ts", modules: ["@intentius/chant/forge-check", "@intentius/chant/forge-check/index", "@intentius/chant/release-floors"] },
|
|
218
|
+
{ 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"] },
|
|
219
|
+
{ 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"] },
|
|
220
|
+
{ 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"] },
|
|
221
|
+
{ 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"] },
|
|
190
222
|
{ 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"] },
|
|
191
223
|
{ name: "RUN_EVENT_FAILURE_FLOOR", version: "0.124.30", gates: "The first chant that writes `failure` on `run-settle` (#4094).", issue: "#4094", file: "run-event.ts", modules: ["@intentius/chant", "@intentius/chant/index", "@intentius/chant/run-event"] },
|
|
192
224
|
{ name: "RUN_EVENT_COMPONENT_SKIP_FLOOR", version: "0.124.29", gates: "The first chant that writes `blocked`, `already-applied` and `blockedBy` on `component-settle` (#4007).", issue: "#4007", file: "run-event.ts", modules: ["@intentius/chant", "@intentius/chant/index", "@intentius/chant/run-event"] },
|
|
@@ -194,7 +226,7 @@ export const FLOOR_ROWS = [
|
|
|
194
226
|
{ name: "STATE_EXPORT_FLOOR", version: "0.124.77", gates: "The first chant with the engine-neutral state export (#4762).", issue: "#4762", file: "state-export.ts", modules: ["@intentius/chant/state-export"] },
|
|
195
227
|
{ name: "STATE_MIGRATION_FLOOR", version: "0.124.77", gates: "The first chant with the engine-neutral state migration (#4762).", issue: "#4762", file: "state-migration.ts", modules: ["@intentius/chant/state-migration"] },
|
|
196
228
|
{ name: "STATE_MIGRATION_SOURCE_FLOOR", version: "0.124.86", gates: "The first chant whose migration binds a root's `source` (an engine's `source` read under the locks) and answers `approval-moved`, and whose terraform lexicon plans backend moves (`planTerraformMigration`'s `backends`) and choudoufu estate migrations (`planEstateMigration`) onto it (#4806).", issue: "#4806", file: "state-migration.ts", modules: ["@intentius/chant/state-migration"] },
|
|
197
|
-
{ name: "STATE_MIGRATION_RECORD_FLOOR", version:
|
|
229
|
+
{ name: "STATE_MIGRATION_RECORD_FLOOR", version: "0.124.88", gates: "The first chant whose `runStateMigration` takes a product's `record`, which the request's attachment binds beside the roots and `chant approve` shows (#4928).", issue: "#4928", file: "state-migration.ts", modules: ["@intentius/chant/state-migration"] },
|
|
198
230
|
{ name: "STATE_UNLOCK_FLOOR", version: "0.124.77", gates: "The first chant with the engine-neutral lock release and forgeLiveRuns (#4762).", issue: "#4762", file: "state-unlock.ts", modules: ["@intentius/chant/state-unlock"] },
|
|
199
231
|
{ name: "TEMPLATE_REQUEST_FLOOR", version: "0.124.58", gates: "The first chant that writes and reads template-request/v1 and template.yml/v1 (#4651).", issue: "#4651", file: "template-request/template-request.ts", modules: ["@intentius/chant/template-request", "@intentius/chant/template-request/index", "@intentius/chant/template-request/template-request"] },
|
|
200
232
|
{ name: "CI_GREEN_LANES_FLOOR", version: "0.124.61", gates: "The first chant that reads and writes green lanes, `ci.green.lanes` (#4662).", issue: "#4662", file: "workspace/ci-green.ts", modules: ["@intentius/chant/workspace/ci-green"] },
|
|
@@ -132,7 +132,15 @@ export interface ContractPipeline {
|
|
|
132
132
|
export interface PipelineContractInput {
|
|
133
133
|
forge: ForgeKind;
|
|
134
134
|
repository: ForgeCheckRepository;
|
|
135
|
+
/** chant's generated pipelines. Empty for a product whose jobs are all its own (`jobs`). */
|
|
135
136
|
pipelines: ContractPipeline[];
|
|
137
|
+
/**
|
|
138
|
+
* Jobs a product builds from its own config (#4966), such as terragucci's
|
|
139
|
+
* per-environment stages, after the pipelines' jobs. They add no status
|
|
140
|
+
* of their own: a product whose jobs are all its own names its
|
|
141
|
+
* `requiredStatuses`.
|
|
142
|
+
*/
|
|
143
|
+
jobs?: ForgeCheckJob[];
|
|
136
144
|
/** The product's words: the stage words in job names and the default required statuses. */
|
|
137
145
|
words?: CiProductWordsInput | CiProductWords;
|
|
138
146
|
/** Default: the default branch. */
|
|
@@ -154,7 +162,9 @@ export interface PipelineContractInput {
|
|
|
154
162
|
* the plan job (pull request, plan identities), the record job (default
|
|
155
163
|
* branch, plan identities) and the apply job (default branch or its forge
|
|
156
164
|
* environment, apply identities). A Forgejo forge has no environments, so
|
|
157
|
-
* `forgeEnvironment` is left out there.
|
|
165
|
+
* `forgeEnvironment` is left out there. A product's own `jobs` follow
|
|
166
|
+
* them, so the required statuses, the ref gate's status and the protected
|
|
167
|
+
* branches are chant's however the jobs were built (#4966).
|
|
158
168
|
*/
|
|
159
169
|
export declare function pipelineContract(input: PipelineContractInput): ForgeCheckContract;
|
|
160
170
|
//# sourceMappingURL=contract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/forge-check/contract.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;G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AA4H;AAC5H,MAAM,WAAW,gBAAgB;IAC/B,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,qBAAqB,CAAC;IAChC,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,oBAAoB,CAAC;IACjC,4FAA4F;IAC5F,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC;IACvB,2FAA2F;IAC3F,KAAK,CAAC,EAAE,mBAAmB,GAAG,cAAc,CAAC;IAC7C,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,gGAAgG;IAChG,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,kBAAkB,CA+BjF"}
|
|
@@ -84,7 +84,9 @@ export function jobIdentities(spec) {
|
|
|
84
84
|
* the plan job (pull request, plan identities), the record job (default
|
|
85
85
|
* branch, plan identities) and the apply job (default branch or its forge
|
|
86
86
|
* environment, apply identities). A Forgejo forge has no environments, so
|
|
87
|
-
* `forgeEnvironment` is left out there.
|
|
87
|
+
* `forgeEnvironment` is left out there. A product's own `jobs` follow
|
|
88
|
+
* them, so the required statuses, the ref gate's status and the protected
|
|
89
|
+
* branches are chant's however the jobs were built (#4966).
|
|
88
90
|
*/
|
|
89
91
|
export function pipelineContract(input) {
|
|
90
92
|
const words = resolveProductWords(input.words);
|
|
@@ -107,6 +109,7 @@ export function pipelineContract(input) {
|
|
|
107
109
|
if (!statuses.includes(ctx))
|
|
108
110
|
statuses.push(ctx);
|
|
109
111
|
}
|
|
112
|
+
jobs.push(...(input.jobs ?? []));
|
|
110
113
|
const required = [...(input.requiredStatuses ?? statuses)];
|
|
111
114
|
if (input.refGateStatus && !required.includes(input.refGateStatus))
|
|
112
115
|
required.push(input.refGateStatus);
|
|
@@ -22,5 +22,7 @@ export { awsCredentials, awsRows, awsTrustPolicy, trustJobs, trustJob, issuerKey
|
|
|
22
22
|
export { pulumiRows, policyGrants, PULUMI_TOKEN_ENV } from "./pulumi.js";
|
|
23
23
|
/** `refGateStatus` in `pipelineContract` (#4913). */
|
|
24
24
|
export { REF_GATE_PIECES_FLOOR } from "../release-floors.js";
|
|
25
|
+
/** `jobs` in `pipelineContract` (#4966). */
|
|
26
|
+
export { FORGE_CHECK_OWN_JOBS_FLOOR } from "../release-floors.js";
|
|
25
27
|
export { forgeCheck, forgeCheckExit, describeForgeCheck, countRows, forgeCheckCommand, forgeCheckSchema, forgeCheckTarget, uncheckedClouds, ForgeCheckTargetError, type ForgeCheckInput } from "./check.js";
|
|
26
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forge-check/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACxG,OAAO,EACL,cAAc,EACd,OAAO,EACP,cAAc,EACd,SAAS,EACT,QAAQ,EACR,SAAS,EACT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AE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,4CAA4C;AAC5C,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,SAAS,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,qBAAqB,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -22,4 +22,6 @@ export { awsCredentials, awsRows, awsTrustPolicy, trustJobs, trustJob, issuerKey
|
|
|
22
22
|
export { pulumiRows, policyGrants, PULUMI_TOKEN_ENV } from "./pulumi.js";
|
|
23
23
|
/** `refGateStatus` in `pipelineContract` (#4913). */
|
|
24
24
|
export { REF_GATE_PIECES_FLOOR } from "../release-floors.js";
|
|
25
|
+
/** `jobs` in `pipelineContract` (#4966). */
|
|
26
|
+
export { FORGE_CHECK_OWN_JOBS_FLOOR } from "../release-floors.js";
|
|
25
27
|
export { forgeCheck, forgeCheckExit, describeForgeCheck, countRows, forgeCheckCommand, forgeCheckSchema, forgeCheckTarget, uncheckedClouds, ForgeCheckTargetError } from "./check.js";
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
* | Forgejo | `POST /repos/{repo}/actions/workflows/{file}/dispatches` on the run's branch | a token with the `write:repository` scope; Forgejo has no API to re-run a run, so it starts a new run of the workflow |
|
|
20
20
|
*
|
|
21
21
|
* GitHub re-runs the failed job and the jobs that need it, at the same
|
|
22
|
-
* commit. GitLab retries the job, and the jobs it skipped run after it
|
|
22
|
+
* commit. GitLab retries the job, and the jobs it skipped run after it; a
|
|
23
|
+
* job that already ran is not run again, so a waves job's
|
|
24
|
+
* `<wave job>-evidence` that ran after the stopped try is retried with it
|
|
25
|
+
* (#4978), and signs from the new try once it ends. A
|
|
23
26
|
* Forgejo dispatch runs the whole workflow again at the branch's head, so the
|
|
24
27
|
* jobs before the gate run again too; they must be safe to repeat (a wave
|
|
25
28
|
* whose runs already applied plans nothing and applies nothing new).
|
|
@@ -72,6 +75,11 @@ export interface ResumeGateRunOptions {
|
|
|
72
75
|
*/
|
|
73
76
|
dryRun?: boolean;
|
|
74
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* The job that signs a GitLab Op waves job's checks (#4926, #4978):
|
|
80
|
+
* `<wave job>-evidence`, as the waves pipeline names it.
|
|
81
|
+
*/
|
|
82
|
+
export declare function gitlabEvidenceJobOf(job: string): string;
|
|
75
83
|
/**
|
|
76
84
|
* Start the job a pending fact's locator names again, or say why not. Throws
|
|
77
85
|
* {@link ForgeApiError} when the forge refuses a call, such as a token
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gate-resume-run.d.ts","sourceRoot":"","sources":["../src/gate-resume-run.ts"],"names":[],"mappings":"AAAA
|
|
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,EAAE,MAAM,uBAAuB,CAAC;AAErG,sCAAsC;AACtC,MAAM,MAAM,iBAAiB,GACzB;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,GAClE;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE;AACvE,+FAA+F;GAC7F;IAAE,MAAM,EAAE,cAAc,CAAC;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5E,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,6GAA6G;IAC7G,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEvD;AA4BD;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA4E/G;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAe,GAAG,MAAM,GAAG,SAAS,CAG9H"}
|
package/dist/gate-resume-run.js
CHANGED
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
* | Forgejo | `POST /repos/{repo}/actions/workflows/{file}/dispatches` on the run's branch | a token with the `write:repository` scope; Forgejo has no API to re-run a run, so it starts a new run of the workflow |
|
|
20
20
|
*
|
|
21
21
|
* GitHub re-runs the failed job and the jobs that need it, at the same
|
|
22
|
-
* commit. GitLab retries the job, and the jobs it skipped run after it
|
|
22
|
+
* commit. GitLab retries the job, and the jobs it skipped run after it; a
|
|
23
|
+
* job that already ran is not run again, so a waves job's
|
|
24
|
+
* `<wave job>-evidence` that ran after the stopped try is retried with it
|
|
25
|
+
* (#4978), and signs from the new try once it ends. A
|
|
23
26
|
* Forgejo dispatch runs the whole workflow again at the branch's head, so the
|
|
24
27
|
* jobs before the gate run again too; they must be safe to repeat (a wave
|
|
25
28
|
* whose runs already applied plans nothing and applies nothing new).
|
|
@@ -40,6 +43,15 @@
|
|
|
40
43
|
*/
|
|
41
44
|
import { ForgeApiError } from "./pr-forge.js";
|
|
42
45
|
export { isGateRunLocator, resolveGateRunLocator } from "./op/gate-run-locator.js";
|
|
46
|
+
/**
|
|
47
|
+
* The job that signs a GitLab Op waves job's checks (#4926, #4978):
|
|
48
|
+
* `<wave job>-evidence`, as the waves pipeline names it.
|
|
49
|
+
*/
|
|
50
|
+
export function gitlabEvidenceJobOf(job) {
|
|
51
|
+
return `${job}-evidence`;
|
|
52
|
+
}
|
|
53
|
+
/** The GitLab job statuses of a job that ran and ended; a `skipped` or `created` job GitLab runs again after a retry itself. */
|
|
54
|
+
const GITLAB_FINISHED = new Set(["success", "failed", "canceled"]);
|
|
43
55
|
const trimSlash = (s) => s.replace(/\/+$/, "");
|
|
44
56
|
const isObject = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
45
57
|
function client(base, headers, fetchImpl) {
|
|
@@ -104,6 +116,7 @@ export async function resumeGateRun(loc, opts) {
|
|
|
104
116
|
if (!["failed", "canceled", "skipped"].includes(status))
|
|
105
117
|
return skip(`job ${loc.job} is ${status}, not finished`);
|
|
106
118
|
const name = loc.jobName ?? (typeof job.name === "string" ? job.name : undefined);
|
|
119
|
+
let evidence;
|
|
107
120
|
if (name) {
|
|
108
121
|
// The pipeline's jobs list leaves retried jobs out, so the job of this name is its newest try.
|
|
109
122
|
const jobs = await call("GET", `${project}/pipelines/${loc.run}/jobs?per_page=100`);
|
|
@@ -111,12 +124,22 @@ export async function resumeGateRun(loc, opts) {
|
|
|
111
124
|
if (isObject(newest) && String(newest.id) !== String(loc.job)) {
|
|
112
125
|
return skip(`job ${loc.job} (${name}) was already retried as job ${String(newest.id)}`);
|
|
113
126
|
}
|
|
127
|
+
// #4978: a wave job's evidence job that already ran signed for the stopped try; GitLab runs again only the jobs it skipped.
|
|
128
|
+
const found = Array.isArray(jobs) ? jobs.find((j) => isObject(j) && j.name === gitlabEvidenceJobOf(name)) : undefined;
|
|
129
|
+
if (isObject(found) && GITLAB_FINISHED.has(String(found.status)))
|
|
130
|
+
evidence = found;
|
|
114
131
|
}
|
|
115
132
|
if (opts.dryRun)
|
|
116
|
-
return wouldResume(`retry job ${loc.job}`);
|
|
133
|
+
return wouldResume(`retry job ${loc.job}${evidence ? ` and its evidence job ${String(evidence.id)}` : ""}`);
|
|
117
134
|
const retried = await call("POST", `${project}/jobs/${loc.job}/retry`);
|
|
118
135
|
const id = isObject(retried) && retried.id !== undefined ? ` as job ${String(retried.id)}` : "";
|
|
119
|
-
|
|
136
|
+
let also = "";
|
|
137
|
+
if (evidence) {
|
|
138
|
+
// It needs the wave job, so it waits for the retried one; `ci evidence sign --from-job` waits for it too, should it start first.
|
|
139
|
+
const again = await call("POST", `${project}/jobs/${String(evidence.id)}/retry`);
|
|
140
|
+
also = `, and its evidence job ${String(evidence.id)}${isObject(again) && again.id !== undefined ? ` as job ${String(again.id)}` : ""}`;
|
|
141
|
+
}
|
|
142
|
+
return { status: "resumed", forge: "gitlab", how: `retried job ${loc.job}${id}${also}`, ...url };
|
|
120
143
|
}
|
|
121
144
|
const call = client(loc.api, { Authorization: `token ${opts.token}`, Accept: "application/json" }, fetchImpl);
|
|
122
145
|
const repo = `/repos/${loc.repo}`;
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
export declare const GENERATED_OUT_ENV = "CHANT_GENERATED_OUT";
|
|
3
3
|
/** The product root the check renders for: the committed paths are relative to it. */
|
|
4
4
|
export declare const GENERATED_ROOT_ENV = "CHANT_GENERATED_ROOT";
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* One render: a command that writes some of the product's generated files,
|
|
7
|
+
* or (#4950) a module whose export returns them. Each render has `run`, or
|
|
8
|
+
* `module` and `export`.
|
|
9
|
+
*/
|
|
6
10
|
export interface GeneratedRender {
|
|
7
11
|
/** A short name, in the output: `ci`, `images`. */
|
|
8
12
|
name: string;
|
|
@@ -11,12 +15,22 @@ export interface GeneratedRender {
|
|
|
11
15
|
* quoted for the shell; the command writes each file at its committed path
|
|
12
16
|
* below it (`npx chant build ci -o {out}/.github/workflows/ci.yml`).
|
|
13
17
|
*/
|
|
14
|
-
run
|
|
18
|
+
run?: string;
|
|
19
|
+
/**
|
|
20
|
+
* #4950: a TypeScript or JavaScript module, relative to the product root,
|
|
21
|
+
* whose {@link export} is a `{ path: text }` object, or a function that
|
|
22
|
+
* returns one. chant imports it and writes each file at its path below the
|
|
23
|
+
* render tree, as `chant dev render <module> <export>` writes it in place.
|
|
24
|
+
*/
|
|
25
|
+
module?: string;
|
|
26
|
+
/** The export of {@link module} that renders the files: `dockerfiles`. */
|
|
27
|
+
export?: string;
|
|
15
28
|
/**
|
|
16
29
|
* The committed files it renders, relative to the product root. A `*` in a
|
|
17
30
|
* path's last segment matches within it (`images/Dockerfile.*`), and then
|
|
18
|
-
* every match on either side must have its twin. A render with no
|
|
19
|
-
* passes when its command exits 0 (a script with a check of its
|
|
31
|
+
* every match on either side must have its twin. A command render with no
|
|
32
|
+
* files passes when its command exits 0 (a script with a check of its
|
|
33
|
+
* own); a module render with no files compares every file it renders.
|
|
20
34
|
*/
|
|
21
35
|
files?: string[];
|
|
22
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated-check.d.ts","sourceRoot":"","sources":["../src/generated-check.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generated-check.d.ts","sourceRoot":"","sources":["../src/generated-check.ts"],"names":[],"mappings":"AA2CA,6FAA6F;AAC7F,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AACvD,sFAAsF;AACtF,eAAO,MAAM,kBAAkB,yBAAyB,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,MAAM,CAAC,EAAE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nC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,EAAE,IAAI,GAAE,qBAA0B,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAwEtJ"}
|
package/dist/generated-check.js
CHANGED
|
@@ -26,9 +26,15 @@
|
|
|
26
26
|
* {@link committedPathOf}): under a check, `chant ci workflow` and `chant
|
|
27
27
|
* release workflow` write every file into the render tree, the trigger edits
|
|
28
28
|
* to other workflows included, and name the committed path in their header,
|
|
29
|
-
* so the render matches the file that was written without `--output`.
|
|
29
|
+
* so the render matches the file that was written without `--output`. #4950:
|
|
30
|
+
* with no `--output` they write into the render tree too.
|
|
30
31
|
*
|
|
31
|
-
*
|
|
32
|
+
* A render can also be a module and its export (#4950, `./render-module`):
|
|
33
|
+
* the check imports the module and writes the `{ path: text }` files the
|
|
34
|
+
* export returns below the render tree, with no command or bundler.
|
|
35
|
+
*
|
|
36
|
+
* This module imports only Node's own modules; a module render loads
|
|
37
|
+
* `./render-module` when it runs.
|
|
32
38
|
*/
|
|
33
39
|
import { spawn } from "node:child_process";
|
|
34
40
|
import { existsSync, mkdtempSync, readdirSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
@@ -51,8 +57,18 @@ export function readGeneratedCheckConfig(productDir) {
|
|
|
51
57
|
throw new Error(`${f}: chantGenerated needs a renders list`);
|
|
52
58
|
const names = new Set();
|
|
53
59
|
for (const [i, r] of c.renders.entries()) {
|
|
54
|
-
if (!r || typeof r.name !== "string" || !r.name
|
|
60
|
+
if (!r || typeof r.name !== "string" || !r.name)
|
|
61
|
+
throw new Error(`${f}: chantGenerated.renders[${i}] needs a name and a run command`);
|
|
62
|
+
const isRun = r.run !== undefined;
|
|
63
|
+
const isModule = r.module !== undefined || r.export !== undefined;
|
|
64
|
+
if (isRun === isModule)
|
|
65
|
+
throw new Error(`${f}: chantGenerated.renders[${i}] needs a run command, or a module and its export`);
|
|
66
|
+
if (isRun && (typeof r.run !== "string" || !r.run))
|
|
55
67
|
throw new Error(`${f}: chantGenerated.renders[${i}] needs a name and a run command`);
|
|
68
|
+
if (isModule && (typeof r.module !== "string" || !r.module || typeof r.export !== "string" || !r.export))
|
|
69
|
+
throw new Error(`${f}: chantGenerated.renders[${i}] needs a module and the name of its export`);
|
|
70
|
+
if (isModule && (r.module.startsWith("/") || r.module.split("/").includes("..")))
|
|
71
|
+
throw new Error(`${f}: chantGenerated.renders[${i}].module must be a path inside the product`);
|
|
56
72
|
if (names.has(r.name))
|
|
57
73
|
throw new Error(`${f}: chantGenerated.renders names '${r.name}' twice`);
|
|
58
74
|
names.add(r.name);
|
|
@@ -169,20 +185,36 @@ export async function checkGenerated(productDir, config, opts = {}) {
|
|
|
169
185
|
}
|
|
170
186
|
const env = { ...process.env, [GENERATED_OUT_ENV]: out, [GENERATED_ROOT_ENV]: root };
|
|
171
187
|
const ran = await Promise.all(renders.map(async (r) => {
|
|
188
|
+
if (r.module !== undefined) {
|
|
189
|
+
// #4950: a module render runs here, in chant's process, with the
|
|
190
|
+
// TypeScript loader and chant served as itself. Exit 1 and the error
|
|
191
|
+
// stand in for a command's exit code and output.
|
|
192
|
+
const command = `chant dev render ${shellQuote(r.module)} ${shellQuote(r.export)}`;
|
|
193
|
+
try {
|
|
194
|
+
const { renderModuleFiles, writeRenderedFiles } = await import("./render-module.js");
|
|
195
|
+
const rendered = await renderModuleFiles(r.module, r.export, root);
|
|
196
|
+
writeRenderedFiles(out, rendered);
|
|
197
|
+
return { r, command, exitCode: 0, output: "", rendered: Object.keys(rendered) };
|
|
198
|
+
}
|
|
199
|
+
catch (err) {
|
|
200
|
+
return { r, command, exitCode: 1, output: err instanceof Error ? err.message : String(err) };
|
|
201
|
+
}
|
|
202
|
+
}
|
|
172
203
|
const command = r.run.split("{out}").join(shellQuote(out));
|
|
173
204
|
return { r, command, ...(await runRender(command, root, env)) };
|
|
174
205
|
}));
|
|
175
206
|
const results = [];
|
|
176
207
|
const matched = [];
|
|
177
208
|
const hint = config.regenerate ? ` Run '${config.regenerate}' and commit the result.` : "";
|
|
178
|
-
for (const { r, command, exitCode, output } of ran) {
|
|
209
|
+
for (const { r, command, exitCode, output, rendered } of ran) {
|
|
179
210
|
const files = [];
|
|
180
211
|
results.push({ name: r.name, command, exitCode, output, files });
|
|
181
212
|
if (exitCode !== 0) {
|
|
182
213
|
problems.push(`render '${r.name}' exited ${exitCode}: ${command}${output.trim() ? `\n${output.trimEnd().split("\n").map((l) => ` ${l}`).join("\n")}` : ""}`);
|
|
183
214
|
continue;
|
|
184
215
|
}
|
|
185
|
-
|
|
216
|
+
// A module render with no files compares every file it rendered.
|
|
217
|
+
for (const path of r.files ?? rendered ?? []) {
|
|
186
218
|
const committed = expand(root, path);
|
|
187
219
|
const rendered = expand(out, path);
|
|
188
220
|
if (!path.includes("*") && rendered.length === 0) {
|