@intentius/chant 0.124.87 → 0.124.89
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/action-pins.d.ts +1 -0
- package/dist/action-pins.d.ts.map +1 -1
- package/dist/action-pins.js +2 -0
- package/dist/actor.d.ts +47 -0
- package/dist/actor.d.ts.map +1 -0
- package/dist/actor.js +56 -0
- package/dist/bundle-check.d.ts +20 -5
- package/dist/bundle-check.d.ts.map +1 -1
- package/dist/bundle-check.js +20 -5
- package/dist/chant-install.d.ts +98 -0
- package/dist/chant-install.d.ts.map +1 -1
- package/dist/chant-install.js +203 -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 +177 -0
- package/dist/ci-comment-commands.d.ts.map +1 -0
- package/dist/ci-comment-commands.js +325 -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-commit.d.ts +1 -1
- package/dist/ci-commit.d.ts.map +1 -1
- package/dist/ci-commit.js +1 -2
- package/dist/ci-control.d.ts +1 -1
- package/dist/ci-control.d.ts.map +1 -1
- package/dist/ci-control.js +1 -1
- package/dist/ci-evidence-claims.d.ts +59 -0
- package/dist/ci-evidence-claims.d.ts.map +1 -0
- package/dist/ci-evidence-claims.js +87 -0
- package/dist/ci-evidence-from-job.d.ts +128 -0
- package/dist/ci-evidence-from-job.d.ts.map +1 -0
- package/dist/ci-evidence-from-job.js +203 -0
- package/dist/ci-evidence-jobs.d.ts +68 -4
- package/dist/ci-evidence-jobs.d.ts.map +1 -1
- package/dist/ci-evidence-jobs.js +82 -5
- package/dist/ci-handover.d.ts +12 -0
- package/dist/ci-handover.d.ts.map +1 -1
- package/dist/ci-handover.js +15 -3
- package/dist/ci-identity.d.ts +32 -6
- package/dist/ci-identity.d.ts.map +1 -1
- package/dist/ci-identity.js +40 -8
- package/dist/ci-image.d.ts +65 -10
- package/dist/ci-image.d.ts.map +1 -1
- package/dist/ci-image.js +101 -22
- package/dist/ci-jobs.d.ts +1 -1
- package/dist/ci-jobs.d.ts.map +1 -1
- package/dist/ci-jobs.js +7 -2
- package/dist/ci-login.d.ts +75 -13
- package/dist/ci-login.d.ts.map +1 -1
- package/dist/ci-login.js +89 -37
- package/dist/ci-note-commands.d.ts +63 -3
- package/dist/ci-note-commands.d.ts.map +1 -1
- package/dist/ci-note-commands.js +69 -35
- package/dist/ci-product-words.d.ts +62 -1
- package/dist/ci-product-words.d.ts.map +1 -1
- package/dist/ci-product-words.js +52 -1
- package/dist/ci-product.d.ts +52 -2
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +51 -2
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/build.js +29 -2
- package/dist/cli/handlers/approve-confirm.d.ts +14 -0
- package/dist/cli/handlers/approve-confirm.d.ts.map +1 -1
- package/dist/cli/handlers/approve-confirm.js +46 -0
- package/dist/cli/handlers/approve.d.ts.map +1 -1
- package/dist/cli/handlers/approve.js +2 -1
- package/dist/cli/handlers/build.d.ts +1 -1
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/build.js +22 -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 +37 -7
- package/dist/cli/handlers/ci-evidence.d.ts.map +1 -1
- package/dist/cli/handlers/ci-evidence.js +255 -20
- package/dist/cli/handlers/ci-forge-check.d.ts.map +1 -1
- package/dist/cli/handlers/ci-forge-check.js +34 -17
- 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 +11 -0
- package/dist/cli/handlers/generated-check.d.ts.map +1 -0
- package/dist/cli/handlers/generated-check.js +71 -0
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.js +3 -0
- package/dist/cli/handlers/local-chant.d.ts +13 -0
- package/dist/cli/handlers/local-chant.d.ts.map +1 -1
- package/dist/cli/handlers/local-chant.js +42 -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 +21 -0
- package/dist/cli/handlers/pr-comment.d.ts.map +1 -0
- package/dist/cli/handlers/pr-comment.js +112 -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.d.ts +23 -1
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +97 -14
- 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 +36 -2
- 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 +60 -4
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +82 -0
- package/dist/cli/registry.d.ts +35 -0
- 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/check-hooks.d.ts +10 -0
- package/dist/components/check-hooks.d.ts.map +1 -1
- package/dist/components/check-hooks.js +18 -0
- package/dist/components/pr-checks.d.ts +169 -0
- package/dist/components/pr-checks.d.ts.map +1 -0
- package/dist/components/pr-checks.js +180 -0
- package/dist/components/pr-pipeline.d.ts +38 -0
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +6 -1
- package/dist/components/product-pipeline.d.ts +58 -2
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +76 -9
- package/dist/components/product-plan.d.ts +445 -7
- package/dist/components/product-plan.d.ts.map +1 -1
- package/dist/components/product-plan.js +426 -15
- package/dist/config.d.ts +10 -6
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +11 -6
- package/dist/control/consumers.d.ts +6 -0
- package/dist/control/consumers.d.ts.map +1 -1
- package/dist/control/consumers.js +6 -0
- package/dist/dead-guards.d.ts.map +1 -1
- package/dist/dead-guards.js +9 -6
- package/dist/discovery/files.d.ts +1 -1
- package/dist/discovery/files.js +1 -1
- package/dist/drift-issue.d.ts +20 -3
- package/dist/drift-issue.d.ts.map +1 -1
- package/dist/drift-issue.js +16 -0
- package/dist/drift-record.d.ts +52 -5
- package/dist/drift-record.d.ts.map +1 -1
- package/dist/drift-record.js +46 -6
- package/dist/floor-table.d.ts +6 -6
- package/dist/floor-table.d.ts.map +1 -1
- package/dist/floor-table.data.d.ts.map +1 -1
- package/dist/floor-table.data.js +81 -21
- package/dist/floor-table.js +10 -7
- package/dist/forge-check/contract.d.ts +19 -1
- package/dist/forge-check/contract.d.ts.map +1 -1
- package/dist/forge-check/contract.js +8 -2
- package/dist/forge-check/index.d.ts +4 -0
- package/dist/forge-check/index.d.ts.map +1 -1
- package/dist/forge-check/index.js +4 -0
- package/dist/forge-flags.d.ts +10 -0
- package/dist/forge-flags.d.ts.map +1 -1
- package/dist/forge-flags.js +31 -0
- package/dist/forge-remote.d.ts +47 -0
- package/dist/forge-remote.d.ts.map +1 -0
- package/dist/forge-remote.js +69 -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 +88 -0
- package/dist/generated-check.d.ts.map +1 -0
- package/dist/generated-check.js +248 -0
- 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 +27 -0
- package/dist/lexicon.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 +26 -0
- package/dist/lifecycle/publish-npm.d.ts.map +1 -1
- package/dist/lifecycle/publish-npm.js +76 -4
- 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 +22 -1
- package/dist/lifecycle/release-images.d.ts.map +1 -1
- package/dist/lifecycle/release-images.js +26 -3
- package/dist/lifecycle/release-ledger.d.ts +4 -3
- package/dist/lifecycle/release-ledger.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.js +3 -2
- package/dist/local-chant.d.ts +57 -3
- package/dist/local-chant.d.ts.map +1 -1
- package/dist/local-chant.js +122 -13
- 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/index.d.ts +2 -0
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/index.js +1 -0
- package/dist/op/op-waves-evidence-jobs.d.ts +97 -0
- package/dist/op/op-waves-evidence-jobs.d.ts.map +1 -0
- package/dist/op/op-waves-evidence-jobs.js +118 -0
- package/dist/op/op-waves-evidence.d.ts +12 -1
- package/dist/op/op-waves-evidence.d.ts.map +1 -1
- package/dist/op/op-waves-evidence.js +23 -2
- 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 +14 -1
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +56 -4
- package/dist/op/op-waves.d.ts +12 -0
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +14 -1
- package/dist/op/schedule-overdue.d.ts +39 -2
- package/dist/op/schedule-overdue.d.ts.map +1 -1
- package/dist/op/schedule-overdue.js +148 -10
- package/dist/op/wave-stop.d.ts +64 -0
- package/dist/op/wave-stop.d.ts.map +1 -0
- package/dist/op/wave-stop.js +127 -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-forge-reads.d.ts +21 -1
- package/dist/pr-forge-reads.d.ts.map +1 -1
- package/dist/pr-forge-reads.js +19 -1
- package/dist/pr-forge.d.ts +7 -1
- package/dist/pr-forge.d.ts.map +1 -1
- package/dist/pr-forge.js +7 -2
- 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 +121 -0
- package/dist/pr-plan-note.d.ts.map +1 -1
- package/dist/pr-plan-note.js +104 -1
- package/dist/pr-plan-record.d.ts +47 -0
- package/dist/pr-plan-record.d.ts.map +1 -0
- package/dist/pr-plan-record.js +89 -0
- package/dist/pr-post.d.ts +68 -3
- package/dist/pr-post.d.ts.map +1 -1
- package/dist/pr-post.js +218 -13
- package/dist/pr-requires.d.ts +8 -0
- package/dist/pr-requires.d.ts.map +1 -1
- package/dist/pr-requires.js +3 -1
- 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 +90 -0
- package/dist/ref-gate-init.d.ts.map +1 -0
- package/dist/ref-gate-init.js +155 -0
- package/dist/ref-gate-rules.d.ts +19 -0
- package/dist/ref-gate-rules.d.ts.map +1 -0
- package/dist/ref-gate-rules.js +17 -0
- package/dist/release-floors.d.ts +100 -16
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +101 -17
- 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 +24 -1
- package/dist/state-migration.d.ts.map +1 -1
- package/dist/state-migration.js +39 -4
- package/dist/state-unlock.d.ts +32 -1
- package/dist/state-unlock.d.ts.map +1 -1
- package/dist/state-unlock.js +31 -0
- package/dist/wave-runtime.mjs +307 -297
- package/dist/workspace/ci-green-cli.d.ts.map +1 -1
- package/dist/workspace/ci-green-cli.js +15 -8
- package/dist/workspace/drift-cli.d.ts +1 -1
- package/dist/workspace/drift-cli.d.ts.map +1 -1
- package/dist/workspace/drift-cli.js +5 -12
- package/dist/workspace/forge-work.d.ts +3 -2
- package/dist/workspace/forge-work.d.ts.map +1 -1
- package/dist/workspace/forge-work.js +7 -17
- package/dist/workspace/lexicon-outputs.js +2 -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 +27 -3
- package/dist/workspace/release-workflow.d.ts.map +1 -1
- package/dist/workspace/release-workflow.js +52 -7
- package/dist/workspace/trust/check-evidence-report.d.ts +25 -2
- package/dist/workspace/trust/check-evidence-report.d.ts.map +1 -1
- package/dist/workspace/trust/check-evidence-report.js +28 -8
- package/dist/workspace/trust/check-evidence.d.ts +13 -1
- package/dist/workspace/trust/check-evidence.d.ts.map +1 -1
- package/dist/workspace/trust/check-evidence.js +8 -3
- package/dist/workspace/trust/evidence.d.ts +5 -0
- package/dist/workspace/trust/evidence.d.ts.map +1 -1
- package/dist/workspace/trust/evidence.js +5 -0
- package/dist/workspace/trust/open-evidence.d.ts +67 -0
- package/dist/workspace/trust/open-evidence.d.ts.map +1 -0
- package/dist/workspace/trust/open-evidence.js +92 -0
- 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 +93 -11
- package/dist/workspace/trust/ref-gate.d.ts +61 -2
- package/dist/workspace/trust/ref-gate.d.ts.map +1 -1
- package/dist/workspace/trust/ref-gate.js +72 -7
- 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/action-pins.ts +2 -0
- package/src/actor.test.ts +78 -0
- package/src/actor.ts +79 -0
- package/src/bundle-check.test.ts +22 -0
- package/src/bundle-check.ts +33 -5
- package/src/chant-install.test.ts +108 -1
- package/src/chant-install.ts +242 -2
- package/src/ci-base.test.ts +41 -0
- package/src/ci-base.ts +43 -0
- package/src/ci-comment-commands.test.ts +376 -0
- package/src/ci-comment-commands.ts +389 -0
- package/src/ci-comment-replies.ts +78 -0
- package/src/ci-commit.test.ts +51 -6
- package/src/ci-commit.ts +1 -2
- package/src/ci-control.ts +1 -0
- package/src/ci-evidence-claims.ts +102 -0
- package/src/ci-evidence-from-job.test.ts +165 -0
- package/src/ci-evidence-from-job.ts +251 -0
- package/src/ci-evidence-jobs.ts +88 -6
- package/src/ci-handover.ts +16 -3
- package/src/ci-identity.test.ts +3 -3
- package/src/ci-identity.ts +51 -11
- package/src/ci-image.test.ts +187 -16
- package/src/ci-image.ts +157 -25
- package/src/ci-jobs.ts +7 -2
- package/src/ci-login.test.ts +131 -3
- package/src/ci-login.token-drop.test.ts +204 -0
- package/src/ci-login.ts +137 -39
- package/src/ci-note-commands.ts +104 -41
- package/src/ci-product-words.ts +89 -0
- package/src/ci-product.ts +62 -1
- package/src/cli/commands/__fixtures__/source-dir-root/migrations/0001-init/backfill.ts +3 -0
- package/src/cli/commands/build.test.ts +41 -0
- package/src/cli/commands/build.ts +27 -2
- package/src/cli/handlers/approve-confirm.test.ts +35 -0
- package/src/cli/handlers/approve-confirm.ts +44 -0
- package/src/cli/handlers/approve.ts +2 -1
- package/src/cli/handlers/build-source-dir.test.ts +4 -0
- package/src/cli/handlers/build.ts +20 -2
- package/src/cli/handlers/ci-check.ts +37 -7
- package/src/cli/handlers/ci-evidence-open.test.ts +164 -0
- package/src/cli/handlers/ci-evidence.ts +233 -18
- package/src/cli/handlers/ci-forge-check.ts +22 -9
- package/src/cli/handlers/components.ts +3 -1
- package/src/cli/handlers/generated-check.ts +69 -0
- package/src/cli/handlers/lifecycle.test.ts +20 -0
- package/src/cli/handlers/lifecycle.ts +4 -0
- package/src/cli/handlers/local-chant.ts +39 -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 +104 -0
- package/src/cli/handlers/pr-env.ts +6 -3
- package/src/cli/handlers/pr-record.test.ts +1 -1
- package/src/cli/handlers/pr.ts +93 -15
- 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 +35 -2
- package/src/cli/handlers/run.ts +2 -1
- package/src/cli/main.ts +60 -4
- package/src/cli/parse-args.ts +58 -0
- package/src/cli/registry.ts +35 -0
- package/src/components/auto-release.ts +2 -1
- package/src/components/check-hooks.ts +22 -0
- package/src/components/check-report-summary.test.ts +78 -0
- package/src/components/pr-checks.ts +254 -0
- package/src/components/pr-pipeline.ts +43 -1
- package/src/components/product-pipeline.ts +113 -9
- package/src/components/product-plan.test.ts +140 -1
- package/src/components/product-plan.ts +707 -20
- package/src/config.ts +13 -8
- package/src/control/consumers.ts +7 -0
- package/src/dead-guards.test.ts +27 -5
- package/src/dead-guards.ts +9 -6
- package/src/discovery/files.ts +1 -1
- package/src/drift-issue.test.ts +29 -1
- package/src/drift-issue.ts +28 -3
- package/src/drift-record.test.ts +45 -0
- package/src/drift-record.ts +71 -6
- package/src/floor-table.data.ts +81 -21
- package/src/floor-table.ts +12 -9
- package/src/forge-check/contract.ts +23 -2
- package/src/forge-check/forge-check.test.ts +25 -0
- package/src/forge-check/index.ts +4 -0
- package/src/forge-flags.test.ts +25 -1
- package/src/forge-flags.ts +34 -0
- package/src/forge-remote.test.ts +37 -0
- package/src/forge-remote.ts +79 -0
- package/src/gate-resume-run.ts +27 -3
- package/src/generated-check.e2e.test.ts +118 -0
- package/src/generated-check.test.ts +170 -0
- package/src/generated-check.ts +310 -0
- package/src/image-pins.ts +31 -0
- package/src/lexicon.ts +28 -0
- package/src/lifecycle/git.test.ts +48 -0
- package/src/lifecycle/git.ts +27 -4
- package/src/lifecycle/publish-npm.ts +87 -4
- package/src/lifecycle/reach-locks.test.ts +87 -0
- package/src/lifecycle/reach-locks.ts +169 -0
- package/src/lifecycle/release-catalog.test.ts +2 -2
- package/src/lifecycle/release-cut.ts +17 -1
- package/src/lifecycle/release-images-dockerfile.test.ts +20 -0
- package/src/lifecycle/release-images.test.ts +100 -0
- package/src/lifecycle/release-images.ts +38 -3
- package/src/lifecycle/release-ledger.ts +4 -3
- package/src/local-chant.e2e.test.ts +81 -6
- package/src/local-chant.test.ts +22 -3
- package/src/local-chant.ts +130 -13
- 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/gate-resume.test.ts +27 -0
- package/src/op/index.ts +10 -0
- package/src/op/op-waves-evidence-jobs.ts +140 -0
- package/src/op/op-waves-evidence.test.ts +36 -3
- package/src/op/op-waves-evidence.ts +23 -3
- package/src/op/op-waves-notify-words.test.ts +18 -0
- package/src/op/op-waves-render-spec.test.ts +160 -0
- package/src/op/op-waves-render-spec.ts +171 -0
- package/src/op/op-waves-run.ts +59 -3
- package/src/op/op-waves.ts +16 -2
- package/src/op/schedule-overdue.test.ts +126 -1
- package/src/op/schedule-overdue.ts +164 -12
- package/src/op/wave-stop.test.ts +72 -0
- package/src/op/wave-stop.ts +137 -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-forge-reads-compare.test.ts +2 -1
- package/src/pr-forge-reads.ts +37 -1
- package/src/pr-forge.ts +14 -3
- 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 +184 -3
- package/src/pr-plan-record.test.ts +75 -0
- package/src/pr-plan-record.ts +101 -0
- package/src/pr-post-plan-note.test.ts +60 -0
- package/src/pr-post-replan.test.ts +144 -0
- package/src/pr-post-subject.test.ts +230 -0
- package/src/pr-post.test.ts +32 -1
- package/src/pr-post.ts +254 -15
- package/src/pr-requires.test.ts +20 -0
- package/src/pr-requires.ts +10 -1
- package/src/pr-status.ts +91 -0
- package/src/ref-gate-init.ts +208 -0
- package/src/ref-gate-rules.ts +26 -0
- package/src/release-floors.ts +139 -17
- package/src/render-module.ts +73 -0
- package/src/state-migration-record.test.ts +89 -0
- package/src/state-migration.test.ts +1 -1
- package/src/state-migration.ts +52 -4
- package/src/state-unlock.test.ts +33 -1
- package/src/state-unlock.ts +49 -1
- package/src/workspace/ci-green-cli.ts +14 -7
- package/src/workspace/ci-green-workflow.test.ts +32 -1
- package/src/workspace/drift-cli.ts +6 -18
- package/src/workspace/forge-work.ts +7 -14
- package/src/workspace/lexicon-outputs.ts +2 -2
- package/src/workspace/release-train.ts +2 -1
- package/src/workspace/release-workflow.test.ts +104 -3
- package/src/workspace/release-workflow.ts +60 -9
- package/src/workspace/trust/check-evidence-report.ts +39 -8
- package/src/workspace/trust/check-evidence.test.ts +5 -0
- package/src/workspace/trust/check-evidence.ts +17 -5
- package/src/workspace/trust/evidence.ts +5 -0
- package/src/workspace/trust/open-evidence.ts +129 -0
- package/src/workspace/trust/ref-gate-cli.ts +88 -10
- package/src/workspace/trust/ref-gate-pieces.test.ts +220 -0
- package/src/workspace/trust/ref-gate.e2e.test.ts +17 -0
- package/src/workspace/trust/ref-gate.test.ts +10 -0
- package/src/workspace/trust/ref-gate.ts +87 -6
- package/src/workspace/workspace-run.ts +2 -1
package/dist/config.js
CHANGED
|
@@ -83,7 +83,8 @@ export const ChantConfigSchema = z.object({
|
|
|
83
83
|
publish: z.array(PublishDeclarationSchema).optional(),
|
|
84
84
|
images: z
|
|
85
85
|
.array(z.union([
|
|
86
|
-
|
|
86
|
+
// #4876: `platforms`, what the command builds, for the release workflow's QEMU setup.
|
|
87
|
+
z.object({ name: z.string().min(1), build: z.string().min(1), archive: z.string().min(1), platforms: z.array(z.string().min(1)).min(1).optional() }).strict(),
|
|
87
88
|
// #4819: chant builds the Dockerfile as the reproducible OCI archive itself.
|
|
88
89
|
z
|
|
89
90
|
.object({
|
|
@@ -93,6 +94,8 @@ export const ChantConfigSchema = z.object({
|
|
|
93
94
|
platforms: z.array(z.string().min(1)).min(1).optional(),
|
|
94
95
|
archive: z.string().min(1).optional(),
|
|
95
96
|
prepare: z.string().min(1).optional(),
|
|
97
|
+
// #4908: build arguments beside the two chant passes.
|
|
98
|
+
args: z.record(z.string(), z.string()).optional(),
|
|
96
99
|
})
|
|
97
100
|
.strict(),
|
|
98
101
|
]))
|
|
@@ -280,13 +283,15 @@ export function resolveSourceDir(projectDir, config, explicit) {
|
|
|
280
283
|
/**
|
|
281
284
|
* The top-level directories a root build leaves out (#4794): a project with
|
|
282
285
|
* no `sourceDir`, built from its own root, does not load `scripts/`, where a
|
|
283
|
-
* script that runs on load (prints and exits) would take the build's place
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
286
|
+
* script that runs on load (prints and exits) would take the build's place,
|
|
287
|
+
* nor `migrations/` (#4921), whose `.sql` files are `ALTER`s of objects
|
|
288
|
+
* declared elsewhere and whose backfill scripts run on load too. Matched
|
|
289
|
+
* against the path relative to the project root, so only the project's own
|
|
290
|
+
* top-level directories are skipped. The config's `include` brings one back.
|
|
291
|
+
* Test and spec files are left out of every build already
|
|
287
292
|
* (`isSourceFileName`).
|
|
288
293
|
*/
|
|
289
|
-
export const ROOT_SOURCE_EXCLUDES = ["scripts"];
|
|
294
|
+
export const ROOT_SOURCE_EXCLUDES = ["scripts", "migrations"];
|
|
290
295
|
/**
|
|
291
296
|
* The `exclude`/`include` globs of the project `startDir` belongs to, found by
|
|
292
297
|
* the same upward walk as {@link loadChantConfigUpward}. `undefined` when the
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import type { CatalogConsumersInput } from "../lifecycle/release-catalog.js";
|
|
22
22
|
import type { ControlEntry } from "./records.js";
|
|
23
|
+
/**
|
|
24
|
+
* The first chant with the consumers join, {@link joinControlConsumers} and
|
|
25
|
+
* {@link readControlConsumers} on `@intentius/chant/ci-control` (#4600).
|
|
26
|
+
* #4916 declared it after the fact, for `chant dev dead-guards`.
|
|
27
|
+
*/
|
|
28
|
+
export declare const CONTROL_CONSUMERS_FLOOR = "0.124.55";
|
|
23
29
|
/** The file each project keeps its consumers in. */
|
|
24
30
|
export declare const CONSUMERS_FILE = "consumers.json";
|
|
25
31
|
/** The contract version of {@link ConsumersDocument}. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consumers.d.ts","sourceRoot":"","sources":["../../src/control/consumers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAmB,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,oDAAoD;AACpD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAC/C,yDAAyD;AACzD,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC,sCAAsC;AACtC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,OAAO,kBAAkB,CAAC;IACpC,SAAS,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8EAA8E;IAC9E,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,EAAE,IAAI,EAAE,sBAAsB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAiBpI"}
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
* reader for one project's file, so it reads neither git nor the network
|
|
19
19
|
* itself. Core carries no engine word.
|
|
20
20
|
*/
|
|
21
|
+
/**
|
|
22
|
+
* The first chant with the consumers join, {@link joinControlConsumers} and
|
|
23
|
+
* {@link readControlConsumers} on `@intentius/chant/ci-control` (#4600).
|
|
24
|
+
* #4916 declared it after the fact, for `chant dev dead-guards`.
|
|
25
|
+
*/
|
|
26
|
+
export const CONTROL_CONSUMERS_FLOOR = "0.124.55";
|
|
21
27
|
/** The file each project keeps its consumers in. */
|
|
22
28
|
export const CONSUMERS_FILE = "consumers.json";
|
|
23
29
|
/** The contract version of {@link ConsumersDocument}. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dead-guards.d.ts","sourceRoot":"","sources":["../src/dead-guards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dead-guards.d.ts","sourceRoot":"","sources":["../src/dead-guards.ts"],"names":[],"mappings":"AAuCA,OAAO,EAAqC,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEjF,wCAAwC;AACxC,MAAM,WAAW,SAAS;IACxB,0EAA0E;IAC1E,IAAI,EAAE,MAAM,CAAC;IACb,wBAAwB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,eAAe,CAAC;IAC3C,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,gCAAgC;IAChC,IAAI,EAAE,MAAM,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MAAM,EAAE,KAAK,GAAE,SAAS,QAAQ,EAAgB,GAAG,KAAK,EAAE,CAmGvF;AAgBD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,iBAAiB,GAAG,gBAAgB,CAyB3E;AAED,kDAAkD;AAClD,wBAAgB,aAAa,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,CAGlD"}
|
package/dist/dead-guards.js
CHANGED
|
@@ -19,10 +19,13 @@
|
|
|
19
19
|
* (`CI_CONTROL_FLOOR: string;`), or destructured from a dynamic import. A
|
|
20
20
|
* floor the file imports statically is the product using the part, so it
|
|
21
21
|
* is not a check.
|
|
22
|
-
* - `module`: a chant subpath
|
|
23
|
-
* (
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* - `module`: a chant subpath, or a lexicon's
|
|
23
|
+
* (`@intentius/chant-lexicon-terraform/registry`, #4916), loaded with
|
|
24
|
+
* `import()` where a `catch` is near (`try { await import(specifier) }
|
|
25
|
+
* catch { return undefined }`, or `.catch(`), the shape of a chant-next.ts
|
|
26
|
+
* loader. Its floor is the lowest floor the subpath serves: a chant with
|
|
27
|
+
* that floor has the subpath. Lexicons release with chant at the same
|
|
28
|
+
* version, so a lexicon subpath is checked against the chant pin too.
|
|
26
29
|
* - `product-floor`: a product's own constant for the chant it needs,
|
|
27
30
|
* `const CHANT_CI_FLOOR = "0.124.67"`, whose checks the pin meets.
|
|
28
31
|
*
|
|
@@ -345,8 +348,8 @@ export function guardsIn(src, table = FLOOR_TABLE) {
|
|
|
345
348
|
continue;
|
|
346
349
|
push(at, "floor", name, version);
|
|
347
350
|
}
|
|
348
|
-
// module: a chant subpath loaded with import() inside a try, or with .catch( on the load.
|
|
349
|
-
for (const m of src.matchAll(/(["'`])(@intentius\/chant(?:\/[A-Za-z0-9_./-]+)?)\1/g)) {
|
|
351
|
+
// module: a chant or lexicon subpath loaded with import() inside a try, or with .catch( on the load.
|
|
352
|
+
for (const m of src.matchAll(/(["'`])(@intentius\/chant(?:-lexicon-[a-z0-9-]+)?(?:\/[A-Za-z0-9_./-]+)?)\1/g)) {
|
|
350
353
|
const at = m.index;
|
|
351
354
|
const spec = m[2];
|
|
352
355
|
const version = modules.get(spec);
|
|
@@ -55,7 +55,7 @@ export declare function isSourceFileName(name: string): boolean;
|
|
|
55
55
|
* discovery walk (`./walk.ts`, #2527): test and spec files, chant-generated
|
|
56
56
|
* files, skip-marked files and whatever the walk's rules and the project's
|
|
57
57
|
* globs skip are left out. Walked from the root of a project with no
|
|
58
|
-
* `sourceDir`, its top-level `scripts/`
|
|
58
|
+
* `sourceDir`, its top-level `scripts/` and `migrations/` are left out too (#4794, #4921,
|
|
59
59
|
* `ROOT_SOURCE_EXCLUDES`), unless `include` brings it back.
|
|
60
60
|
*/
|
|
61
61
|
export declare function findInfraFiles(path: string, options?: FindInfraFilesOptions): Promise<string[]>;
|
package/dist/discovery/files.js
CHANGED
|
@@ -91,7 +91,7 @@ export function isSourceFileName(name) {
|
|
|
91
91
|
* discovery walk (`./walk.ts`, #2527): test and spec files, chant-generated
|
|
92
92
|
* files, skip-marked files and whatever the walk's rules and the project's
|
|
93
93
|
* globs skip are left out. Walked from the root of a project with no
|
|
94
|
-
* `sourceDir`, its top-level `scripts/`
|
|
94
|
+
* `sourceDir`, its top-level `scripts/` and `migrations/` are left out too (#4794, #4921,
|
|
95
95
|
* `ROOT_SOURCE_EXCLUDES`), unless `include` brings it back.
|
|
96
96
|
*/
|
|
97
97
|
export async function findInfraFiles(path, options) {
|
package/dist/drift-issue.d.ts
CHANGED
|
@@ -104,9 +104,11 @@ export interface DriftIssueInput {
|
|
|
104
104
|
match?: MarkerMatch;
|
|
105
105
|
/**
|
|
106
106
|
* The statuses that are drift. Default {@link DRIFT_ISSUE_STATUSES}. A
|
|
107
|
-
* read with no snapshot
|
|
108
|
-
*
|
|
109
|
-
*
|
|
107
|
+
* read with no snapshot gives a declared object the provider lacks as
|
|
108
|
+
* `pending`, not deployed yet, unless its lexicon says such an object is
|
|
109
|
+
* gone: the sql lexicon does since #4896, so its records say `missing`
|
|
110
|
+
* and the default covers them. A caller that passes `pending` here (SQL
|
|
111
|
+
* Yodeler did, for a chant before #4896) still gets the same issue.
|
|
110
112
|
*/
|
|
111
113
|
statuses?: readonly DriftStatus[];
|
|
112
114
|
}
|
|
@@ -142,6 +144,21 @@ export declare function driftIssueRecords(records: readonly DriftIssueRecord[],
|
|
|
142
144
|
* SHA-256.
|
|
143
145
|
*/
|
|
144
146
|
export declare function driftIssueFingerprint(records: readonly DriftIssueRecord[], statuses?: readonly DriftStatus[]): string;
|
|
147
|
+
/** One stack's (or environment's) drift records, for {@link driftRunFingerprint}. */
|
|
148
|
+
export interface DriftRunStack {
|
|
149
|
+
stack: string;
|
|
150
|
+
records: readonly DriftIssueRecord[];
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* A run's fingerprint over several stacks (#4896), for the drift notice a
|
|
154
|
+
* run sends (`driftNotifyFields`'s `fingerprint` on
|
|
155
|
+
* `@intentius/chant/ci-product`): each stack that has drift, as its name and
|
|
156
|
+
* its {@link driftIssueFingerprint}, sorted and hashed. A stack with no
|
|
157
|
+
* drift record is left out, so a clean stack, or one whose read failed and
|
|
158
|
+
* gave no records, does not move it. 16 hex digits of a SHA-256, the value
|
|
159
|
+
* plywood's notices carried before chant computed it.
|
|
160
|
+
*/
|
|
161
|
+
export declare function driftRunFingerprint(stacks: readonly DriftRunStack[], statuses?: readonly DriftStatus[]): string;
|
|
145
162
|
/** The issue's body: the marker, the product's intro, the table, what could not be read, the notes, the advice, the run, the fingerprint. */
|
|
146
163
|
export declare function driftIssueBody(input: DriftIssueInput, fingerprint?: string): string;
|
|
147
164
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drift-issue.d.ts","sourceRoot":"","sources":["../src/drift-issue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAGH,OAAO,KAAK,EA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AK,EAAE,eAAe,EAAE,WAAW,SAAuD,GAAG,MAAM,CAwBjI;AAED;;;GAGG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAyB1H"}
|
package/dist/drift-issue.js
CHANGED
|
@@ -64,6 +64,22 @@ export function driftIssueFingerprint(records, statuses = DRIFT_ISSUE_STATUSES)
|
|
|
64
64
|
.join("\n");
|
|
65
65
|
return createHash("sha256").update(text, "utf8").digest("hex").slice(0, 16);
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* A run's fingerprint over several stacks (#4896), for the drift notice a
|
|
69
|
+
* run sends (`driftNotifyFields`'s `fingerprint` on
|
|
70
|
+
* `@intentius/chant/ci-product`): each stack that has drift, as its name and
|
|
71
|
+
* its {@link driftIssueFingerprint}, sorted and hashed. A stack with no
|
|
72
|
+
* drift record is left out, so a clean stack, or one whose read failed and
|
|
73
|
+
* gave no records, does not move it. 16 hex digits of a SHA-256, the value
|
|
74
|
+
* plywood's notices carried before chant computed it.
|
|
75
|
+
*/
|
|
76
|
+
export function driftRunFingerprint(stacks, statuses = DRIFT_ISSUE_STATUSES) {
|
|
77
|
+
const parts = stacks
|
|
78
|
+
.filter((s) => driftIssueRecords(s.records, statuses).length > 0)
|
|
79
|
+
.map((s) => `${s.stack}\t${driftIssueFingerprint(s.records, statuses)}`)
|
|
80
|
+
.sort();
|
|
81
|
+
return createHash("sha256").update(parts.join("\n")).digest("hex").slice(0, 16);
|
|
82
|
+
}
|
|
67
83
|
/** The issue's body: the marker, the product's intro, the table, what could not be read, the notes, the advice, the run, the fingerprint. */
|
|
68
84
|
export function driftIssueBody(input, fingerprint = driftIssueFingerprint(input.records, input.statuses)) {
|
|
69
85
|
const { words } = input;
|
package/dist/drift-record.d.ts
CHANGED
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
*
|
|
44
44
|
* ## Adapters
|
|
45
45
|
*
|
|
46
|
-
* The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords}
|
|
46
|
+
* The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords},
|
|
47
|
+
* and {@link lexiconDriftRecords} for one lexicon's whole section, #4896),
|
|
47
48
|
* deep observe ({@link deepDiffDriftRecords}, {@link mergeDeepDrift}) and
|
|
48
49
|
* component status ({@link componentStatusDriftRecords}). The terraform and
|
|
49
50
|
* choudoufu ones live in the terraform lexicon's `drift-record` subpath,
|
|
@@ -444,19 +445,30 @@ export declare function placeDriftRecord(input: Pick<DriftAdapterBase, "member"
|
|
|
444
445
|
node: string | null;
|
|
445
446
|
instanceOf?: string;
|
|
446
447
|
};
|
|
448
|
+
/**
|
|
449
|
+
* What a declared entity the provider confirmed absent (the live diff's
|
|
450
|
+
* `missing`) is, when no snapshot says it was deployed (#4896). `pending`,
|
|
451
|
+
* the default, reads it as not deployed yet. `missing` reads it as gone,
|
|
452
|
+
* which is what a SQL server lacking a declared table means: the sql
|
|
453
|
+
* lexicon declares it (`LexiconPlugin.liveAbsentStatus`), and
|
|
454
|
+
* `chant lifecycle diff --live --json` writes it as the section's `absent`.
|
|
455
|
+
*/
|
|
456
|
+
export type LiveAbsentStatus = Extract<DriftStatus, "pending" | "missing">;
|
|
447
457
|
export interface LiveDiffDriftInput extends DriftAdapterBase {
|
|
448
458
|
/** `chant lifecycle diff --live --json`, parsed. */
|
|
449
459
|
diff: LiveDiffResult;
|
|
450
460
|
/** Entity types by name, for the records whose diff row carries none. */
|
|
451
461
|
types?: Record<string, string>;
|
|
462
|
+
/** The status of a `missing` entity, default `pending` ({@link LiveAbsentStatus}). */
|
|
463
|
+
absent?: LiveAbsentStatus;
|
|
452
464
|
}
|
|
453
465
|
/**
|
|
454
466
|
* A chant member's records, from `lifecycle diff --live`: `unchanged` and
|
|
455
467
|
* `newlyObserved` are in-sync, `driftedSinceSnapshot` drifted (before is the
|
|
456
|
-
* snapshot, after the read), `missing` pending
|
|
457
|
-
* `orphan` undeclared, `runtimeChildren` runtime,
|
|
458
|
-
* An entity in both `missing` and `disappeared`
|
|
459
|
-
* so it is missing.
|
|
468
|
+
* snapshot, after the read), `missing` pending (or `input.absent`),
|
|
469
|
+
* `disappeared` missing, `orphan` undeclared, `runtimeChildren` runtime,
|
|
470
|
+
* `unobserved` not-observed. An entity in both `missing` and `disappeared`
|
|
471
|
+
* was deployed and is gone, so it is missing.
|
|
460
472
|
*/
|
|
461
473
|
export declare function liveDiffDriftRecords(input: LiveDiffDriftInput): DriftRecord[];
|
|
462
474
|
export interface DeepDiffDriftInput extends DriftAdapterBase {
|
|
@@ -477,6 +489,13 @@ export interface DeepDiffDriftInput extends DriftAdapterBase {
|
|
|
477
489
|
* `undeclaredEntities` undeclared. Accepted and held paths are not drift and
|
|
478
490
|
* are left out. To lay these over the thin read's records, so a deep hole
|
|
479
491
|
* stays on the attribute surface, use {@link mergeDeepDrift}.
|
|
492
|
+
*
|
|
493
|
+
* A pending change (`pending`: a privilege granted by hand, a column the
|
|
494
|
+
* declaration does not have) is drift too (#4944), as `lifecycle diff
|
|
495
|
+
* --live` counts it: an attribute on each entity behind it, its path the
|
|
496
|
+
* change's subject and its after what an apply would do, the entity's record
|
|
497
|
+
* drifted unless it is not-observed. A pending change that names no entity
|
|
498
|
+
* is a drifted record of its own, addressed by its subject.
|
|
480
499
|
*/
|
|
481
500
|
export declare function deepDiffDriftRecords(input: DeepDiffDriftInput): DriftRecord[];
|
|
482
501
|
/**
|
|
@@ -488,6 +507,34 @@ export declare function deepDiffDriftRecords(input: DeepDiffDriftInput): DriftRe
|
|
|
488
507
|
* thin record are added as they are.
|
|
489
508
|
*/
|
|
490
509
|
export declare function mergeDeepDrift(thin: Iterable<DriftRecord>, deep: Iterable<DriftRecord>): DriftRecord[];
|
|
510
|
+
/**
|
|
511
|
+
* One lexicon's section of `chant lifecycle diff --live --json`
|
|
512
|
+
* (`lexicons.<name>`, or `stacks.<stack>.<name>`), as far as its drift
|
|
513
|
+
* records read it.
|
|
514
|
+
*/
|
|
515
|
+
export interface LiveDiffLexiconSection {
|
|
516
|
+
resources?: LiveDiffResult;
|
|
517
|
+
/** The live state per entity; its `type` names a record's resource type. */
|
|
518
|
+
observed?: Record<string, {
|
|
519
|
+
type?: unknown;
|
|
520
|
+
}>;
|
|
521
|
+
deep?: DeepDiffResult;
|
|
522
|
+
/** What a confirmed-absent entity is, when the lexicon says (#4896). Left out, `pending`. */
|
|
523
|
+
absent?: LiveAbsentStatus;
|
|
524
|
+
}
|
|
525
|
+
export interface LexiconDriftInput extends DriftAdapterBase {
|
|
526
|
+
section: LiveDiffLexiconSection;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* One lexicon's drift records from its section of `lifecycle diff --live
|
|
530
|
+
* --json` (#4896): {@link liveDiffDriftRecords} over `resources`, with the
|
|
531
|
+
* types `observed` names and the section's `absent`, and the deep read laid
|
|
532
|
+
* over it with {@link mergeDeepDrift}. `chant workspace drift` reads a chant
|
|
533
|
+
* member this way, and a product that runs the diff itself (SQL Yodeler
|
|
534
|
+
* reads `lexicons.sql`) gets the same records. A section with no
|
|
535
|
+
* `resources` has none.
|
|
536
|
+
*/
|
|
537
|
+
export declare function lexiconDriftRecords(input: LexiconDriftInput): DriftRecord[];
|
|
491
538
|
export interface ComponentStatusDriftInput extends DriftAdapterBase {
|
|
492
539
|
/** `chant components status [env] --json`'s rows. */
|
|
493
540
|
rows: readonly ComponentStatusRow[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drift-record.d.ts","sourceRoot":"","sources":["../src/drift-record.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"drift-record.d.ts","sourceRoot":"","sources":["../src/drift-record.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AAEH,OAAO,EAAgB,KA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C,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,oFAAoF;AACpF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,GAAG,sBAAsB,GAAG,eAAe,CAAC;AAEjG;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,SAAS,EAAE,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE;QAAE,IAAI,EAAE,oBAAoB,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
package/dist/drift-record.js
CHANGED
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
*
|
|
44
44
|
* ## Adapters
|
|
45
45
|
*
|
|
46
|
-
* The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords}
|
|
46
|
+
* The chant ones are here: `lifecycle diff --live` ({@link liveDiffDriftRecords},
|
|
47
|
+
* and {@link lexiconDriftRecords} for one lexicon's whole section, #4896),
|
|
47
48
|
* deep observe ({@link deepDiffDriftRecords}, {@link mergeDeepDrift}) and
|
|
48
49
|
* component status ({@link componentStatusDriftRecords}). The terraform and
|
|
49
50
|
* choudoufu ones live in the terraform lexicon's `drift-record` subpath,
|
|
@@ -736,10 +737,10 @@ function chantEvidence(input, command) {
|
|
|
736
737
|
/**
|
|
737
738
|
* A chant member's records, from `lifecycle diff --live`: `unchanged` and
|
|
738
739
|
* `newlyObserved` are in-sync, `driftedSinceSnapshot` drifted (before is the
|
|
739
|
-
* snapshot, after the read), `missing` pending
|
|
740
|
-
* `orphan` undeclared, `runtimeChildren` runtime,
|
|
741
|
-
* An entity in both `missing` and `disappeared`
|
|
742
|
-
* so it is missing.
|
|
740
|
+
* snapshot, after the read), `missing` pending (or `input.absent`),
|
|
741
|
+
* `disappeared` missing, `orphan` undeclared, `runtimeChildren` runtime,
|
|
742
|
+
* `unobserved` not-observed. An entity in both `missing` and `disappeared`
|
|
743
|
+
* was deployed and is gone, so it is missing.
|
|
743
744
|
*/
|
|
744
745
|
export function liveDiffDriftRecords(input) {
|
|
745
746
|
const { diff } = input;
|
|
@@ -766,7 +767,7 @@ export function liveDiffDriftRecords(input) {
|
|
|
766
767
|
for (const name of diff.disappeared ?? [])
|
|
767
768
|
put(name, { status: "missing" });
|
|
768
769
|
for (const name of diff.missing ?? [])
|
|
769
|
-
put(name, { status: "pending" });
|
|
770
|
+
put(name, { status: input.absent ?? "pending" });
|
|
770
771
|
for (const name of diff.orphan ?? [])
|
|
771
772
|
put(name, { status: "undeclared" });
|
|
772
773
|
for (const r of diff.runtimeChildren ?? [])
|
|
@@ -782,6 +783,13 @@ export function liveDiffDriftRecords(input) {
|
|
|
782
783
|
* `undeclaredEntities` undeclared. Accepted and held paths are not drift and
|
|
783
784
|
* are left out. To lay these over the thin read's records, so a deep hole
|
|
784
785
|
* stays on the attribute surface, use {@link mergeDeepDrift}.
|
|
786
|
+
*
|
|
787
|
+
* A pending change (`pending`: a privilege granted by hand, a column the
|
|
788
|
+
* declaration does not have) is drift too (#4944), as `lifecycle diff
|
|
789
|
+
* --live` counts it: an attribute on each entity behind it, its path the
|
|
790
|
+
* change's subject and its after what an apply would do, the entity's record
|
|
791
|
+
* drifted unless it is not-observed. A pending change that names no entity
|
|
792
|
+
* is a drifted record of its own, addressed by its subject.
|
|
785
793
|
*/
|
|
786
794
|
export function deepDiffDriftRecords(input) {
|
|
787
795
|
const { diff } = input;
|
|
@@ -809,6 +817,18 @@ export function deepDiffDriftRecords(input) {
|
|
|
809
817
|
})),
|
|
810
818
|
});
|
|
811
819
|
}
|
|
820
|
+
for (const p of diff.pending ?? []) {
|
|
821
|
+
const attribute = { path: p.subject, after: p.change };
|
|
822
|
+
for (const name of p.entities && p.entities.length > 0 ? p.entities : [p.subject]) {
|
|
823
|
+
const had = out.get(name);
|
|
824
|
+
if (had?.status === "not-observed")
|
|
825
|
+
continue;
|
|
826
|
+
if (had)
|
|
827
|
+
out.set(name, driftRecord({ ...had, status: "drifted", attributes: [...(had.attributes ?? []), attribute] }));
|
|
828
|
+
else
|
|
829
|
+
put(name, { status: "drifted", attributes: [attribute] });
|
|
830
|
+
}
|
|
831
|
+
}
|
|
812
832
|
for (const name of diff.undeclaredEntities ?? [])
|
|
813
833
|
put(name, { status: "undeclared" });
|
|
814
834
|
for (const name of diff.unchanged ?? [])
|
|
@@ -844,6 +864,26 @@ export function mergeDeepDrift(thin, deep) {
|
|
|
844
864
|
}
|
|
845
865
|
return [...out.values()].sort((a, b) => byString(key(a), key(b)));
|
|
846
866
|
}
|
|
867
|
+
/**
|
|
868
|
+
* One lexicon's drift records from its section of `lifecycle diff --live
|
|
869
|
+
* --json` (#4896): {@link liveDiffDriftRecords} over `resources`, with the
|
|
870
|
+
* types `observed` names and the section's `absent`, and the deep read laid
|
|
871
|
+
* over it with {@link mergeDeepDrift}. `chant workspace drift` reads a chant
|
|
872
|
+
* member this way, and a product that runs the diff itself (SQL Yodeler
|
|
873
|
+
* reads `lexicons.sql`) gets the same records. A section with no
|
|
874
|
+
* `resources` has none.
|
|
875
|
+
*/
|
|
876
|
+
export function lexiconDriftRecords(input) {
|
|
877
|
+
const { section, ...base } = input;
|
|
878
|
+
if (!section.resources)
|
|
879
|
+
return [];
|
|
880
|
+
const types = {};
|
|
881
|
+
for (const [name, meta] of Object.entries(section.observed ?? {}))
|
|
882
|
+
if (typeof meta?.type === "string")
|
|
883
|
+
types[name] = meta.type;
|
|
884
|
+
const thin = liveDiffDriftRecords({ ...base, diff: section.resources, types, ...(section.absent ? { absent: section.absent } : {}) });
|
|
885
|
+
return section.deep ? mergeDeepDrift(thin, deepDiffDriftRecords({ ...base, diff: section.deep })) : thin;
|
|
886
|
+
}
|
|
847
887
|
/**
|
|
848
888
|
* A member's records from component status, one per component, addressed
|
|
849
889
|
* by component name: `reconciled` in-sync, `drifted` drifted, `stale`
|
package/dist/floor-table.d.ts
CHANGED
|
@@ -8,19 +8,19 @@ export interface FloorRow {
|
|
|
8
8
|
gates: string;
|
|
9
9
|
/** The issue that added it, `#4784`, or a product's (`terragucci issue 1303`). */
|
|
10
10
|
issue?: string;
|
|
11
|
-
/** The file under packages/core/src that declares it. */
|
|
11
|
+
/** The file under packages/core/src that declares it, or a lexicon's floors file from the repository root (`lexicons/terraform/src/chant-floors.ts`). */
|
|
12
12
|
file: string;
|
|
13
|
-
/** The
|
|
13
|
+
/** The subpaths a product can import the constant from: `@intentius/chant/...`, or the lexicon's own. */
|
|
14
14
|
modules: readonly string[];
|
|
15
15
|
}
|
|
16
|
-
/** Every floor, in the order
|
|
16
|
+
/** Every floor, core's in the order its files declare them, then each lexicon's. */
|
|
17
17
|
export declare const FLOOR_TABLE: readonly FloorRow[];
|
|
18
|
-
/** The rows named `name`: one, or
|
|
18
|
+
/** The rows named `name`: one, or none. A table a caller builds may hold more. */
|
|
19
19
|
export declare function floorRows(name: string): FloorRow[];
|
|
20
20
|
/**
|
|
21
21
|
* The version a product must reach for the floor `name`, or undefined when no
|
|
22
|
-
* file declares it.
|
|
23
|
-
* check that passes holds for either.
|
|
22
|
+
* file declares it. Should a name ever have two rows, the higher version, so
|
|
23
|
+
* a check that passes holds for either.
|
|
24
24
|
*/
|
|
25
25
|
export declare function floorVersion(name: string): string | undefined;
|
|
26
26
|
/** Negative when `a` is older than `b`, 0 when equal, positive when newer. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floor-table.d.ts","sourceRoot":"","sources":["../src/floor-table.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"floor-table.d.ts","sourceRoot":"","sources":["../src/floor-table.ts"],"names":[],"mappings":"AAqBA,iBAAiB;AACjB,MAAM,WAAW,QAAQ;IACvB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,qGAAqG;IACrG,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yJAAyJ;IACzJ,IAAI,EAAE,MAAM,CAAC;IACb,yGAAyG;IACzG,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B;AAED,oFAAoF;AACpF,eAAO,MAAM,WAAW,EAAE,SAAS,QAAQ,EAAe,CAAC;AAE3D,kFAAkF;AAClF,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,EAAE,CAElD;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAG7D;AAWD,8EAA8E;AAC9E,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAQjE;AAED,sGAAsG;AACtG,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAGjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floor-table.data.d.ts","sourceRoot":"","sources":["../src/floor-table.data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"floor-table.data.d.ts","sourceRoot":"","sources":["../src/floor-table.data.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,UAAU,EAAE,SAAS,QAAQ,EAyOzC,CAAC"}
|