@intentius/chant 0.124.86 → 0.124.88
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 +12 -0
- package/dist/actor.d.ts.map +1 -0
- package/dist/actor.js +18 -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 +204 -2
- 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 +103 -0
- package/dist/ci-evidence-from-job.d.ts.map +1 -0
- package/dist/ci-evidence-from-job.js +162 -0
- package/dist/ci-evidence-jobs.d.ts +69 -10
- package/dist/ci-evidence-jobs.d.ts.map +1 -1
- package/dist/ci-evidence-jobs.js +72 -8
- 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 +47 -9
- package/dist/ci-image.d.ts.map +1 -1
- package/dist/ci-image.js +45 -18
- 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-product-words.d.ts +20 -1
- package/dist/ci-product-words.d.ts.map +1 -1
- package/dist/ci-product-words.js +27 -1
- package/dist/ci-product.d.ts +20 -1
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +21 -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/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.map +1 -1
- package/dist/cli/handlers/ci-check.js +38 -14
- package/dist/cli/handlers/ci-evidence.d.ts.map +1 -1
- package/dist/cli/handlers/ci-evidence.js +238 -26
- 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/generated-check.d.ts +3 -0
- package/dist/cli/handlers/generated-check.d.ts.map +1 -0
- package/dist/cli/handlers/generated-check.js +41 -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/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +42 -5
- package/dist/cli/handlers/run-wave.js +8 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +38 -4
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +66 -0
- package/dist/cli/registry.d.ts +24 -0
- package/dist/cli/registry.d.ts.map +1 -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 +21 -3
- package/dist/components/check-steps.js +1 -1
- package/dist/components/pr-checks.d.ts +105 -0
- package/dist/components/pr-checks.d.ts.map +1 -0
- package/dist/components/pr-checks.js +119 -0
- package/dist/components/pr-pipeline.d.ts +34 -0
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +14 -1
- package/dist/components/product-pipeline.d.ts +16 -1
- package/dist/components/product-pipeline.d.ts.map +1 -1
- package/dist/components/product-pipeline.js +17 -2
- package/dist/components/product-plan.d.ts +262 -3
- package/dist/components/product-plan.d.ts.map +1 -1
- package/dist/components/product-plan.js +243 -11
- 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 +45 -5
- package/dist/drift-record.d.ts.map +1 -1
- package/dist/drift-record.js +27 -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 +58 -20
- package/dist/floor-table.js +10 -7
- package/dist/forge-check/contract.d.ts +8 -0
- 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/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/generated-check.d.ts +74 -0
- package/dist/generated-check.d.ts.map +1 -0
- package/dist/generated-check.js +216 -0
- package/dist/lexicon.d.ts +16 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/publish-npm.d.ts +15 -0
- package/dist/lifecycle/publish-npm.d.ts.map +1 -1
- package/dist/lifecycle/publish-npm.js +49 -3
- 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 +27 -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/op/op-waves-evidence-jobs.d.ts +92 -0
- package/dist/op/op-waves-evidence-jobs.d.ts.map +1 -0
- package/dist/op/op-waves-evidence-jobs.js +112 -0
- package/dist/op/op-waves-evidence.d.ts +17 -4
- package/dist/op/op-waves-evidence.d.ts.map +1 -1
- package/dist/op/op-waves-evidence.js +32 -10
- package/dist/op/op-waves-run.d.ts +12 -1
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +54 -3
- package/dist/op/op-waves.d.ts +8 -0
- package/dist/op/op-waves.d.ts.map +1 -1
- package/dist/op/op-waves.js +10 -0
- 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 +89 -7
- 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-plan-note.d.ts +24 -0
- package/dist/pr-plan-note.d.ts.map +1 -1
- package/dist/pr-plan-note.js +11 -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 +40 -0
- package/dist/pr-post.d.ts.map +1 -1
- package/dist/pr-post.js +79 -6
- 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/ref-gate-init.d.ts +76 -0
- package/dist/ref-gate-init.d.ts.map +1 -0
- package/dist/ref-gate-init.js +144 -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 +51 -1
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +66 -16
- package/dist/state-migration.d.ts +23 -0
- package/dist/state-migration.d.ts.map +1 -1
- package/dist/state-migration.js +39 -3
- 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 +310 -303
- package/dist/workspace/ci-green-cli.d.ts.map +1 -1
- package/dist/workspace/ci-green-cli.js +13 -7
- package/dist/workspace/ci-green.d.ts.map +1 -1
- package/dist/workspace/ci-green.js +4 -3
- 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-workflow.d.ts +26 -3
- package/dist/workspace/release-workflow.d.ts.map +1 -1
- package/dist/workspace/release-workflow.js +48 -6
- package/dist/workspace/trust/check-evidence-report.d.ts +25 -0
- package/dist/workspace/trust/check-evidence-report.d.ts.map +1 -1
- package/dist/workspace/trust/check-evidence-report.js +20 -0
- package/dist/workspace/trust/check-evidence.d.ts +59 -13
- package/dist/workspace/trust/check-evidence.d.ts.map +1 -1
- package/dist/workspace/trust/check-evidence.js +101 -24
- package/dist/workspace/trust/ci-tag-statement.d.ts +2 -2
- package/dist/workspace/trust/ci-tag-statement.d.ts.map +1 -1
- package/dist/workspace/trust/dsse.d.ts +40 -2
- package/dist/workspace/trust/dsse.d.ts.map +1 -1
- package/dist/workspace/trust/dsse.js +34 -2
- package/dist/workspace/trust/evidence.d.ts +7 -2
- package/dist/workspace/trust/evidence.d.ts.map +1 -1
- package/dist/workspace/trust/evidence.js +5 -0
- package/dist/workspace/trust/keyless-fixture.d.ts +41 -0
- package/dist/workspace/trust/keyless-fixture.d.ts.map +1 -0
- package/dist/workspace/trust/keyless-fixture.js +161 -0
- package/dist/workspace/trust/keyless.d.ts +202 -0
- package/dist/workspace/trust/keyless.d.ts.map +1 -0
- package/dist/workspace/trust/keyless.js +488 -0
- package/dist/workspace/trust/local-evidence.d.ts +3 -0
- package/dist/workspace/trust/local-evidence.d.ts.map +1 -1
- package/dist/workspace/trust/op-run-statement.d.ts +2 -2
- package/dist/workspace/trust/op-run-statement.d.ts.map +1 -1
- 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/policy.d.ts +56 -1
- package/dist/workspace/trust/policy.d.ts.map +1 -1
- package/dist/workspace/trust/policy.js +103 -2
- package/dist/workspace/trust/ref-gate-cli.d.ts.map +1 -1
- package/dist/workspace/trust/ref-gate-cli.js +65 -3
- package/dist/workspace/trust/ref-gate.d.ts +62 -3
- package/dist/workspace/trust/ref-gate.d.ts.map +1 -1
- package/dist/workspace/trust/ref-gate.js +75 -8
- package/dist/workspace/trust/run-statement.d.ts +3 -3
- package/dist/workspace/trust/run-statement.d.ts.map +1 -1
- package/dist/workspace/trust/runner-identity.d.ts +56 -0
- package/dist/workspace/trust/runner-identity.d.ts.map +1 -0
- package/dist/workspace/trust/runner-identity.js +65 -0
- package/dist/workspace/trust/trust-files.d.ts.map +1 -1
- package/dist/workspace/trust/trust-files.js +8 -1
- package/package.json +1 -1
- package/src/action-pins.ts +2 -0
- package/src/actor.test.ts +12 -0
- package/src/actor.ts +19 -0
- package/src/bundle-check.test.ts +22 -0
- package/src/bundle-check.ts +33 -5
- package/src/chant-install.test.ts +109 -1
- package/src/chant-install.ts +243 -2
- package/src/ci-commit.test.ts +51 -5
- 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 +147 -0
- package/src/ci-evidence-from-job.ts +195 -0
- package/src/ci-evidence-jobs.ts +85 -10
- 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 +60 -10
- package/src/ci-image.ts +78 -19
- 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-product-words.ts +30 -0
- package/src/ci-product.ts +26 -1
- package/src/cli/commands/__fixtures__/source-dir-root/migrations/0001-init/backfill.ts +3 -0
- package/src/cli/handlers/approve-confirm.test.ts +35 -0
- package/src/cli/handlers/approve-confirm.ts +44 -0
- 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 +35 -13
- package/src/cli/handlers/ci-evidence-open.test.ts +164 -0
- package/src/cli/handlers/ci-evidence.ts +223 -24
- package/src/cli/handlers/ci-forge-check.ts +22 -9
- package/src/cli/handlers/generated-check.ts +39 -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/pr.ts +43 -5
- package/src/cli/handlers/run-wave.ts +7 -0
- package/src/cli/main.ts +38 -4
- package/src/cli/parse-args.ts +46 -0
- package/src/cli/registry.ts +24 -0
- package/src/components/check-hooks.ts +25 -3
- package/src/components/check-report-summary.test.ts +78 -0
- package/src/components/check-steps.ts +1 -1
- package/src/components/pr-checks.ts +159 -0
- package/src/components/pr-pipeline.ts +41 -1
- package/src/components/product-pipeline.ts +25 -3
- package/src/components/product-plan.test.ts +102 -1
- package/src/components/product-plan.ts +419 -14
- 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 +25 -0
- package/src/drift-record.ts +55 -6
- package/src/floor-table.data.ts +58 -20
- package/src/floor-table.ts +12 -9
- package/src/forge-check/contract.ts +11 -1
- package/src/forge-check/forge-check.test.ts +8 -0
- package/src/forge-check/index.ts +2 -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/generated-check.e2e.test.ts +98 -0
- package/src/generated-check.test.ts +104 -0
- package/src/generated-check.ts +269 -0
- package/src/lexicon.ts +17 -0
- package/src/lifecycle/publish-npm.ts +56 -3
- package/src/lifecycle/release-catalog.test.ts +2 -2
- package/src/lifecycle/release-images-dockerfile.test.ts +20 -0
- package/src/lifecycle/release-images.test.ts +44 -0
- package/src/lifecycle/release-images.ts +39 -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/op/op-waves-evidence-jobs.ts +134 -0
- package/src/op/op-waves-evidence.test.ts +37 -4
- package/src/op/op-waves-evidence.ts +32 -11
- package/src/op/op-waves-run.ts +57 -2
- package/src/op/op-waves.ts +11 -0
- package/src/op/schedule-overdue.test.ts +83 -1
- package/src/op/schedule-overdue.ts +107 -9
- 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-plan-note.ts +32 -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.test.ts +30 -0
- package/src/pr-post.ts +110 -6
- package/src/pr-requires.test.ts +20 -0
- package/src/pr-requires.ts +10 -1
- package/src/ref-gate-init.ts +189 -0
- package/src/ref-gate-rules.ts +26 -0
- package/src/release-floors.ts +88 -16
- package/src/state-migration-record.test.ts +90 -0
- package/src/state-migration.test.ts +1 -1
- package/src/state-migration.ts +52 -3
- package/src/state-unlock.test.ts +33 -1
- package/src/state-unlock.ts +49 -1
- package/src/workspace/ci-green-cli.ts +12 -6
- package/src/workspace/ci-green.ts +4 -3
- 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-workflow.test.ts +70 -0
- package/src/workspace/release-workflow.ts +56 -8
- package/src/workspace/trust/check-evidence-report.ts +33 -0
- package/src/workspace/trust/check-evidence.test.ts +3 -3
- package/src/workspace/trust/check-evidence.ts +110 -28
- package/src/workspace/trust/ci-tag-statement.ts +2 -2
- package/src/workspace/trust/dsse.ts +48 -4
- package/src/workspace/trust/evidence.ts +7 -2
- package/src/workspace/trust/keyless-fixture.ts +214 -0
- package/src/workspace/trust/keyless.test.ts +220 -0
- package/src/workspace/trust/keyless.ts +557 -0
- package/src/workspace/trust/local-evidence.ts +3 -1
- package/src/workspace/trust/op-run-statement.ts +2 -2
- package/src/workspace/trust/open-evidence.ts +129 -0
- package/src/workspace/trust/policy.ts +129 -2
- package/src/workspace/trust/ref-gate-cli.ts +59 -3
- package/src/workspace/trust/ref-gate-pieces.test.ts +175 -0
- package/src/workspace/trust/ref-gate.e2e.test.ts +17 -0
- package/src/workspace/trust/ref-gate.ts +90 -8
- package/src/workspace/trust/run-statement.ts +3 -3
- package/src/workspace/trust/runner-identity.ts +92 -0
- package/src/workspace/trust/trust-files.test.ts +6 -0
- package/src/workspace/trust/trust-files.ts +14 -1
|
@@ -36,6 +36,10 @@ import type { CiProductWords } from "../ci-product-words.js";
|
|
|
36
36
|
import type { PrPlanNoteWords } from "../pr-plan-note.js";
|
|
37
37
|
import { type PipelineEvidence } from "../ci-evidence-jobs.js";
|
|
38
38
|
import { type PrLoopPipelineOptions } from "./pr-pipeline.js";
|
|
39
|
+
import { type CloudLoginSpec } from "../ci-login.js";
|
|
40
|
+
import type { OpWaveRunStep } from "../lexicon.js";
|
|
41
|
+
import { type ControlNoteCheckout, type ControlTarget } from "../control/dispatch.js";
|
|
42
|
+
import { type ScheduledWatch } from "../op/schedule-overdue.js";
|
|
39
43
|
/** The variable the plan-note job reads the product's note words from (#4799), as JSON. Set from the pipeline, never from the report. */
|
|
40
44
|
export declare const PR_PLAN_NOTE_WORDS_ENV = "CHANT_PLAN_NOTE_WORDS";
|
|
41
45
|
/** One target the product plans in a job of its own (#4799): an environment, for sql-yodeler. */
|
|
@@ -53,7 +57,62 @@ export interface ProductPlanTarget {
|
|
|
53
57
|
* tokens are dropped.
|
|
54
58
|
*/
|
|
55
59
|
writeProbe?: string;
|
|
60
|
+
/**
|
|
61
|
+
* This target's cloud login (#4899, #4931), in place of the plan's
|
|
62
|
+
* {@link ProductPlanOptions.login}: chant's login from the OIDC token file
|
|
63
|
+
* (`@intentius/chant/ci-login`, #4788), run before the write probe.
|
|
64
|
+
*/
|
|
65
|
+
login?: CloudLoginSpec;
|
|
66
|
+
/** OIDC tokens this target's plan job requests besides its login's, `{ <variable>: <audience> }`, in place of the plan's {@link ProductPlanOptions.idTokens}. */
|
|
67
|
+
idTokens?: Record<string, string>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* A step a product's plan job runs before its setup lines (#4899): a shell
|
|
71
|
+
* line (`run`), or on GitHub and Forgejo an action (`uses`), such as a
|
|
72
|
+
* cache restore. A `run` step starts without the forge tokens, as every
|
|
73
|
+
* step after the checkout does. GitLab has no actions, so it leaves a
|
|
74
|
+
* `uses` step out; its generator's `cache` is GitLab's cache.
|
|
75
|
+
*/
|
|
76
|
+
export interface ProductPlanSetupStep {
|
|
77
|
+
name?: string;
|
|
78
|
+
run?: string;
|
|
79
|
+
uses?: string;
|
|
80
|
+
with?: Record<string, unknown>;
|
|
81
|
+
env?: Record<string, string>;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* The comment re-plan (#4899): `/<product> <plan word>` (or a words' alias
|
|
85
|
+
* for the plan command) plans an open pull request again. With `targets`,
|
|
86
|
+
* `/<product> plan <target>` plans that target alone, and the bare command
|
|
87
|
+
* plans every target. Without targets, the one word after the command
|
|
88
|
+
* reaches the plan verb as {@link PLAN_ARGUMENT_ENV}, such as terragucci's
|
|
89
|
+
* root.
|
|
90
|
+
*/
|
|
91
|
+
export interface ProductPlanReplanJob {
|
|
92
|
+
/** `replan` or `replan-<target>` on GitHub and Forgejo, `replan` or `<target>-replan` on GitLab. */
|
|
93
|
+
jobName: string;
|
|
94
|
+
/** `replan-note` or `replan-note-<target>`, `<target>-replan-note` on GitLab. */
|
|
95
|
+
noteJobName: string;
|
|
96
|
+
/** The comments it answers: the plan command, then each alias for it that is on. */
|
|
97
|
+
comments: string[];
|
|
98
|
+
/** Aliases whose words name a variable that turns them on, with that variable. */
|
|
99
|
+
gated: Array<{
|
|
100
|
+
comment: string;
|
|
101
|
+
when: string;
|
|
102
|
+
}>;
|
|
103
|
+
/** The note job's command and variables, which read the pull request and head from the re-plan job. */
|
|
104
|
+
post: {
|
|
105
|
+
command: string;
|
|
106
|
+
env: Record<string, string>;
|
|
107
|
+
setup?: string[];
|
|
108
|
+
};
|
|
109
|
+
/** The artifact the note job (GitHub, Forgejo) or the re-plan job (GitLab) keeps the directory as. */
|
|
110
|
+
artifact: string;
|
|
56
111
|
}
|
|
112
|
+
/** The variable a comment re-plan's one argument reaches the plan verb in (#4899). Empty on a pull request's own plan. */
|
|
113
|
+
export declare const PLAN_ARGUMENT_ENV = "CHANT_PLAN_ARGUMENT";
|
|
114
|
+
/** The file the note job's own lines write extra notices to, one a line (#4931): `pr-post` adds them under the note's counts. */
|
|
115
|
+
export declare const PLAN_NOTE_NOTICES_ENV = "CHANT_PLAN_NOTE_NOTICES";
|
|
57
116
|
/** The product plan (#4799): {@link ProductPipelineOptions.plan}. */
|
|
58
117
|
export interface ProductPlanOptions {
|
|
59
118
|
/**
|
|
@@ -80,7 +139,117 @@ export interface ProductPlanOptions {
|
|
|
80
139
|
noteWords?: PrPlanNoteWords;
|
|
81
140
|
/** The workflow's name (GitHub and Forgejo) or the pipeline's (GitLab). Default `chant-pr-<env>`. */
|
|
82
141
|
workflow?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Variables for the whole plan job (#4899), every step of it: the job's
|
|
144
|
+
* `env` on GitHub and Forgejo, its `variables` on GitLab. A forge token's
|
|
145
|
+
* name is refused.
|
|
146
|
+
*/
|
|
147
|
+
env?: Record<string, string>;
|
|
148
|
+
/**
|
|
149
|
+
* The plan job's cloud login (#4899, #4931), for every target without
|
|
150
|
+
* its own: chant's login from the OIDC token file
|
|
151
|
+
* (`@intentius/chant/ci-login`, #4788), after the setup lines and before
|
|
152
|
+
* the write probe. The job asks for the OIDC token: `id-token: write`
|
|
153
|
+
* (Forgejo `enable-openid-connect`), GitLab `id_tokens`.
|
|
154
|
+
*/
|
|
155
|
+
login?: CloudLoginSpec;
|
|
156
|
+
/**
|
|
157
|
+
* OIDC tokens the plan job requests for a login the product's command
|
|
158
|
+
* does itself (#4931), `{ <variable>: <audience> }`: GitLab `id_tokens`,
|
|
159
|
+
* and `id-token: write` on GitHub and Forgejo, where the command asks the
|
|
160
|
+
* forge for its token by audience.
|
|
161
|
+
*/
|
|
162
|
+
idTokens?: Record<string, string>;
|
|
163
|
+
/**
|
|
164
|
+
* Post the plan status pending ("planning") before the checkout (#4899),
|
|
165
|
+
* on GitHub and Forgejo, from a step that alone holds the job's token.
|
|
166
|
+
* The job asks for `statuses: write`. GitLab's plan job holds no token,
|
|
167
|
+
* so there the pipeline's own status says the plan runs.
|
|
168
|
+
*/
|
|
169
|
+
pending?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* The control repo the plan reads (#4899), as terragucci reads it for
|
|
172
|
+
* estate ownership: chant's read-only fetch of its `chant/lifecycle`
|
|
173
|
+
* (`controlNoteCheckout`), right after the checkout and before any of the
|
|
174
|
+
* change's code runs. It sets `CHANT_CONTROL_DIR`.
|
|
175
|
+
*/
|
|
176
|
+
controlRead?: ControlTarget;
|
|
177
|
+
/** Steps after the checkout and the control read, before the setup lines (#4899): a cache restore, an install. */
|
|
178
|
+
setup?: ProductPlanSetupStep[];
|
|
179
|
+
/**
|
|
180
|
+
* A shell line run after the plan verb whatever its exit (#4899), such as
|
|
181
|
+
* sql-yodeler's `yodel report {target} --out {output}/report`, in the plan
|
|
182
|
+
* step, so it is not a step after the change's code. `{target}` and
|
|
183
|
+
* `{output}` are filled as in `command`. The step then exits with the plan
|
|
184
|
+
* verb's status. What it writes under `{output}` is kept with the report.
|
|
185
|
+
*/
|
|
186
|
+
report?: string;
|
|
187
|
+
/**
|
|
188
|
+
* One run at a time per pull request (#4899): a workflow-level
|
|
189
|
+
* `concurrency` group `<group>-<pull request>` on GitHub and Forgejo
|
|
190
|
+
* (default group: the workflow's name), cancelling the run before it when
|
|
191
|
+
* `cancelInProgress`. A comment's run, with `replan`, is in a group of its
|
|
192
|
+
* own comment, so a comment never cancels a plan. On GitLab
|
|
193
|
+
* `cancelInProgress` makes the plan jobs `interruptible`, which GitLab's
|
|
194
|
+
* auto-cancel of redundant pipelines stops.
|
|
195
|
+
*/
|
|
196
|
+
concurrency?: {
|
|
197
|
+
group?: string;
|
|
198
|
+
cancelInProgress?: boolean;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* The comment re-plan (#4899, {@link ProductPlanReplanJob}). The words
|
|
202
|
+
* need a plan command. On GitHub the commenter must be an owner, member or
|
|
203
|
+
* collaborator; on Forgejo the job asks the forge whether the commenter
|
|
204
|
+
* can write. On GitLab the note-commands job (`noteCommands`) starts a
|
|
205
|
+
* pipeline of the target branch for the comment, which runs the re-plan
|
|
206
|
+
* jobs whose target the comment names.
|
|
207
|
+
*/
|
|
208
|
+
replan?: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Lines the note job runs (#4931), on GitHub and Forgejo, in the job that
|
|
211
|
+
* holds the token and none of the change's code: `before` after the report
|
|
212
|
+
* is taken back and before `pr-post`, `after` once it posted. A `before`
|
|
213
|
+
* line may write notices, one a line, to the file
|
|
214
|
+
* `$CHANT_PLAN_NOTE_NOTICES` names, and `pr-post` adds them under the
|
|
215
|
+
* note's counts, such as terragucci's notice naming whose review does not
|
|
216
|
+
* count. They reach the job's token as `GITHUB_TOKEN`. GitLab's note job
|
|
217
|
+
* posts every open merge request's note in one run, so it takes none.
|
|
218
|
+
*/
|
|
219
|
+
noteSteps?: {
|
|
220
|
+
before?: string[];
|
|
221
|
+
after?: string[];
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* The product's own scheduled jobs the note job checks for having stopped
|
|
225
|
+
* (#4888), such as terragucci's drift job: each a `ScheduledWatch` with
|
|
226
|
+
* its cron, the files the product's generator wrote it in, and on GitLab
|
|
227
|
+
* its schedule selector. The note job holds the token the plan job lacks,
|
|
228
|
+
* so `pr-post` asks the forge when each last ran, in its checkout of the
|
|
229
|
+
* target branch's commit, and adds the line for one that is overdue under
|
|
230
|
+
* the note's counts. They reach it as `CHANT_PLAN_WATCHES`, from the
|
|
231
|
+
* pipeline, never from the plan job's report.
|
|
232
|
+
*/
|
|
233
|
+
watches?: ScheduledWatch[];
|
|
234
|
+
/**
|
|
235
|
+
* A run record for the plan job (#4899), as `chant ci run plan --in-place`
|
|
236
|
+
* writes one for `pr-plan`'s: Op `pr-plan` in the run ledger,
|
|
237
|
+
* `<env>/runs__pr-plan.jsonl` on `chant/lifecycle`. The plan job holds no
|
|
238
|
+
* token, so its plan step writes the record into the hand-off
|
|
239
|
+
* ({@link PLAN_RUN_RECORD_FILE}) once the plan verb and the report line ran,
|
|
240
|
+
* and the note job, which holds the token, appends it to the ledger and
|
|
241
|
+
* pushes it with the note (`pr-post --record-run <plan job>`). The note job
|
|
242
|
+
* reads the record as data: it keeps the record's id, times and exit code,
|
|
243
|
+
* and names the op, environment, commit, run and status from what it knows
|
|
244
|
+
* itself. The note job then asks `contents: write` on GitHub and Forgejo.
|
|
245
|
+
* Unsigned, as `pr-plan`'s is (#4328). Default off.
|
|
246
|
+
*/
|
|
247
|
+
record?: boolean;
|
|
83
248
|
}
|
|
249
|
+
/** The file a product plan job writes its run record to under the hand-off directory, and the Op it is recorded under: `pr-plan`'s (#4899, ../pr-plan-record.ts). */
|
|
250
|
+
export { PLAN_RUN_OP, PLAN_RUN_RECORD_FILE } from "../pr-plan-record.js";
|
|
251
|
+
/** The variable the plan step reads the record's op, environment and labels from (#4899), as JSON. */
|
|
252
|
+
export declare const PLAN_RUN_RECORD_ENV = "CHANT_PLAN_RECORD";
|
|
84
253
|
/** One plan job and its note job, for one target or for the whole pipeline (#4799). */
|
|
85
254
|
export interface ProductPlanJob {
|
|
86
255
|
/** The target, when the plan has targets. Also the note's and the status's member. */
|
|
@@ -110,13 +279,51 @@ export interface ProductPlanJob {
|
|
|
110
279
|
* With the pipeline's `evidence` (#4870): the lines that sign the plan
|
|
111
280
|
* job's `plan` and `policy` checks from its report, and their variables
|
|
112
281
|
* (the runner key from its secret). GitHub and Forgejo run them in the
|
|
113
|
-
* note job before `pr-post`; GitLab in a job of their own
|
|
114
|
-
* job,
|
|
282
|
+
* note job before `pr-post`; GitLab in a job of their own, `jobName`, in
|
|
283
|
+
* the target branch's plan notes pipeline before the note job (#4914),
|
|
284
|
+
* which keeps `dir` as its artifact and names the environment
|
|
285
|
+
* `GITLAB_EVIDENCE_ENVIRONMENT`; the note job reads `dir`
|
|
286
|
+
* (`--evidence-dir`). Signing keyless (#4869), the job asks for an OIDC
|
|
287
|
+
* token: `idToken` (GitHub's `id-token: write`, Forgejo's
|
|
288
|
+
* `enable-openid-connect`) or GitLab's `idTokens`.
|
|
115
289
|
*/
|
|
116
290
|
evidence?: {
|
|
117
291
|
lines: string[];
|
|
118
292
|
env: Record<string, string>;
|
|
119
293
|
jobName?: string;
|
|
294
|
+
dir?: string;
|
|
295
|
+
idToken?: true;
|
|
296
|
+
idTokens?: Record<string, {
|
|
297
|
+
aud: string;
|
|
298
|
+
}>;
|
|
299
|
+
};
|
|
300
|
+
/** The job's own variables (#4899), every step's. */
|
|
301
|
+
jobEnv?: Record<string, string>;
|
|
302
|
+
/** The cloud login's steps (#4931), after the setup lines and before the write probe. GitLab: their lines in the script. */
|
|
303
|
+
login?: OpWaveRunStep[];
|
|
304
|
+
/** The OIDC tokens the plan job requests (#4931), `{ <variable>: <audience> }`: the login's and the product's own. */
|
|
305
|
+
idTokens?: Record<string, string>;
|
|
306
|
+
/** The pending status posted before the checkout (#4899), on GitHub and Forgejo. */
|
|
307
|
+
pending?: {
|
|
308
|
+
context: string;
|
|
309
|
+
description: string;
|
|
310
|
+
};
|
|
311
|
+
/** The control repo read after the checkout (#4899). */
|
|
312
|
+
control?: ControlNoteCheckout;
|
|
313
|
+
/** The steps before the setup lines (#4899). */
|
|
314
|
+
setup?: ProductPlanSetupStep[];
|
|
315
|
+
/** The report line after the plan verb (#4899), `{target}` and `{output}` filled. */
|
|
316
|
+
report?: string;
|
|
317
|
+
/** The comment re-plan's jobs for this target (#4899). */
|
|
318
|
+
replan?: ProductPlanReplanJob;
|
|
319
|
+
/** The note job's own lines (#4931). */
|
|
320
|
+
noteSteps?: {
|
|
321
|
+
before: string[];
|
|
322
|
+
after: string[];
|
|
323
|
+
};
|
|
324
|
+
/** With `record` (#4899): the plan step writes the run record, `env` its op, environment and labels as {@link PLAN_RUN_RECORD_ENV}; the note job's command records it. */
|
|
325
|
+
record?: {
|
|
326
|
+
env: Record<string, string>;
|
|
120
327
|
};
|
|
121
328
|
}
|
|
122
329
|
/**
|
|
@@ -128,8 +335,60 @@ export interface ProductPlanJob {
|
|
|
128
335
|
export declare function productPlanJobs(forge: ForgeKind, env: string, loop: PrLoopPipelineOptions & {
|
|
129
336
|
plan: ProductPlanOptions;
|
|
130
337
|
}, words: CiProductWords, evidence?: PipelineEvidence): ProductPlanJob[];
|
|
338
|
+
/** The comment re-plan's job and its note job (#4899). */
|
|
339
|
+
export declare const REPLAN_JOB = "replan";
|
|
340
|
+
export declare const REPLAN_NOTE_JOB = "replan-note";
|
|
341
|
+
/**
|
|
342
|
+
* The GitLab variables the note-commands job starts a re-plan's pipeline
|
|
343
|
+
* with (#4899): the comment preview's (`CHANT_PREVIEW_PR`,
|
|
344
|
+
* `CHANT_PREVIEW_COMMENT`), so `pr-notes --preview-comment` starts it.
|
|
345
|
+
*/
|
|
346
|
+
export declare const GITLAB_REPLAN_PR_VAR = "CHANT_PREVIEW_PR";
|
|
347
|
+
export declare const GITLAB_REPLAN_COMMENT_VAR = "CHANT_PREVIEW_COMMENT";
|
|
348
|
+
/**
|
|
349
|
+
* The GitLab rule condition that the re-plan pipeline's comment asks for
|
|
350
|
+
* `target` (#4899): the command alone, or with the target's name. Without
|
|
351
|
+
* a target, the command with at most one word after it.
|
|
352
|
+
*/
|
|
353
|
+
export declare function gitlabReplanCommentIf(replan: Pick<ProductPlanReplanJob, "comments" | "gated">, target?: string): string;
|
|
354
|
+
/**
|
|
355
|
+
* The re-plan job's first step on GitHub and Forgejo (#4899), with the job's
|
|
356
|
+
* token in its environment alone, before anything is checked out: it reads
|
|
357
|
+
* the comment from the event file (never as an expression in a script),
|
|
358
|
+
* decides whether it asks this job to plan, asks the forge for the pull
|
|
359
|
+
* request (open; from this repository with `forks: "skip"`) and, with
|
|
360
|
+
* `CHANT_REPLAN_PERMISSION` set (Forgejo, whose payload says nothing of the
|
|
361
|
+
* commenter), whether the commenter can write. It writes `go=1`, `pr`,
|
|
362
|
+
* `head`, `base` and `argument` to the step's outputs.
|
|
363
|
+
*/
|
|
364
|
+
export declare const REPLAN_DECIDE_JS: string;
|
|
365
|
+
/**
|
|
366
|
+
* The pending step's script on GitHub and Forgejo (#4899): `node -e`, from
|
|
367
|
+
* `/`, posting the plan status pending at `CHANT_PENDING_SHA` with the token
|
|
368
|
+
* in `CHANT_PENDING_TOKEN`. A forge that refuses it is a warning: the note
|
|
369
|
+
* job sets the status the plan ends with.
|
|
370
|
+
*/
|
|
371
|
+
export declare const PENDING_JS: string;
|
|
372
|
+
/**
|
|
373
|
+
* The plan step's lines for the plan verb (#4899): the verb, then the
|
|
374
|
+
* report line whatever the verb's exit, then the step exits with the verb's
|
|
375
|
+
* status. Without a report line, the verb alone.
|
|
376
|
+
*/
|
|
377
|
+
export declare function planVerbLines(p: Pick<ProductPlanJob, "command" | "report" | "record">): string[];
|
|
378
|
+
/**
|
|
379
|
+
* The plan step's record line (#4899): `node -e`, writing the run record of
|
|
380
|
+
* the plan verb into the directory it is given, {@link PLAN_RUN_RECORD_FILE}.
|
|
381
|
+
* It reads the op, environment and labels from {@link PLAN_RUN_RECORD_ENV},
|
|
382
|
+
* the verb's exit from `CHANT_PLAN_EXIT`, its start from
|
|
383
|
+
* `CHANT_PLAN_STARTED`, and the commit from git. The shape is an
|
|
384
|
+
* `OpRunRecordInput` (../op/runtime.ts) with no run origin, which the note
|
|
385
|
+
* job names.
|
|
386
|
+
*/
|
|
387
|
+
export declare const PLAN_RECORD_JS: string;
|
|
131
388
|
/** The evidence step of one plan job (#4870), as {@link ProductPlanJob.evidence}. */
|
|
132
|
-
export declare function planEvidenceOf(forge: ForgeKind, evidence: PipelineEvidence, words: CiProductWords, planJob: string
|
|
389
|
+
export declare function planEvidenceOf(forge: ForgeKind, evidence: PipelineEvidence, words: CiProductWords, planJob: string, opts?: {
|
|
390
|
+
noForks?: boolean;
|
|
391
|
+
}): NonNullable<ProductPlanJob["evidence"]>;
|
|
133
392
|
/** The GitHub and Forgejo condition that a pull request is from this repository, not a fork (#4799). */
|
|
134
393
|
export declare const SAME_REPOSITORY_IF = "github.event.pull_request.head.repo.full_name == github.repository";
|
|
135
394
|
/** The GitLab rule condition that a merge request's source project is the project itself (#4799). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-plan.d.ts","sourceRoot":"","sources":["../../src/components/product-plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,
|
|
1
|
+
{"version":3,"file":"product-plan.d.ts","sourceRoot":"","sources":["../../src/components/product-plan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAA0I,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACpM,OAAO,EAAyG,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAElK,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAuB,KAAK,mBAAmB,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAExG,OAAO,EAA2C,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGtG,yIAAyI;AACzI,eAAO,MAAM,sBAAsB,0BAA0B,CAAC;AAE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