@intentius/chant 0.124.31 → 0.124.32
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/bin/chant +7 -2
- package/dist/cli/commands/check-lexicon-plugin.d.ts +7 -4
- package/dist/cli/commands/check-lexicon-plugin.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon-plugin.js +10 -7
- package/dist/cli/commands/check-lexicon.d.ts.map +1 -1
- package/dist/cli/commands/check-lexicon.js +18 -12
- package/dist/cli/commands/import.d.ts +10 -0
- package/dist/cli/commands/import.d.ts.map +1 -1
- package/dist/cli/commands/import.js +37 -0
- package/dist/cli/commands/init-lexicon/templates/project.d.ts.map +1 -1
- package/dist/cli/commands/init-lexicon/templates/project.js +4 -3
- package/dist/cli/commands/onboard.d.ts.map +1 -1
- package/dist/cli/commands/onboard.js +8 -4
- package/dist/cli/commands/update.d.ts.map +1 -1
- package/dist/cli/commands/update.js +2 -1
- package/dist/cli/dependencies.d.ts +18 -0
- package/dist/cli/dependencies.d.ts.map +1 -0
- package/dist/cli/dependencies.js +120 -0
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/build.js +23 -4
- package/dist/cli/handlers/fan-out.d.ts.map +1 -1
- package/dist/cli/handlers/fan-out.js +12 -4
- package/dist/cli/handlers/graph.d.ts.map +1 -1
- package/dist/cli/handlers/graph.js +16 -6
- package/dist/cli/handlers/lint.d.ts.map +1 -1
- package/dist/cli/handlers/lint.js +6 -0
- package/dist/cli/handlers/operator.d.ts +2 -2
- package/dist/cli/handlers/operator.js +3 -3
- package/dist/cli/handlers/pr.d.ts +14 -0
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +488 -32
- package/dist/cli/handlers/promote.d.ts.map +1 -1
- package/dist/cli/handlers/promote.js +3 -1
- package/dist/cli/handlers/run.d.ts +13 -1
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/handlers/run.js +38 -15
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +44 -16
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +15 -0
- package/dist/cli/registry.d.ts +13 -4
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/cli/registry.js +6 -2
- package/dist/codegen/generate-post-synth-barrel.js +2 -2
- package/dist/codegen/lexicon-regen.d.ts +4 -0
- package/dist/codegen/lexicon-regen.d.ts.map +1 -1
- package/dist/codegen/lexicon-regen.js +1 -1
- package/dist/codegen/pinned-upgrade.js +2 -2
- package/dist/components/capability.d.ts +44 -3
- package/dist/components/capability.d.ts.map +1 -1
- package/dist/components/capability.js +21 -0
- package/dist/components/changed-files.d.ts +7 -1
- package/dist/components/changed-files.d.ts.map +1 -1
- package/dist/components/changed-files.js +9 -1
- package/dist/components/driver.d.ts +38 -0
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/driver.js +47 -6
- package/dist/components/fan-out-record.d.ts +6 -1
- package/dist/components/fan-out-record.d.ts.map +1 -1
- package/dist/components/fan-out-record.js +24 -0
- package/dist/components/fan-out-run.d.ts +20 -0
- package/dist/components/fan-out-run.d.ts.map +1 -1
- package/dist/components/fan-out-run.js +21 -1
- package/dist/components/pr-pipeline.d.ts +65 -2
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +107 -15
- package/dist/components/pr-run.d.ts +127 -29
- package/dist/components/pr-run.d.ts.map +1 -1
- package/dist/components/pr-run.js +290 -70
- package/dist/components/wave-plan.d.ts +5 -2
- package/dist/components/wave-plan.d.ts.map +1 -1
- package/dist/components/wave-plan.js +12 -1
- package/dist/discovery/fold-import.d.ts.map +1 -1
- package/dist/discovery/fold-import.js +16 -6
- package/dist/discovery/sandbox/bundle.d.ts.map +1 -1
- package/dist/discovery/sandbox/bundle.js +6 -0
- package/dist/discovery/specifier-resolve.d.ts.map +1 -1
- package/dist/discovery/specifier-resolve.js +8 -2
- package/dist/fold/fold.d.ts.map +1 -1
- package/dist/fold/fold.js +68 -1
- package/dist/fold/subset.d.ts +37 -0
- package/dist/fold/subset.d.ts.map +1 -1
- package/dist/fold/subset.js +88 -0
- package/dist/lexicon-module.d.ts +10 -0
- package/dist/lexicon-module.d.ts.map +1 -1
- package/dist/lexicon-module.js +53 -8
- package/dist/lexicon-plugin-helpers.d.ts.map +1 -1
- package/dist/lexicon-plugin-helpers.js +6 -4
- package/dist/lexicon.d.ts +2 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/affected.d.ts.map +1 -1
- package/dist/lifecycle/affected.js +7 -1
- package/dist/lifecycle/release-ledger.d.ts +21 -0
- package/dist/lifecycle/release-ledger.d.ts.map +1 -1
- package/dist/lifecycle/release-ledger.js +24 -0
- package/dist/lifecycle/work-dir.d.ts +45 -0
- package/dist/lifecycle/work-dir.d.ts.map +1 -0
- package/dist/lifecycle/work-dir.js +78 -0
- package/dist/lint/discover.d.ts +17 -9
- package/dist/lint/discover.d.ts.map +1 -1
- package/dist/lint/discover.js +62 -54
- package/dist/module-source.d.ts +57 -0
- package/dist/module-source.d.ts.map +1 -0
- package/dist/module-source.js +104 -0
- package/dist/op/activities/factory.js +1 -1
- package/dist/op/discover.d.ts.map +1 -1
- package/dist/op/discover.js +13 -3
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/gate.js +3 -0
- package/dist/op/op-waves-run.d.ts.map +1 -1
- package/dist/op/op-waves-run.js +20 -5
- package/dist/op/operator.d.ts +2 -2
- package/dist/op/operator.js +2 -2
- package/dist/op/steward.d.ts +6 -4
- package/dist/op/steward.d.ts.map +1 -1
- package/dist/op/steward.js +5 -3
- package/dist/op/work-lease-run.d.ts +20 -7
- package/dist/op/work-lease-run.d.ts.map +1 -1
- package/dist/op/work-lease-run.js +56 -12
- package/dist/pr-forge.d.ts +10 -0
- package/dist/pr-forge.d.ts.map +1 -1
- package/dist/pr-forge.js +39 -0
- package/dist/pr-loop.d.ts +141 -4
- package/dist/pr-loop.d.ts.map +1 -1
- package/dist/pr-loop.js +122 -6
- package/dist/pr-report-url.d.ts +2 -2
- package/dist/pr-report-url.d.ts.map +1 -1
- package/dist/pr-report-url.js +5 -5
- package/dist/ts-loader.d.ts +38 -4
- package/dist/ts-loader.d.ts.map +1 -1
- package/dist/ts-loader.js +190 -16
- package/dist/wave-runtime.mjs +208 -208
- package/dist/workspace/chant-migrations/fountain-retired-kinds.d.ts +34 -0
- package/dist/workspace/chant-migrations/fountain-retired-kinds.d.ts.map +1 -0
- package/dist/workspace/chant-migrations/fountain-retired-kinds.js +176 -0
- package/dist/workspace/chant-migrations.d.ts.map +1 -1
- package/dist/workspace/chant-migrations.js +2 -0
- package/dist/workspace/checks/boxes.d.ts +6 -6
- package/dist/workspace/checks/boxes.js +9 -9
- package/dist/workspace/ci-green-forge.d.ts +6 -4
- package/dist/workspace/ci-green-forge.d.ts.map +1 -1
- package/dist/workspace/ci-green.d.ts +28 -12
- package/dist/workspace/ci-green.d.ts.map +1 -1
- package/dist/workspace/ci-green.js +49 -21
- package/dist/workspace/ci-list.schema.json +12 -6
- package/dist/workspace/ci-report-url.d.ts +18 -0
- package/dist/workspace/ci-report-url.d.ts.map +1 -0
- package/dist/workspace/ci-report-url.js +33 -0
- package/dist/workspace/ci-run-index.d.ts +12 -0
- package/dist/workspace/ci-run-index.d.ts.map +1 -1
- package/dist/workspace/ci-run-index.js +6 -4
- package/dist/workspace/ci-run-index.schema.json +5 -3
- package/dist/workspace/ci-run.d.ts +75 -2
- package/dist/workspace/ci-run.d.ts.map +1 -1
- package/dist/workspace/ci-run.js +195 -53
- package/dist/workspace/ci-runner-key.d.ts +16 -3
- package/dist/workspace/ci-runner-key.d.ts.map +1 -1
- package/dist/workspace/ci-runner-key.js +30 -10
- package/dist/workspace/ci-serve.d.ts +54 -4
- package/dist/workspace/ci-serve.d.ts.map +1 -1
- package/dist/workspace/ci-serve.js +175 -26
- package/dist/workspace/declaration.d.ts +8 -0
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.js +11 -2
- package/dist/workspace/declaration.schema.json +7 -2
- package/dist/workspace/export.d.ts +1 -1
- package/dist/workspace/export.d.ts.map +1 -1
- package/dist/workspace/export.js +7 -3
- package/dist/workspace/ls.d.ts +6 -1
- package/dist/workspace/ls.d.ts.map +1 -1
- package/dist/workspace/ls.js +1 -0
- package/dist/workspace/ls.schema.json +7 -1
- package/dist/workspace/pin-integrity.d.ts.map +1 -1
- package/dist/workspace/pin-integrity.js +3 -2
- package/dist/workspace/pr-report.schema.json +74 -7
- package/dist/workspace/reason-codes.d.ts +1 -1
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/reason-codes.js +2 -2
- package/dist/workspace/run-event.schema.json +3 -1
- package/dist/workspace/status.schema.json +3 -1
- package/dist/workspace/write-scope.d.ts +9 -0
- package/dist/workspace/write-scope.d.ts.map +1 -1
- package/dist/workspace/write-scope.js +11 -1
- package/package.json +1 -1
- package/src/__fixtures__/pr-loop/pr-apply-wave-waiting.note.golden.md +48 -0
- package/src/cli/commands/__fixtures__/init-lexicon-output/package.json +3 -3
- package/src/cli/commands/audit.test.ts +2 -2
- package/src/cli/commands/check-lexicon-plugin.test.ts +9 -0
- package/src/cli/commands/check-lexicon-plugin.ts +11 -8
- package/src/cli/commands/check-lexicon.test.ts +1 -1
- package/src/cli/commands/check-lexicon.ts +16 -11
- package/src/cli/commands/import.ts +40 -0
- package/src/cli/commands/init-lexicon/templates/project.ts +4 -3
- package/src/cli/commands/init-lexicon.test.ts +8 -5
- package/src/cli/commands/onboard.test.ts +45 -0
- package/src/cli/commands/onboard.ts +8 -4
- package/src/cli/commands/update.test.ts +6 -0
- package/src/cli/commands/update.ts +4 -1
- package/src/cli/compiled-cli.e2e.test.ts +76 -11
- package/src/cli/dependencies.e2e.test.ts +101 -0
- package/src/cli/dependencies.test.ts +93 -0
- package/src/cli/dependencies.ts +122 -0
- package/src/cli/handlers/build.test.ts +69 -0
- package/src/cli/handlers/build.ts +20 -4
- package/src/cli/handlers/fan-out.test.ts +73 -0
- package/src/cli/handlers/fan-out.ts +11 -4
- package/src/cli/handlers/graph.test.ts +76 -0
- package/src/cli/handlers/graph.ts +19 -12
- package/src/cli/handlers/lint.test.ts +42 -0
- package/src/cli/handlers/lint.ts +6 -0
- package/src/cli/handlers/operator.ts +3 -3
- package/src/cli/handlers/pr-waves.test.ts +449 -0
- package/src/cli/handlers/pr.test.ts +134 -0
- package/src/cli/handlers/pr.ts +523 -31
- package/src/cli/handlers/promote.test.ts +26 -1
- package/src/cli/handlers/promote.ts +3 -2
- package/src/cli/handlers/run-components-exit.test.ts +99 -0
- package/src/cli/handlers/run-signer.test.ts +79 -0
- package/src/cli/handlers/run.ts +34 -16
- package/src/cli/main.test.ts +18 -0
- package/src/cli/main.ts +43 -16
- package/src/cli/parse-args.ts +12 -0
- package/src/cli/registry.ts +19 -6
- package/src/codegen/generate-post-synth-barrel.ts +2 -2
- package/src/codegen/lexicon-regen.ts +1 -1
- package/src/codegen/pinned-upgrade.ts +2 -2
- package/src/codegen/post-synth-barrel-guards.test.ts +6 -11
- package/src/components/capability.ts +51 -3
- package/src/components/changed-files.test.ts +16 -1
- package/src/components/changed-files.ts +9 -1
- package/src/components/driver.test.ts +36 -1
- package/src/components/driver.ts +76 -4
- package/src/components/fan-out-record.ts +29 -1
- package/src/components/fan-out-run.test.ts +35 -0
- package/src/components/fan-out-run.ts +40 -1
- package/src/components/pr-pipeline.test.ts +100 -0
- package/src/components/pr-pipeline.ts +132 -17
- package/src/components/pr-run.test.ts +323 -18
- package/src/components/pr-run.ts +354 -75
- package/src/components/wave-plan.ts +16 -4
- package/src/discovery/fold-host-method.test.ts +87 -0
- package/src/discovery/fold-import.ts +15 -5
- package/src/discovery/fold-package-composite.test.ts +27 -0
- package/src/discovery/fold-specifiers.test.ts +8 -0
- package/src/discovery/sandbox/bundle.ts +6 -0
- package/src/discovery/specifier-resolve.ts +8 -2
- package/src/fold/fold.test.ts +72 -0
- package/src/fold/fold.ts +71 -0
- package/src/fold/subset.test.ts +31 -0
- package/src/fold/subset.ts +99 -0
- package/src/lexicon-dist.e2e.test.ts +254 -0
- package/src/lexicon-module.test.ts +47 -0
- package/src/lexicon-module.ts +49 -7
- package/src/lexicon-plugin-helpers.ts +6 -4
- package/src/lexicon.ts +2 -0
- package/src/lifecycle/affected.test.ts +7 -0
- package/src/lifecycle/affected.ts +6 -1
- package/src/lifecycle/release-ledger.ts +34 -0
- package/src/lifecycle/work-dir.test.ts +77 -0
- package/src/lifecycle/work-dir.ts +82 -0
- package/src/lint/discover.test.ts +46 -2
- package/src/lint/discover.ts +55 -49
- package/src/module-source.test.ts +85 -0
- package/src/module-source.ts +112 -0
- package/src/op/activities/factory.ts +1 -1
- package/src/op/discover-root.test.ts +31 -2
- package/src/op/discover.ts +14 -4
- package/src/op/gate.test.ts +30 -0
- package/src/op/gate.ts +3 -0
- package/src/op/op-waves-run.ts +20 -5
- package/src/op/op-waves.test.ts +49 -0
- package/src/op/operator.ts +2 -2
- package/src/op/steward.ts +6 -4
- package/src/op/work-lease-run.test.ts +88 -2
- package/src/op/work-lease-run.ts +52 -12
- package/src/pr-forge-bundle.test.ts +2 -2
- package/src/pr-forge.test.ts +42 -0
- package/src/pr-forge.ts +40 -0
- package/src/pr-loop-bundle.test.ts +2 -1
- package/src/pr-loop.test.ts +117 -1
- package/src/pr-loop.ts +252 -10
- package/src/pr-report-url.ts +5 -5
- package/src/terraform/__fixtures__/advise.test.ts +21 -2
- package/src/ts-loader.test.ts +89 -1
- package/src/ts-loader.ts +180 -13
- package/src/workspace/changes.test.ts +1 -1
- package/src/workspace/chant-migrations/fountain-retired-kinds.test.ts +33 -0
- package/src/workspace/chant-migrations/fountain-retired-kinds.ts +190 -0
- package/src/workspace/chant-migrations.e2e.test.ts +5 -0
- package/src/workspace/chant-migrations.ts +2 -0
- package/src/workspace/checks/boxes.ts +9 -9
- package/src/workspace/ci-green-forge.ts +6 -4
- package/src/workspace/ci-green-runs.test.ts +53 -11
- package/src/workspace/ci-green.test.ts +1 -1
- package/src/workspace/ci-green.ts +50 -22
- package/src/workspace/ci-list.schema.json +12 -6
- package/src/workspace/ci-report-url.test.ts +220 -0
- package/src/workspace/ci-report-url.ts +33 -0
- package/src/workspace/ci-run-index.schema.json +5 -3
- package/src/workspace/ci-run-index.test.ts +42 -3
- package/src/workspace/ci-run-index.ts +18 -4
- package/src/workspace/ci-run.test.ts +185 -7
- package/src/workspace/ci-run.ts +224 -54
- package/src/workspace/ci-runner-key.test.ts +55 -17
- package/src/workspace/ci-runner-key.ts +36 -11
- package/src/workspace/ci-serve.test.ts +150 -6
- package/src/workspace/ci-serve.ts +169 -25
- package/src/workspace/declaration.schema.json +7 -2
- package/src/workspace/declaration.test.ts +23 -0
- package/src/workspace/declaration.ts +19 -3
- package/src/workspace/export.ts +6 -3
- package/src/workspace/ls.schema.json +7 -1
- package/src/workspace/ls.ts +7 -2
- package/src/workspace/pin-integrity.test.ts +5 -0
- package/src/workspace/pin-integrity.ts +3 -2
- package/src/workspace/pr-report.schema.json +74 -7
- package/src/workspace/reason-codes.ts +2 -2
- package/src/workspace/run-event.schema.json +3 -1
- package/src/workspace/status.schema.json +3 -1
- package/src/workspace/write-scope.test.ts +29 -1
- package/src/workspace/write-scope.ts +12 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-serve.d.ts","sourceRoot":"","sources":["../../src/workspace/ci-serve.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"ci-serve.d.ts","sourceRoot":"","sources":["../../src/workspace/ci-serve.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AAMH,OAAO,EAAgB,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAKtD,OAAO,EAA0F,KAAK,SAAS,EAAE,KA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|
@@ -23,8 +23,26 @@
|
|
|
23
23
|
* as its `--resume` record, so a re-run of a failed apply at the same
|
|
24
24
|
* commit finishes under the approval it has. This replaces the forge's CI
|
|
25
25
|
* cache.
|
|
26
|
+
* - A gate per wave (#4003). With `--wave-gate` the apply job runs
|
|
27
|
+
* `pr-apply --wave-gate`, which applies the waves in order and stops at
|
|
28
|
+
* the first whose moved plan waits on its own gate. The job fails, and the
|
|
29
|
+
* resume record keeps the waves that applied; once the wave's plan is
|
|
30
|
+
* approved, `rerunFailed` runs the apply again and it carries on from
|
|
31
|
+
* that wave.
|
|
26
32
|
* - Capacity. At most `maxJobs` jobs run at once. A job over the limit is not
|
|
27
33
|
* recorded, so a later poll starts it.
|
|
34
|
+
* - Fast-forwards only (#4122). An apply runs only when the target's new head
|
|
35
|
+
* descends from the head seen before it. Any other move, such as a force
|
|
36
|
+
* push back to an older commit, is recorded as seen and not applied.
|
|
37
|
+
* - `[skip ci]` (#4122). A target head or pull request head whose commit
|
|
38
|
+
* message says `[skip ci]` or `[ci skip]` is recorded as seen and not run,
|
|
39
|
+
* as Actions does.
|
|
40
|
+
* - The forge's ledger (#4121). Before each job, when no other job of this
|
|
41
|
+
* serve runs, the clone's `chant/lifecycle` follows the forge's: it is
|
|
42
|
+
* deleted when the forge has none, and reset to the forge's when neither
|
|
43
|
+
* contains the other. Each is a warning. A local branch ahead of the
|
|
44
|
+
* forge's keeps its facts, and the job's push sends them. Nothing here
|
|
45
|
+
* pushes the ledger.
|
|
28
46
|
*
|
|
29
47
|
* Host mode only: each job runs in a fresh worktree on this host as this
|
|
30
48
|
* user, with the clean environment `ciRun` gives it. A pull request from a
|
|
@@ -35,7 +53,7 @@
|
|
|
35
53
|
* {@link ciServeObserve} is the poll that makes them; a webhook handler would
|
|
36
54
|
* turn a checked payload into the same triggers and schedule them.
|
|
37
55
|
*/
|
|
38
|
-
import { execFileSync } from "node:child_process";
|
|
56
|
+
import { execFileSync, spawnSync } from "node:child_process";
|
|
39
57
|
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
40
58
|
import { join, resolve } from "node:path";
|
|
41
59
|
import { prApplyGroup, prApplyRecordKey } from "../components/pr-pipeline.js";
|
|
@@ -43,8 +61,9 @@ import { forgeFromEnv } from "../pr-forge.js";
|
|
|
43
61
|
import { formatError, formatWarning } from "../cli/format.js";
|
|
44
62
|
import { acquireLease, currentHolderId, releaseLease, DEFAULT_LEASE_TTL_MS } from "../lifecycle/lease.js";
|
|
45
63
|
import { parseDuration } from "../op/duration.js";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
64
|
+
import { reportUrlOf } from "./ci-report-url.js";
|
|
65
|
+
import { CI_JOB_OPS, ciJobPlace, ciLoopOptions, ciSecretsOf, ciRun, ciStatusFromEnv, CiRunError } from "./ci-run.js";
|
|
66
|
+
import { RUNNER_KEY_ENV, signedRunsRequired } from "./ci-green.js";
|
|
48
67
|
import { gitTop } from "./tree.js";
|
|
49
68
|
import { ciServeRunnerKey, formatRunnerKeySetup, setupRunnerKey } from "./ci-runner-key.js";
|
|
50
69
|
export const newCiServeRuntime = () => ({ inflight: new Map() });
|
|
@@ -61,6 +80,79 @@ function tryGit(cwd, args) {
|
|
|
61
80
|
return undefined;
|
|
62
81
|
}
|
|
63
82
|
}
|
|
83
|
+
const LEDGER = "chant/lifecycle";
|
|
84
|
+
/** Where the forge's ledger tip is fetched to, a ref only this module writes. */
|
|
85
|
+
const FORGE_LEDGER = "refs/chant/ci-serve/forge-ledger";
|
|
86
|
+
/** `git` with its exit status, for the calls whose answer is the status. */
|
|
87
|
+
function gitStatus(cwd, args) {
|
|
88
|
+
const r = spawnSync("git", args, { cwd, encoding: "utf-8", stdio: ["ignore", "pipe", "pipe"], env: { ...process.env, LC_ALL: "C" } });
|
|
89
|
+
return { code: r.status ?? -1, out: (r.stdout ?? "").trim() };
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Make the clone's `chant/lifecycle` follow the forge's (#4121). The clone's
|
|
93
|
+
* branch outlives the forge's, so a ledger the forge deleted or rewrote would
|
|
94
|
+
* make the next pr-apply find the two diverged and stall.
|
|
95
|
+
*
|
|
96
|
+
* - The forge has none: the local branch and its remote-tracking ref go.
|
|
97
|
+
* - Neither contains the other: the local branch and its remote-tracking ref
|
|
98
|
+
* are reset to the forge's tip.
|
|
99
|
+
* - The local branch is ahead of the forge's, or behind it, or the same: it
|
|
100
|
+
* is left, and an apply's push sends what it holds that the forge lacks.
|
|
101
|
+
*
|
|
102
|
+
* Nothing is pushed, so a rewritten ledger never goes back to the forge. A
|
|
103
|
+
* forge that can't be reached leaves everything as it is; the job's own
|
|
104
|
+
* fetch says why.
|
|
105
|
+
*/
|
|
106
|
+
export function reconcileCiServeLedger(top) {
|
|
107
|
+
const local = tryGit(top, ["rev-parse", "--verify", "--quiet", `refs/heads/${LEDGER}^{commit}`]);
|
|
108
|
+
const listed = gitStatus(top, ["ls-remote", "--exit-code", "origin", `refs/heads/${LEDGER}`]);
|
|
109
|
+
if (listed.code === 2) {
|
|
110
|
+
// A remote-tracking ref left from a deleted branch would be the next push's lease, and refuse it.
|
|
111
|
+
tryGit(top, ["update-ref", "-d", `refs/remotes/origin/${LEDGER}`]);
|
|
112
|
+
if (!local)
|
|
113
|
+
return undefined;
|
|
114
|
+
tryGit(top, ["update-ref", "-d", `refs/heads/${LEDGER}`, local]);
|
|
115
|
+
return { type: "ledger", action: "deleted", local };
|
|
116
|
+
}
|
|
117
|
+
if (listed.code !== 0 || !local)
|
|
118
|
+
return undefined;
|
|
119
|
+
const forge = listed.out.split(/\s+/)[0];
|
|
120
|
+
if (!forge || forge === local)
|
|
121
|
+
return undefined;
|
|
122
|
+
if (gitStatus(top, ["fetch", "--quiet", "--no-tags", "origin", `+refs/heads/${LEDGER}:${FORGE_LEDGER}`]).code !== 0)
|
|
123
|
+
return undefined;
|
|
124
|
+
try {
|
|
125
|
+
const ahead = gitStatus(top, ["merge-base", "--is-ancestor", forge, local]).code === 0;
|
|
126
|
+
const behind = gitStatus(top, ["merge-base", "--is-ancestor", local, forge]).code === 0;
|
|
127
|
+
if (ahead || behind)
|
|
128
|
+
return undefined;
|
|
129
|
+
tryGit(top, ["update-ref", `refs/heads/${LEDGER}`, forge, local]);
|
|
130
|
+
tryGit(top, ["update-ref", `refs/remotes/origin/${LEDGER}`, forge]);
|
|
131
|
+
return { type: "ledger", action: "reset", local, forge };
|
|
132
|
+
}
|
|
133
|
+
finally {
|
|
134
|
+
tryGit(top, ["update-ref", "-d", FORGE_LEDGER]);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
/** A commit message that asks for no CI run, as Actions and GitLab read it. */
|
|
138
|
+
const SKIP_CI = /\[(?:skip ci|ci skip)\]/i;
|
|
139
|
+
/** Whether `commit`'s message asks for no CI run. A commit this clone can't read is not skipped. */
|
|
140
|
+
function skipsCi(top, commit) {
|
|
141
|
+
const body = tryGit(top, ["log", "-1", "--format=%B", commit]);
|
|
142
|
+
return body !== undefined && SKIP_CI.test(body);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* How the target branch moved from `from` to `head` (#4122): `fast-forward`
|
|
146
|
+
* when `head` descends from `from`, `other` when it does not, and `unknown`
|
|
147
|
+
* when `head` could not be fetched. Once `head` is here its history is too,
|
|
148
|
+
* so a `from` this clone lacks is not in that history.
|
|
149
|
+
*/
|
|
150
|
+
function targetMove(top, branch, from, head) {
|
|
151
|
+
tryGit(top, ["fetch", "--quiet", "--no-tags", "origin", branch]);
|
|
152
|
+
if (gitStatus(top, ["cat-file", "-e", `${head}^{commit}`]).code !== 0)
|
|
153
|
+
return "unknown";
|
|
154
|
+
return gitStatus(top, ["merge-base", "--is-ancestor", from, head]).code === 0 ? "fast-forward" : "other";
|
|
155
|
+
}
|
|
64
156
|
/** Where a serve keeps its state when `--state` names nowhere: beside the run events, in the repository's common git directory. */
|
|
65
157
|
export function defaultCiServeStateDir(cwd) {
|
|
66
158
|
const common = tryGit(cwd, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
@@ -98,15 +190,23 @@ function writeState(file, state) {
|
|
|
98
190
|
const failedEntry = (entry, key, rt) => !!entry && (entry.status === "fail" || (entry.status === "running" && !rt.inflight.has(key)));
|
|
99
191
|
/**
|
|
100
192
|
* One poll of the forge, as triggers: an apply when the target's head moved
|
|
101
|
-
* since the last apply (none on the first poll, which only
|
|
193
|
+
* since the last apply by a fast-forward (none on the first poll, which only
|
|
194
|
+
* notes the head, and none for a head whose message says `[skip ci]`),
|
|
102
195
|
* then a plan for each open pull request head not yet planned, oldest pull
|
|
103
196
|
* request first. A job already in the state file is left out unless it
|
|
104
|
-
* failed and `rerunFailed` is set. The first poll's head
|
|
105
|
-
* state file.
|
|
197
|
+
* failed and `rerunFailed` is set. The first poll's head, and a head seen
|
|
198
|
+
* and not applied, are written to the state file.
|
|
106
199
|
*/
|
|
107
200
|
export async function ciServeObserve(opts, rt = newCiServeRuntime()) {
|
|
108
201
|
const place = servePlace(opts);
|
|
109
|
-
const
|
|
202
|
+
const fresh = { forge: opts.forge, repo: opts.repo, env: opts.env, branch: place.branch, ...(place.member ? { member: place.member } : {}) };
|
|
203
|
+
const state = readCiServeState(place.stateFile, fresh);
|
|
204
|
+
// Read again at the write: a job of this serve may have settled while the forge answered.
|
|
205
|
+
const update = (fn) => {
|
|
206
|
+
const s = readCiServeState(place.stateFile, fresh);
|
|
207
|
+
fn(s);
|
|
208
|
+
writeState(place.stateFile, s);
|
|
209
|
+
};
|
|
110
210
|
const triggers = [];
|
|
111
211
|
const events = [];
|
|
112
212
|
const [head, prs] = await Promise.all([opts.client.branchHead(place.branch), opts.client.openPullRequests(place.branch)]);
|
|
@@ -115,14 +215,27 @@ export async function ciServeObserve(opts, rt = newCiServeRuntime()) {
|
|
|
115
215
|
}
|
|
116
216
|
else if (state.target === undefined) {
|
|
117
217
|
// What the branch held before this runner watched it was applied by whatever ran then.
|
|
118
|
-
|
|
119
|
-
|
|
218
|
+
update((s) => {
|
|
219
|
+
s.target = head;
|
|
220
|
+
});
|
|
120
221
|
events.push({ type: "baseline", commit: head });
|
|
121
222
|
}
|
|
122
223
|
else if (head !== state.target) {
|
|
224
|
+
const from = state.target;
|
|
225
|
+
const move = targetMove(place.top, place.branch, from, head);
|
|
123
226
|
const entry = state.jobs[ciServeKey({ job: "apply", commit: head })];
|
|
124
|
-
if (
|
|
125
|
-
|
|
227
|
+
if (move === "unknown") {
|
|
228
|
+
events.push({ type: "error", message: `${place.branch} is at ${head.slice(0, 12)} on the forge, and that commit could not be fetched; the next poll tries again` });
|
|
229
|
+
}
|
|
230
|
+
else if (move === "other" || (!entry && skipsCi(place.top, head))) {
|
|
231
|
+
// #4122: a move that is not a fast-forward, or a head that asks for no run, is seen and not applied.
|
|
232
|
+
update((s) => {
|
|
233
|
+
s.target = head;
|
|
234
|
+
});
|
|
235
|
+
events.push({ type: "not-run", job: "apply", commit: head, reason: move === "other" ? "not-fast-forward" : "skip-ci", ...(move === "other" ? { branch: place.branch, from } : {}) });
|
|
236
|
+
}
|
|
237
|
+
else if (!entry)
|
|
238
|
+
triggers.push({ job: "apply", commit: head, base: from });
|
|
126
239
|
else if (opts.rerunFailed && failedEntry(entry, ciServeKey(entry), rt))
|
|
127
240
|
triggers.push({ job: "apply", commit: head, base: entry.base, rerun: true });
|
|
128
241
|
}
|
|
@@ -145,10 +258,21 @@ export async function ciServeObserve(opts, rt = newCiServeRuntime()) {
|
|
|
145
258
|
const key = ciServeKey({ job: "plan", commit: pr.headSha, pr: pr.number });
|
|
146
259
|
const entry = state.jobs[key];
|
|
147
260
|
const base = pr.baseSha ?? head;
|
|
148
|
-
if (!base)
|
|
261
|
+
if (!base || state.skipped?.[key])
|
|
149
262
|
continue;
|
|
150
|
-
if (!entry)
|
|
151
|
-
|
|
263
|
+
if (!entry) {
|
|
264
|
+
// #4122: a head whose message asks for no run is seen and not planned.
|
|
265
|
+
if (gitStatus(place.top, ["cat-file", "-e", `${pr.headSha}^{commit}`]).code !== 0)
|
|
266
|
+
tryGit(place.top, ["fetch", "--quiet", "--no-tags", "origin", `refs/pull/${pr.number}/head`]);
|
|
267
|
+
if (skipsCi(place.top, pr.headSha)) {
|
|
268
|
+
update((s) => {
|
|
269
|
+
s.skipped = { ...s.skipped, [key]: "skip-ci" };
|
|
270
|
+
});
|
|
271
|
+
events.push({ type: "not-run", job: "plan", commit: pr.headSha, pr: pr.number, reason: "skip-ci" });
|
|
272
|
+
}
|
|
273
|
+
else
|
|
274
|
+
triggers.push({ job: "plan", commit: pr.headSha, base, pr: pr.number });
|
|
275
|
+
}
|
|
152
276
|
else if (opts.rerunFailed && failedEntry(entry, key, rt))
|
|
153
277
|
triggers.push({ job: "plan", commit: pr.headSha, base: entry.base, pr: pr.number, rerun: true });
|
|
154
278
|
}
|
|
@@ -204,6 +328,12 @@ export async function ciServeSchedule(opts, triggers, rt = newCiServeRuntime())
|
|
|
204
328
|
}
|
|
205
329
|
lease = got.lease;
|
|
206
330
|
}
|
|
331
|
+
// #4121: with no other job of this serve writing it, the clone's ledger follows the forge's.
|
|
332
|
+
if (rt.inflight.size === 0) {
|
|
333
|
+
const ledger = reconcileCiServeLedger(place.top);
|
|
334
|
+
if (ledger)
|
|
335
|
+
emit(ledger);
|
|
336
|
+
}
|
|
207
337
|
const previous = readCiServeState(place.stateFile, fresh).jobs[key];
|
|
208
338
|
const attempt = (previous?.attempts ?? 0) + 1;
|
|
209
339
|
const runId = `chant-serve-${now().getTime()}-${t.job}-${t.commit.slice(0, 8)}`;
|
|
@@ -328,6 +458,14 @@ export function formatCiServeEvent(e) {
|
|
|
328
458
|
return `${at(e.job, e.commit, e.pr)} started, run ${e.runId}, attempt ${e.attempt}${e.resume ? ", resuming" : ""}`;
|
|
329
459
|
case "settled":
|
|
330
460
|
return `${at(e.job, e.commit, e.pr)} ${e.status === "ok" ? "passed" : `failed${e.failure ? `: ${e.failure}` : ""}`}${e.report ? `; report ${e.report}` : ""}`;
|
|
461
|
+
case "not-run":
|
|
462
|
+
return e.reason === "skip-ci"
|
|
463
|
+
? `${at(e.job, e.commit, e.pr)} is not run: its commit message says [skip ci]`
|
|
464
|
+
: `${e.branch ?? "the target branch"} moved from ${e.from?.slice(0, 12) ?? "a commit"} to ${e.commit.slice(0, 12)}, which is not a fast-forward, so ${e.commit.slice(0, 12)} is recorded as seen and not applied`;
|
|
465
|
+
case "ledger":
|
|
466
|
+
return e.action === "deleted"
|
|
467
|
+
? `the forge has no ${LEDGER}, so this clone's, at ${e.local.slice(0, 12)}, was deleted`
|
|
468
|
+
: `the forge's ${LEDGER} at ${e.forge.slice(0, 12)} does not contain this clone's at ${e.local.slice(0, 12)}, so this clone's was reset to the forge's and not pushed`;
|
|
331
469
|
case "error":
|
|
332
470
|
return `error: ${e.message}`;
|
|
333
471
|
}
|
|
@@ -362,7 +500,7 @@ export function runnerKeySetupCommand(ctx) {
|
|
|
362
500
|
}
|
|
363
501
|
const USAGE = "chant ci serve --setup-key [--trust [--principal <name>]] [--state <dir>] [--branch <name>] | " +
|
|
364
502
|
"chant ci serve --forge forgejo|github --repo <owner/repo> --env <env> [--interval <s>] [--max-jobs <n>] [--state <dir>] " +
|
|
365
|
-
"[--author <login>]... [--once] [--rerun-failed] [--gate <name>] [--branch <name>] [--events-json] [--report-url <url>] [--no-status] [--status-url <url template>] " +
|
|
503
|
+
"[--author <login>]... [--once] [--rerun-failed] [--gate <name>] [--wave-gate <name>] [--branch <name>] [--events-json] [--report-url <url>] [--no-status] [--status-url <url template>] " +
|
|
366
504
|
"[--image <image>] [--before-script <line>]... [--pr-build] [--pr-build-command <line>] [--chant <command>] [--pass-env <NAME>]... [--secrets <file>] [--key <runner key.pem>] [--unsigned]";
|
|
367
505
|
const ENV_NAME = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
368
506
|
/** `--interval`: seconds, or a duration such as `30s` or `2m`. Default 30 seconds. */
|
|
@@ -398,12 +536,30 @@ export async function runCiServe(ctx) {
|
|
|
398
536
|
const stateDir = args.statePath ? resolve(args.statePath) : defaultCiServeStateDir(cwd);
|
|
399
537
|
const branch = args.branch ?? "main";
|
|
400
538
|
// #4099: the host's key, checked against .chant/trust.json at the target's head before the first poll.
|
|
401
|
-
|
|
539
|
+
// #4156: signing is opt-in. Without ci.green.signedSince no key is quiet, and an untrusted one warns once and serves unsigned.
|
|
540
|
+
const keyed = ciServeRunnerKey({
|
|
541
|
+
top,
|
|
542
|
+
stateDir,
|
|
543
|
+
branch,
|
|
544
|
+
...(args.key !== undefined ? { keyFile: resolve(args.key) } : {}),
|
|
545
|
+
envKey: process.env[RUNNER_KEY_ENV] || undefined,
|
|
546
|
+
unsigned: args.unsigned,
|
|
547
|
+
required: signedRunsRequired(cwd),
|
|
548
|
+
});
|
|
402
549
|
const fromFlag = keyed.fromFlag;
|
|
403
550
|
const runnerKey = keyed.pem;
|
|
404
|
-
|
|
551
|
+
if (keyed.warning)
|
|
552
|
+
console.error(formatWarning({ message: keyed.warning }));
|
|
553
|
+
if (runnerKey !== undefined)
|
|
554
|
+
console.error(`ci serve: signing runs with the runner key from ${keyed.source}`);
|
|
555
|
+
else if (keyed.note && args.verbose)
|
|
556
|
+
console.error(`ci serve: ${keyed.note}`);
|
|
405
557
|
// #4096: read once, so a loose or broken secrets file stops the serve before its first poll.
|
|
406
558
|
const secrets = ciSecretsOf(args.ciSecrets);
|
|
559
|
+
// #4160: without --report-url, the declaration's ci.reportUrl.
|
|
560
|
+
const reportUrl = await reportUrlOf(args.reportUrl, cwd);
|
|
561
|
+
if (reportUrl && !args.reportUrl)
|
|
562
|
+
console.error(`ci serve: reports and the run index go to ${reportUrl}, the declaration's ci.reportUrl`);
|
|
407
563
|
const hostEnv = { ...process.env, GITHUB_REPOSITORY: args.ciRepo };
|
|
408
564
|
const client = forgeFromEnv(forge, hostEnv);
|
|
409
565
|
const { status, warning } = ciStatusFromEnv({ forge, hostEnv, noStatus: args.noStatus, statusUrl: args.statusUrl });
|
|
@@ -422,14 +578,7 @@ export async function runCiServe(ctx) {
|
|
|
422
578
|
...(args.ciAuthors?.length ? { authors: args.ciAuthors } : {}),
|
|
423
579
|
...(args.rerunFailed ? { rerunFailed: true } : {}),
|
|
424
580
|
job: {
|
|
425
|
-
loop: {
|
|
426
|
-
...(args.gate ? { gate: args.gate } : {}),
|
|
427
|
-
...(args.branch ? { branch: args.branch } : {}),
|
|
428
|
-
...(args.eventsJson ? { events: true } : {}),
|
|
429
|
-
...(args.reportUrl ? { reportUrl: args.reportUrl } : {}),
|
|
430
|
-
...(args.prBuild ? { build: true } : {}),
|
|
431
|
-
...(args.prBuildCommand ? { buildCommand: args.prBuildCommand } : {}),
|
|
432
|
-
},
|
|
581
|
+
loop: ciLoopOptions(reportUrl ? { ...args, reportUrl } : args),
|
|
433
582
|
...(args.runIndexLimit ? { runIndexLimit: args.runIndexLimit } : {}),
|
|
434
583
|
...(args.image ? { image: args.image } : {}),
|
|
435
584
|
...(args.beforeScript?.length ? { beforeScript: args.beforeScript } : {}),
|
|
@@ -442,7 +591,7 @@ export async function runCiServe(ctx) {
|
|
|
442
591
|
hostEnv,
|
|
443
592
|
stepOutput: (line) => void process.stderr.write(`${line}\n`),
|
|
444
593
|
},
|
|
445
|
-
log: (e) => console.error(e.type === "error" ? formatWarning({ message: formatCiServeEvent(e) }) : `ci serve: ${formatCiServeEvent(e)}`),
|
|
594
|
+
log: (e) => console.error(e.type === "error" || e.type === "ledger" ? formatWarning({ message: formatCiServeEvent(e) }) : `ci serve: ${formatCiServeEvent(e)}`),
|
|
446
595
|
};
|
|
447
596
|
if (args.once) {
|
|
448
597
|
const pass = await ciServePass(opts);
|
|
@@ -171,6 +171,14 @@ export type CiSource = "checks" | "runs";
|
|
|
171
171
|
/** The declaration's `ci` block (#3573). */
|
|
172
172
|
export interface CiDeclaration {
|
|
173
173
|
green: CiGreen | null;
|
|
174
|
+
/**
|
|
175
|
+
* `ci.reportUrl` (#4160): where the pull-request jobs copy their reports
|
|
176
|
+
* and `chant ci run` keeps the run index, `<reportUrl>/runs/index.json`.
|
|
177
|
+
* An `s3://` or `file://` URL, as `--report-url` takes, without a trailing
|
|
178
|
+
* slash. The commands that take `--report-url` default to it. Null when
|
|
179
|
+
* the declaration sets none.
|
|
180
|
+
*/
|
|
181
|
+
reportUrl: string | null;
|
|
174
182
|
}
|
|
175
183
|
export interface MemberRole {
|
|
176
184
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../../src/workspace/declaration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGxF,OAAO,EAAE,aAAa,EAAqB,MAAM,SAAS,CAAC;AAC3D,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAItD,eAAO,MAAM,qBAAqB,QAAa,CAAC;AAChD,eAAO,MAAM,iBAAiB,YAAI,sBAAsB,EAAE,uBAAuB,CAAU,CAAC;AAC5F,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C,gFAAgF;AAChF,eAAO,MAAM,cAAc,YAAI,YAAY,EAAE,UAAU,CAAU,CAAC;AAClE,eAAO,MAAM,YAAY,QAA8B,CAAC;AAIxD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,uNAmBQ,CAAC;AAC3C,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAExE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,mEAAmE;IACnE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,kBAAmB,SAAQ,KAAK;IAEzC,QAAQ,CAAC,IAAI,EAAE,kBAAkB;IAEjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,aAAa;IAHnC,YACW,IAAI,EAAE,kBAAkB,EACjC,OAAO,EAAE,MAAM,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|
18
18
|
import { RETENTION_KINDS } from "../lifecycle/retention-policy.js";
|
|
19
|
+
import { parseReportUrl } from "../pr-report-url.js";
|
|
19
20
|
import schema from "./declaration.schema.json" with { type: "json" };
|
|
20
21
|
import { expandGlob } from "./glob.js";
|
|
21
22
|
import { EXAMPLES_KIND, holdsChantProject } from "./kinds.js";
|
|
@@ -500,8 +501,16 @@ function ciOf(raw, at) {
|
|
|
500
501
|
if (raw === undefined)
|
|
501
502
|
return null;
|
|
502
503
|
const block = raw;
|
|
504
|
+
let reportUrl = null;
|
|
505
|
+
if (block.reportUrl !== undefined) {
|
|
506
|
+
// #4160: refused here as pr-plan and ci run refuse the flag, so a reader never gets a URL no job can write to.
|
|
507
|
+
const target = parseReportUrl(block.reportUrl, "ci.reportUrl");
|
|
508
|
+
if ("error" in target)
|
|
509
|
+
throw new WorkspaceReadError("declaration-invalid", target.error, at("/ci/reportUrl"));
|
|
510
|
+
reportUrl = target.url;
|
|
511
|
+
}
|
|
503
512
|
if (block.green === undefined)
|
|
504
|
-
return { green: null };
|
|
513
|
+
return { green: null, reportUrl };
|
|
505
514
|
const g = block.green;
|
|
506
515
|
const phases = Object.entries(g.phases).map(([name, p]) => ({
|
|
507
516
|
name,
|
|
@@ -514,7 +523,7 @@ function ciOf(raw, at) {
|
|
|
514
523
|
continue;
|
|
515
524
|
throw new WorkspaceReadError("declaration-invalid", `ci.green.require names the phase ${JSON.stringify(name)}, which ci.green.phases does not declare; declared phases: ${phases.map((p) => p.name).join(", ")}`, at(`/ci/green/require/${i}`));
|
|
516
525
|
}
|
|
517
|
-
return { green: { branch: g.branch, window: g.window ?? DEFAULT_CI_WINDOW, phases, require: [...g.require], signedSince: g.signedSince ?? null, source: g.source ?? "checks", pointer: "/ci/green" } };
|
|
526
|
+
return { green: { branch: g.branch, window: g.window ?? DEFAULT_CI_WINDOW, phases, require: [...g.require], signedSince: g.signedSince ?? null, source: g.source ?? "checks", pointer: "/ci/green" }, reportUrl };
|
|
518
527
|
}
|
|
519
528
|
function agentsOf(raw, members, at) {
|
|
520
529
|
const agents = (raw ?? []).map((a, i) => {
|
|
@@ -177,6 +177,11 @@
|
|
|
177
177
|
"properties": {
|
|
178
178
|
"green": {
|
|
179
179
|
"$ref": "#/$defs/ciGreen"
|
|
180
|
+
},
|
|
181
|
+
"reportUrl": {
|
|
182
|
+
"type": "string",
|
|
183
|
+
"minLength": 1,
|
|
184
|
+
"description": "Where the pull-request jobs copy their reports and events, and where chant ci run keeps the run index, <reportUrl>/runs/index.json (#4160): an s3://<bucket>/<prefix> or file://<directory> URL, as --report-url takes. chant build --pr-loop, chant ci run, chant ci serve and chant ci runs use it when --report-url is not given, and the flag wins. Readers find it in chant workspace ls --json as ci.reportUrl. Added in schema 1 by chant 0.124.32, so a declaration that uses it sets minReader to 0.124.32 or newer."
|
|
180
185
|
}
|
|
181
186
|
}
|
|
182
187
|
},
|
|
@@ -581,7 +586,7 @@
|
|
|
581
586
|
},
|
|
582
587
|
"box": {
|
|
583
588
|
"type": "object",
|
|
584
|
-
"description": "The member is a box, or holds a box's declarations (#2726). A box holds no credential: each capability it needs outside itself is reached through a broker, a runtime such as a lobby or a door, which holds the credential and enforces the scope. chant workspace check fails when a file in the member's directory carries a literal secret (WSP121) and when a capability names no broker (WSP122). chant workspace status --json lists the capabilities, so a broker can read the scopes. Its host, slot, ports, state and cookies state the box's isolation (#2727): chant derives each value from the box's identity, its host, the member's name and its slot, and prints them in chant workspace status --json, so a runtime reads them instead of choosing its own. chant workspace check fails when two boxes on a host resolve to the same value (WSP123) and when a box hard-codes a machine path (WSP124). A member that builds the fountain lexicon's Box declares the callback token fountain gives its
|
|
589
|
+
"description": "The member is a box, or holds a box's declarations (#2726). A box holds no credential: each capability it needs outside itself is reached through a broker, a runtime such as a lobby or a door, which holds the credential and enforces the scope. chant workspace check fails when a file in the member's directory carries a literal secret (WSP121) and when a capability names no broker (WSP122). chant workspace status --json lists the capabilities, so a broker can read the scopes. Its host, slot, ports, state and cookies state the box's isolation (#2727): chant derives each value from the box's identity, its host, the member's name and its slot, and prints them in chant workspace status --json, so a runtime reads them instead of choosing its own. chant workspace check fails when two boxes on a host resolve to the same value (WSP123) and when a box hard-codes a machine path (WSP124). A member that builds the fountain lexicon's Box declares the callback token fountain gives its sandbox as the capability fountain-callback, brokered by fountain, with scope owner, or chant workspace check fails (WSP125, #2780). Its intent names the decision record that says what the box is for (#2850): chant workspace status --json reports the record's state and answer, and chant workspace check fails when no decision record has the id (WSP126) and warns when the record constrains no member or path of this workspace (WSP127, #2857). Its services list what the box runs under its supervisor (#2880), which the fly lexicon observes, restarts and applies through sprite-env, and which chant workspace status --json prints. Its factory declares what the box builds, how a build is checked, which member declares the builder agents and where a finished build is published (#3146, ws-077), its listing what the box shows of itself (#3146), and its replicate where the box's work in progress is pushed so a lost box loses none of it (#3172, ws-085). Added in schema 1 by chant 0.91.0, so a declaration that uses it sets minReader to 0.91.0 or newer.",
|
|
585
590
|
"properties": {
|
|
586
591
|
"intent": {
|
|
587
592
|
"type": "string",
|
|
@@ -1518,7 +1523,7 @@
|
|
|
1518
1523
|
"signedSince": {
|
|
1519
1524
|
"type": "string",
|
|
1520
1525
|
"pattern": "^[0-9a-f]{40}([0-9a-f]{24})?$",
|
|
1521
|
-
"description": "Added by #4031, read by chant 0.124.28 and newer. The full sha of the first commit on branch whose ci/green and ci/revoked tags must carry a DSSE statement in their annotation, signed by a key .chant/trust.json at base lists under runners for a principal holding the runner role. A tag on a strict first-parent ancestor of this commit counts unsigned, so existing tags keep working; a tag on any other commit, this one included, needs a statement. Position in history decides, never a date, which whoever makes a commit or a tag sets. A reader refuses a sha that names no commit in its clone with declaration-invalid. Absent, no tag needs a statement."
|
|
1526
|
+
"description": "Added by #4031, read by chant 0.124.28 and newer. The full sha of the first commit on branch whose ci/green and ci/revoked tags must carry a DSSE statement in their annotation, signed by a key .chant/trust.json at base lists under runners for a principal holding the runner role. A tag on a strict first-parent ancestor of this commit counts unsigned, so existing tags keep working; a tag on any other commit, this one included, needs a statement. Position in history decides, never a date, which whoever makes a commit or a tag sets. A reader refuses a sha that names no commit in its clone with declaration-invalid. Absent, no tag needs a statement. Since chant 0.124.32 (#4156) it covers Op run records the same way, when ci.green.source is runs: an unsigned run counts on a strict first-parent ancestor of this commit and needs a statement on any other, ci serve refuses to start without a runner key trusted at the target's head, and ci run and chant run warn about a run they leave unsigned. Absent, an unsigned run counts and nothing asks for a key."
|
|
1522
1527
|
},
|
|
1523
1528
|
"source": {
|
|
1524
1529
|
"enum": [
|
|
@@ -88,7 +88,7 @@ export declare function gitTopOf(dir: string): string | undefined;
|
|
|
88
88
|
/**
|
|
89
89
|
* The files under `dir` (absolute) that git tracks or would track, relative
|
|
90
90
|
* to `dir`, that exist in the working tree. Outside git, every file, leaving
|
|
91
|
-
* out `.git` and
|
|
91
|
+
* out `.git`, `node_modules` and `.chant/work`.
|
|
92
92
|
*/
|
|
93
93
|
export declare function listFiles(dir: string): string[];
|
|
94
94
|
/** A lock's path, relative to the workspace root, is a lock file: `.chant/workspace.lock.json` at some directory. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/workspace/export.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAMH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsC,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAElG,OAAO,EAAuB,SAAS,EAAyB,KAAK,OAAO,EAAoB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/workspace/export.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAMH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAsC,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,M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@@ -43,6 +43,7 @@ import { parseJsonText } from "./jsonc.js";
|
|
|
43
43
|
import { fileHash, LOCK_FILE, LockError, parseLock, renderLock } from "./lineage-lock.js";
|
|
44
44
|
import { loadRecordKind } from "./records.js";
|
|
45
45
|
import { workingTree } from "./tree.js";
|
|
46
|
+
import { isWorkDir } from "../lifecycle/work-dir.js";
|
|
46
47
|
/** The role that marks the member an export is written into. */
|
|
47
48
|
export const EXPORT_ROLE = "export";
|
|
48
49
|
/** The export manifest, relative to the export's root. */
|
|
@@ -134,7 +135,7 @@ export function gitTopOf(dir) {
|
|
|
134
135
|
/**
|
|
135
136
|
* The files under `dir` (absolute) that git tracks or would track, relative
|
|
136
137
|
* to `dir`, that exist in the working tree. Outside git, every file, leaving
|
|
137
|
-
* out `.git` and
|
|
138
|
+
* out `.git`, `node_modules` and `.chant/work`.
|
|
138
139
|
*/
|
|
139
140
|
export function listFiles(dir) {
|
|
140
141
|
if (!existsSync(dir))
|
|
@@ -162,8 +163,11 @@ export function listFiles(dir) {
|
|
|
162
163
|
if (d.name === ".git" || d.name === "node_modules")
|
|
163
164
|
continue;
|
|
164
165
|
const p = rel ? `${rel}/${d.name}` : d.name;
|
|
165
|
-
|
|
166
|
-
|
|
166
|
+
// `.chant/work` holds work worktrees, each a copy of the checkout (#2893).
|
|
167
|
+
if (d.isDirectory()) {
|
|
168
|
+
if (!isWorkDir(p))
|
|
169
|
+
walk(p);
|
|
170
|
+
}
|
|
167
171
|
else if (d.isFile())
|
|
168
172
|
out.push(p);
|
|
169
173
|
}
|
package/dist/workspace/ls.d.ts
CHANGED
|
@@ -158,9 +158,14 @@ export type LsDocument = {
|
|
|
158
158
|
groups: LsGroup[];
|
|
159
159
|
/** Every declared diagram, the workspace's own first, then each member's, in file order (#2764). */
|
|
160
160
|
diagrams: LsDiagram[];
|
|
161
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* What the workspace's CI decides about its commits (#3573), or null
|
|
163
|
+
* with no `ci` block. `reportUrl` (#4160) is the declared report URL,
|
|
164
|
+
* where the run index is kept, present only when it is set.
|
|
165
|
+
*/
|
|
162
166
|
ci: {
|
|
163
167
|
green: LsCiGreen | null;
|
|
168
|
+
reportUrl?: string;
|
|
164
169
|
} | null;
|
|
165
170
|
summary: {
|
|
166
171
|
members: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ls.d.ts","sourceRoot":"","sources":["../../src/workspace/ls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACxB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAG5C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,sEAAsE,CAAC;AAIvG;;;GAGG;AACH,eAAO,MAAM,mBAAmB,+DAOU,CAAC;AAC3C,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,iCAAiC;AACjC,eAAO,MAAM,kBAAkB,yBAGW,CAAC;AAC3C,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,mDAAmD;AACnD,MAAM,WAAW,YAAY;IAC3B,0GAA0G;IAC1G,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,6CAA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,CAYzG;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,UAAU,CAExD;AAED,oHAAoH;AACpH,wBAAsB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,CAgBhF;AAsGD,wBAAsB,cAAc,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAqBzE"}
|
package/dist/workspace/ls.js
CHANGED
|
@@ -103,7 +103,13 @@
|
|
|
103
103
|
{
|
|
104
104
|
"type": "object",
|
|
105
105
|
"required": ["green"],
|
|
106
|
-
"properties": {
|
|
106
|
+
"properties": {
|
|
107
|
+
"green": { "oneOf": [{ "type": "null" }, { "$ref": "#/$defs/ciGreen" }] },
|
|
108
|
+
"reportUrl": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Added in contract 1 by chant 0.124.32 (#4160). The declaration's ci.reportUrl, an s3:// or file:// URL without a trailing slash, present only when it is set. The run index is at <reportUrl>/runs/index.json (ci-run-index), and each job's report under <reportUrl>/<pr>/<commit>[/<member>]/."
|
|
111
|
+
}
|
|
112
|
+
}
|
|
107
113
|
}
|
|
108
114
|
]
|
|
109
115
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pin-integrity.d.ts","sourceRoot":"","sources":["../../src/workspace/pin-integrity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;
|
|
1
|
+
{"version":3,"file":"pin-integrity.d.ts","sourceRoot":"","sources":["../../src/workspace/pin-integrity.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAOH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAIhE,gGAAgG;AAChG,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG;IAAE,SAAS,EAAE,kBAAkB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAG3G;AAKD,mFAAmF;AACnF,qBAAa,YAAa,SAAQ,KAAK;CAAG;AAc1C,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAIjD;AAED,uGAAuG;AACvG,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,GAAE,kBAA6B,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAcvH;AAED,MAAM,MAAM,cAAc,GAAG;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,8GAA8G;AAC9G,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,cAAc,CAiB/F"}
|