@intentius/chant 0.124.32 → 0.124.34
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/ci-jobs.d.ts +4 -0
- package/dist/ci-jobs.d.ts.map +1 -1
- package/dist/ci-jobs.js +9 -2
- package/dist/cli/handlers/build.d.ts.map +1 -1
- package/dist/cli/handlers/build.js +18 -3
- package/dist/cli/handlers/lifecycle-health.d.ts +16 -0
- package/dist/cli/handlers/lifecycle-health.d.ts.map +1 -0
- package/dist/cli/handlers/lifecycle-health.js +150 -0
- package/dist/cli/handlers/lifecycle.d.ts +26 -0
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.js +1 -1
- package/dist/cli/handlers/pr.d.ts +2 -0
- package/dist/cli/handlers/pr.d.ts.map +1 -1
- package/dist/cli/handlers/pr.js +124 -2
- package/dist/cli/handlers/promote.d.ts.map +1 -1
- package/dist/cli/handlers/promote.js +277 -74
- package/dist/cli/handlers/release.d.ts +16 -1
- package/dist/cli/handlers/release.d.ts.map +1 -1
- package/dist/cli/handlers/release.js +83 -11
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +99 -22
- package/dist/cli/parse-args.d.ts.map +1 -1
- package/dist/cli/parse-args.js +30 -1
- package/dist/cli/registry.d.ts +21 -5
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/components/deploy-inputs.d.ts +91 -0
- package/dist/components/deploy-inputs.d.ts.map +1 -0
- package/dist/components/deploy-inputs.js +184 -0
- package/dist/components/driver.d.ts.map +1 -1
- package/dist/components/driver.js +9 -0
- package/dist/components/gate-plan.d.ts +8 -0
- package/dist/components/gate-plan.d.ts.map +1 -1
- package/dist/components/gate-plan.js +6 -0
- package/dist/components/pr-pipeline.d.ts +33 -10
- package/dist/components/pr-pipeline.d.ts.map +1 -1
- package/dist/components/pr-pipeline.js +42 -11
- package/dist/components/pr-run.d.ts +1 -1
- package/dist/components/pr-run.d.ts.map +1 -1
- package/dist/components/promote-rounds.d.ts +102 -0
- package/dist/components/promote-rounds.d.ts.map +1 -0
- package/dist/components/promote-rounds.js +174 -0
- package/dist/components/release-compile.d.ts +37 -2
- package/dist/components/release-compile.d.ts.map +1 -1
- package/dist/components/release-compile.js +64 -8
- package/dist/components/release-gate.d.ts +30 -0
- package/dist/components/release-gate.d.ts.map +1 -1
- package/dist/components/release-gate.js +92 -42
- package/dist/components/release-promote.d.ts +17 -3
- package/dist/components/release-promote.d.ts.map +1 -1
- package/dist/components/release-promote.js +79 -18
- package/dist/components/verbs/bom-writer.d.ts +1 -1
- package/dist/components/verbs/bom-writer.d.ts.map +1 -1
- package/dist/components/verbs/lockfile-sbom-generator.d.ts +20 -0
- package/dist/components/verbs/lockfile-sbom-generator.d.ts.map +1 -1
- package/dist/components/verbs/lockfile-sbom-generator.js +41 -4
- package/dist/components/wave-plan.d.ts +10 -0
- package/dist/components/wave-plan.d.ts.map +1 -1
- package/dist/components/wave-plan.js +32 -4
- package/dist/graph-declared.d.ts +4 -0
- package/dist/graph-declared.d.ts.map +1 -1
- package/dist/graph-declared.js +11 -1
- package/dist/graph-detail.d.ts.map +1 -1
- package/dist/graph-detail.js +32 -7
- package/dist/health.d.ts +110 -0
- package/dist/health.d.ts.map +1 -0
- package/dist/health.js +105 -0
- package/dist/health.schema.json +191 -0
- package/dist/lexicon.d.ts +27 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lifecycle/merge-record.d.ts +104 -0
- package/dist/lifecycle/merge-record.d.ts.map +1 -0
- package/dist/lifecycle/merge-record.js +102 -0
- package/dist/lifecycle/publish-attachments.d.ts +8 -5
- package/dist/lifecycle/publish-attachments.d.ts.map +1 -1
- package/dist/lifecycle/publish-attachments.js +27 -13
- package/dist/lifecycle/publish-npm.d.ts +3 -2
- package/dist/lifecycle/publish-npm.d.ts.map +1 -1
- package/dist/lifecycle/publish-npm.js +4 -3
- package/dist/lifecycle/release-at.d.ts +40 -0
- package/dist/lifecycle/release-at.d.ts.map +1 -0
- package/dist/lifecycle/release-at.js +83 -0
- package/dist/lifecycle/release-cut.d.ts.map +1 -1
- package/dist/lifecycle/release-cut.js +23 -12
- package/dist/lifecycle/release-publish.d.ts +28 -12
- package/dist/lifecycle/release-publish.d.ts.map +1 -1
- package/dist/lifecycle/release-publish.js +29 -17
- package/dist/lifecycle/release-store.d.ts +25 -2
- package/dist/lifecycle/release-store.d.ts.map +1 -1
- package/dist/lifecycle/release-store.js +40 -13
- package/dist/lifecycle/run-ledger.d.ts.map +1 -1
- package/dist/lifecycle/run-ledger.js +1 -0
- package/dist/lint/rules/op/index.d.ts +2 -1
- package/dist/lint/rules/op/index.d.ts.map +1 -1
- package/dist/lint/rules/op/index.js +4 -2
- package/dist/lint/rules/op/ops018-shell-image-digest.d.ts +10 -0
- package/dist/lint/rules/op/ops018-shell-image-digest.d.ts.map +1 -0
- package/dist/lint/rules/op/ops018-shell-image-digest.js +38 -0
- package/dist/op/activities/activity-contracts.d.ts +5 -0
- package/dist/op/activities/activity-contracts.d.ts.map +1 -1
- package/dist/op/activities/activity-contracts.js +3 -0
- package/dist/op/activities/shell.d.ts +38 -0
- package/dist/op/activities/shell.d.ts.map +1 -1
- package/dist/op/activities/shell.js +89 -3
- package/dist/op/builders.d.ts +7 -0
- package/dist/op/builders.d.ts.map +1 -1
- package/dist/op/builders.js +7 -0
- package/dist/op/runtime.d.ts +2 -0
- package/dist/op/runtime.d.ts.map +1 -1
- package/dist/pr-loop.d.ts +14 -3
- package/dist/pr-loop.d.ts.map +1 -1
- package/dist/pr-loop.js +15 -5
- package/dist/pr-report-url.d.ts +2 -2
- package/dist/pr-report-url.d.ts.map +1 -1
- package/dist/runner-start.d.ts +179 -0
- package/dist/runner-start.d.ts.map +1 -0
- package/dist/runner-start.js +277 -0
- package/dist/wave-runtime.mjs +236 -229
- package/dist/workspace/__fixtures__/contract-repo.d.ts.map +1 -1
- package/dist/workspace/__fixtures__/contract-repo.js +13 -2
- package/dist/workspace/check.schema.json +88 -2
- package/dist/workspace/checks/ci-workflow.d.ts +17 -0
- package/dist/workspace/checks/ci-workflow.d.ts.map +1 -0
- package/dist/workspace/checks/ci-workflow.js +123 -0
- package/dist/workspace/checks/security.d.ts +50 -0
- package/dist/workspace/checks/security.d.ts.map +1 -0
- package/dist/workspace/checks/security.js +305 -0
- package/dist/workspace/checks.d.ts +2 -0
- package/dist/workspace/checks.d.ts.map +1 -1
- package/dist/workspace/checks.js +8 -0
- package/dist/workspace/ci-builds.d.ts +163 -0
- package/dist/workspace/ci-builds.d.ts.map +1 -0
- package/dist/workspace/ci-builds.js +315 -0
- package/dist/workspace/ci-green-cli.d.ts +2 -1
- package/dist/workspace/ci-green-cli.d.ts.map +1 -1
- package/dist/workspace/ci-green-cli.js +25 -5
- package/dist/workspace/ci-green-forge.d.ts +12 -0
- package/dist/workspace/ci-green-forge.d.ts.map +1 -1
- package/dist/workspace/ci-green-forge.js +12 -0
- package/dist/workspace/ci-green-workflow.d.ts +55 -1
- package/dist/workspace/ci-green-workflow.d.ts.map +1 -1
- package/dist/workspace/ci-green-workflow.js +128 -1
- package/dist/workspace/ci-green.d.ts +89 -4
- package/dist/workspace/ci-green.d.ts.map +1 -1
- package/dist/workspace/ci-green.js +310 -23
- package/dist/workspace/ci-init.d.ts +100 -0
- package/dist/workspace/ci-init.d.ts.map +1 -0
- package/dist/workspace/ci-init.js +434 -0
- package/dist/workspace/ci-last-green.schema.json +49 -0
- package/dist/workspace/ci-list.schema.json +35 -1
- package/dist/workspace/ci-run-index.d.ts +1 -1
- package/dist/workspace/ci-run-index.d.ts.map +1 -1
- package/dist/workspace/ci-run-index.schema.json +1 -1
- package/dist/workspace/ci-run.d.ts +12 -6
- package/dist/workspace/ci-run.d.ts.map +1 -1
- package/dist/workspace/ci-run.js +72 -16
- package/dist/workspace/ci-runner-start.d.ts +77 -0
- package/dist/workspace/ci-runner-start.d.ts.map +1 -0
- package/dist/workspace/ci-runner-start.js +185 -0
- package/dist/workspace/ci-serve.d.ts +76 -7
- package/dist/workspace/ci-serve.d.ts.map +1 -1
- package/dist/workspace/ci-serve.js +153 -19
- package/dist/workspace/ci-workflow.d.ts +91 -0
- package/dist/workspace/ci-workflow.d.ts.map +1 -0
- package/dist/workspace/ci-workflow.js +33 -0
- package/dist/workspace/declaration.d.ts +35 -0
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.js +12 -2
- package/dist/workspace/declaration.schema.json +51 -0
- package/dist/workspace/init.js +2 -2
- package/dist/workspace/ls.d.ts +2 -0
- package/dist/workspace/ls.d.ts.map +1 -1
- package/dist/workspace/ls.js +1 -1
- package/dist/workspace/ls.schema.json +2 -1
- package/dist/workspace/member-pipeline.d.ts +1 -0
- package/dist/workspace/member-pipeline.d.ts.map +1 -1
- package/dist/workspace/member-pipeline.js +2 -0
- package/dist/workspace/merge-record.schema.json +49 -0
- package/dist/workspace/pr-report.schema.json +3 -3
- package/dist/workspace/reason-codes.d.ts +26 -0
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/reason-codes.js +28 -0
- package/dist/workspace/release-candidates.d.ts +129 -0
- package/dist/workspace/release-candidates.d.ts.map +1 -0
- package/dist/workspace/release-candidates.js +233 -0
- package/dist/workspace/release-candidates.schema.json +353 -0
- package/dist/workspace/release-workflow.d.ts +31 -0
- package/dist/workspace/release-workflow.d.ts.map +1 -0
- package/dist/workspace/release-workflow.js +150 -0
- package/dist/workspace/security.d.ts +40 -0
- package/dist/workspace/security.d.ts.map +1 -0
- package/dist/workspace/security.js +99 -0
- package/package.json +8 -1
- package/src/__fixtures__/pr-loop/pr-plan.note.golden.md +1 -1
- package/src/ci-jobs.ts +11 -2
- package/src/cli/handlers/build.test.ts +36 -0
- package/src/cli/handlers/build.ts +18 -3
- package/src/cli/handlers/lifecycle-health.test.ts +123 -0
- package/src/cli/handlers/lifecycle-health.ts +157 -0
- package/src/cli/handlers/lifecycle.ts +1 -1
- package/src/cli/handlers/pr-deploy-inputs.test.ts +209 -0
- package/src/cli/handlers/pr-record.test.ts +201 -0
- package/src/cli/handlers/pr.test.ts +22 -0
- package/src/cli/handlers/pr.ts +127 -4
- package/src/cli/handlers/promote.test.ts +17 -0
- package/src/cli/handlers/promote.ts +296 -84
- package/src/cli/handlers/release-cut-at.e2e.test.ts +115 -0
- package/src/cli/handlers/release-publish-targets.e2e.test.ts +2 -2
- package/src/cli/handlers/release-verify.e2e.test.ts +12 -10
- package/src/cli/handlers/release.e2e.test.ts +19 -28
- package/src/cli/handlers/release.ts +81 -11
- package/src/cli/main.ts +99 -22
- package/src/cli/parse-args.ts +22 -1
- package/src/cli/registry.ts +21 -5
- package/src/components/deploy-inputs.test.ts +108 -0
- package/src/components/deploy-inputs.ts +225 -0
- package/src/components/driver.ts +11 -0
- package/src/components/gate-plan.ts +9 -0
- package/src/components/pr-pipeline.ts +56 -15
- package/src/components/pr-run.ts +1 -1
- package/src/components/promote-rounds.test.ts +220 -0
- package/src/components/promote-rounds.ts +232 -0
- package/src/components/release-compile.test.ts +34 -0
- package/src/components/release-compile.ts +89 -8
- package/src/components/release-gate.test.ts +47 -0
- package/src/components/release-gate.ts +111 -46
- package/src/components/release-promote.test.ts +55 -2
- package/src/components/release-promote.ts +93 -23
- package/src/components/verbs/bom-writer.ts +1 -1
- package/src/components/verbs/lockfile-sbom-generator.test.ts +36 -0
- package/src/components/verbs/lockfile-sbom-generator.ts +43 -5
- package/src/components/wave-plan.ts +32 -4
- package/src/graph-declared-exports.test.ts +40 -0
- package/src/graph-declared.ts +9 -1
- package/src/graph-detail.test.ts +57 -0
- package/src/graph-detail.ts +33 -7
- package/src/health.schema.json +191 -0
- package/src/health.test.ts +62 -0
- package/src/health.ts +178 -0
- package/src/lexicon.ts +41 -1
- package/src/lifecycle/merge-record.test.ts +111 -0
- package/src/lifecycle/merge-record.ts +154 -0
- package/src/lifecycle/publish-attachments.ts +25 -13
- package/src/lifecycle/publish-npm.ts +4 -3
- package/src/lifecycle/publish-targets.test.ts +34 -4
- package/src/lifecycle/release-at.test.ts +48 -0
- package/src/lifecycle/release-at.ts +100 -0
- package/src/lifecycle/release-cut.test.ts +41 -0
- package/src/lifecycle/release-cut.ts +22 -11
- package/src/lifecycle/release-publish.test.ts +43 -13
- package/src/lifecycle/release-publish.ts +38 -18
- package/src/lifecycle/release-store.ts +57 -13
- package/src/lifecycle/run-ledger.test.ts +13 -0
- package/src/lifecycle/run-ledger.ts +1 -0
- package/src/lint/rules/op/index.ts +4 -2
- package/src/lint/rules/op/ops018-shell-image-digest.test.ts +60 -0
- package/src/lint/rules/op/ops018-shell-image-digest.ts +48 -0
- package/src/op/activities/activity-contracts.ts +3 -0
- package/src/op/activities/shell-container.e2e.test.ts +67 -0
- package/src/op/activities/shell.test.ts +44 -1
- package/src/op/activities/shell.ts +110 -3
- package/src/op/builders.ts +7 -0
- package/src/op/runtime.ts +2 -0
- package/src/op/step-console.test.ts +4 -2
- package/src/pr-loop.test.ts +29 -0
- package/src/pr-loop.ts +26 -7
- package/src/pr-report-url.ts +2 -2
- package/src/runner-start-bundle.test.ts +29 -0
- package/src/runner-start.test.ts +179 -0
- package/src/runner-start.ts +329 -0
- package/src/workspace/__fixtures__/contract-repo.ts +11 -2
- package/src/workspace/check-contract.test.ts +4 -2
- package/src/workspace/check.schema.json +88 -2
- package/src/workspace/checks/ci-workflow.test.ts +150 -0
- package/src/workspace/checks/ci-workflow.ts +129 -0
- package/src/workspace/checks/security.test.ts +138 -0
- package/src/workspace/checks/security.ts +305 -0
- package/src/workspace/checks.ts +8 -0
- package/src/workspace/ci-builds.e2e.test.ts +208 -0
- package/src/workspace/ci-builds.test.ts +174 -0
- package/src/workspace/ci-builds.ts +385 -0
- package/src/workspace/ci-green-builds.test.ts +180 -0
- package/src/workspace/ci-green-cli.test.ts +54 -0
- package/src/workspace/ci-green-cli.ts +26 -5
- package/src/workspace/ci-green-forge.ts +24 -0
- package/src/workspace/ci-green-workflow.test.ts +84 -1
- package/src/workspace/ci-green-workflow.ts +139 -2
- package/src/workspace/ci-green.test.ts +5 -2
- package/src/workspace/ci-green.ts +359 -27
- package/src/workspace/ci-init.test.ts +159 -0
- package/src/workspace/ci-init.ts +445 -0
- package/src/workspace/ci-last-green.schema.json +49 -0
- package/src/workspace/ci-list.schema.json +35 -1
- package/src/workspace/ci-report-url.test.ts +6 -1
- package/src/workspace/ci-run-index.schema.json +1 -1
- package/src/workspace/ci-run-index.ts +1 -1
- package/src/workspace/ci-run.test.ts +24 -7
- package/src/workspace/ci-run.ts +78 -16
- package/src/workspace/ci-runner-start.test.ts +151 -0
- package/src/workspace/ci-runner-start.ts +193 -0
- package/src/workspace/ci-serve-builds.test.ts +86 -0
- package/src/workspace/ci-serve.test.ts +59 -0
- package/src/workspace/ci-serve.ts +177 -22
- package/src/workspace/ci-workflow.ts +71 -0
- package/src/workspace/declaration.schema.json +51 -0
- package/src/workspace/declaration.test.ts +17 -0
- package/src/workspace/declaration.ts +53 -3
- package/src/workspace/init.ts +2 -2
- package/src/workspace/ls.schema.json +2 -1
- package/src/workspace/ls.ts +3 -2
- package/src/workspace/member-pipeline.ts +2 -1
- package/src/workspace/merge-record.schema.json +49 -0
- package/src/workspace/pr-report.schema.json +3 -3
- package/src/workspace/reason-codes.test.ts +4 -0
- package/src/workspace/reason-codes.ts +28 -0
- package/src/workspace/release-candidates.schema.json +353 -0
- package/src/workspace/release-candidates.test.ts +106 -0
- package/src/workspace/release-candidates.ts +315 -0
- package/src/workspace/release-workflow.ts +167 -0
- package/src/workspace/security.test.ts +70 -0
- package/src/workspace/security.ts +118 -0
|
@@ -280,6 +280,8 @@ export function parseDeclaration(text, file, reader = readerVersion(), options =
|
|
|
280
280
|
upstream: e.upstream ?? null,
|
|
281
281
|
because: e.because ?? null,
|
|
282
282
|
travel: e.travel === true,
|
|
283
|
+
security: [...(e.security ?? [])],
|
|
284
|
+
ciWorkflow: (e.ci?.workflow) ?? null,
|
|
283
285
|
suppress,
|
|
284
286
|
pointer,
|
|
285
287
|
};
|
|
@@ -410,6 +412,7 @@ export function parseDeclaration(text, file, reader = readerVersion(), options =
|
|
|
410
412
|
ci,
|
|
411
413
|
retention: retentionOf(obj.retention),
|
|
412
414
|
metrics: metricsOf(obj.metrics),
|
|
415
|
+
security: [...(obj.security ?? [])],
|
|
413
416
|
file,
|
|
414
417
|
};
|
|
415
418
|
written.set(declaration, raw);
|
|
@@ -501,6 +504,7 @@ function ciOf(raw, at) {
|
|
|
501
504
|
if (raw === undefined)
|
|
502
505
|
return null;
|
|
503
506
|
const block = raw;
|
|
507
|
+
const workflow = block.workflow !== undefined ? { workflow: block.workflow } : {};
|
|
504
508
|
let reportUrl = null;
|
|
505
509
|
if (block.reportUrl !== undefined) {
|
|
506
510
|
// #4160: refused here as pr-plan and ci run refuse the flag, so a reader never gets a URL no job can write to.
|
|
@@ -510,12 +514,13 @@ function ciOf(raw, at) {
|
|
|
510
514
|
reportUrl = target.url;
|
|
511
515
|
}
|
|
512
516
|
if (block.green === undefined)
|
|
513
|
-
return { green: null, reportUrl };
|
|
517
|
+
return { green: null, ...workflow, reportUrl };
|
|
514
518
|
const g = block.green;
|
|
515
519
|
const phases = Object.entries(g.phases).map(([name, p]) => ({
|
|
516
520
|
name,
|
|
517
521
|
runs: [...(Array.isArray(p) ? p : p.runs)],
|
|
518
522
|
skipped: Array.isArray(p) ? "fail" : (p.skipped ?? "fail"),
|
|
523
|
+
...(!Array.isArray(p) && p.build !== undefined ? { build: p.build } : {}),
|
|
519
524
|
pointer: `/ci/green/phases/${pointerToken(name)}`,
|
|
520
525
|
}));
|
|
521
526
|
for (const [i, name] of g.require.entries()) {
|
|
@@ -523,7 +528,12 @@ function ciOf(raw, at) {
|
|
|
523
528
|
continue;
|
|
524
529
|
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}`));
|
|
525
530
|
}
|
|
526
|
-
|
|
531
|
+
for (const [i, name] of (g.preMerge ?? []).entries()) {
|
|
532
|
+
if (phases.some((p) => p.name === name))
|
|
533
|
+
continue;
|
|
534
|
+
throw new WorkspaceReadError("declaration-invalid", `ci.green.preMerge names the phase ${JSON.stringify(name)}, which ci.green.phases does not declare; declared phases: ${phases.map((p) => p.name).join(", ")}`, at(`/ci/green/preMerge/${i}`));
|
|
535
|
+
}
|
|
536
|
+
return { green: { branch: g.branch, window: g.window ?? DEFAULT_CI_WINDOW, phases, require: [...g.require], ...(g.preMerge !== undefined ? { preMerge: [...g.preMerge] } : {}), signedSince: g.signedSince ?? null, source: g.source ?? "checks", pointer: "/ci/green" }, ...workflow, reportUrl };
|
|
527
537
|
}
|
|
528
538
|
function agentsOf(raw, members, at) {
|
|
529
539
|
const agents = (raw ?? []).map((a, i) => {
|
|
@@ -178,6 +178,9 @@
|
|
|
178
178
|
"green": {
|
|
179
179
|
"$ref": "#/$defs/ciGreen"
|
|
180
180
|
},
|
|
181
|
+
"workflow": {
|
|
182
|
+
"$ref": "#/$defs/ciWorkflow"
|
|
183
|
+
},
|
|
181
184
|
"reportUrl": {
|
|
182
185
|
"type": "string",
|
|
183
186
|
"minLength": 1,
|
|
@@ -236,6 +239,14 @@
|
|
|
236
239
|
"description": "A deploy counts as failed when, within this many days after it, the commit it deployed is revoked or the environment is rolled back from it. The default is 7."
|
|
237
240
|
}
|
|
238
241
|
}
|
|
242
|
+
},
|
|
243
|
+
"security": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"uniqueItems": true,
|
|
246
|
+
"description": "The security groups the workspace opts into (#4168), for every member; a member's own security adds to them. With none, a security feature the workspace has not turned on never refuses, warns or hides anything. verified-releases: release publish and promote --release take only a verified release. supply-chain: a publish without OIDC provenance warns, and a target with no SBOM source is refused. who-ran-it: ci tick needs a runner key. review-rules: pr-apply requires a forge review. isolated-runners: an apply job requires a runner-start statement. workspace check reports what a declared group lacks (WSP161 to WSP165). Added in schema 1 by chant 0.124.33, so a declaration that uses it sets minReader to 0.124.33 or newer.",
|
|
247
|
+
"items": {
|
|
248
|
+
"enum": ["verified-releases", "supply-chain", "who-ran-it", "review-rules", "isolated-runners"]
|
|
249
|
+
}
|
|
239
250
|
}
|
|
240
251
|
},
|
|
241
252
|
"patternProperties": {
|
|
@@ -483,10 +494,31 @@
|
|
|
483
494
|
"minLength": 1,
|
|
484
495
|
"description": "Where an embedded member's files come from. Versions live in the lock."
|
|
485
496
|
},
|
|
497
|
+
"ci": {
|
|
498
|
+
"type": "object",
|
|
499
|
+
"additionalProperties": false,
|
|
500
|
+
"patternProperties": {
|
|
501
|
+
"^x-": true
|
|
502
|
+
},
|
|
503
|
+
"description": "This member's own CI settings (#4168 step 6). Added in schema 1 by chant 0.124.34, so a declaration that uses it sets minReader to 0.124.34 or newer.",
|
|
504
|
+
"properties": {
|
|
505
|
+
"workflow": {
|
|
506
|
+
"$ref": "#/$defs/ciWorkflow"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
486
510
|
"travel": {
|
|
487
511
|
"type": "boolean",
|
|
488
512
|
"description": "Whether the member goes with an export (#2524 D10, #2552). chant workspace export writes only members that set travel to true into the export member, and refuses to name one that does not. Added in schema 1 by chant 0.101.0, so a declaration that uses it sets minReader to 0.101.0 or newer."
|
|
489
513
|
},
|
|
514
|
+
"security": {
|
|
515
|
+
"type": "array",
|
|
516
|
+
"uniqueItems": true,
|
|
517
|
+
"description": "The security groups this member opts into, added to the declaration's top-level security (#4168). A release, publish or pull-request job of this member runs under both lists. Added in schema 1 by chant 0.124.33, so a declaration that uses it sets minReader to 0.124.33 or newer.",
|
|
518
|
+
"items": {
|
|
519
|
+
"enum": ["verified-releases", "supply-chain", "who-ran-it", "review-rules", "isolated-runners"]
|
|
520
|
+
}
|
|
521
|
+
},
|
|
490
522
|
"because": {
|
|
491
523
|
"type": "string",
|
|
492
524
|
"minLength": 1,
|
|
@@ -1520,6 +1552,14 @@
|
|
|
1520
1552
|
"$ref": "#/$defs/ciPhaseName"
|
|
1521
1553
|
}
|
|
1522
1554
|
},
|
|
1555
|
+
"preMerge": {
|
|
1556
|
+
"type": "array",
|
|
1557
|
+
"uniqueItems": true,
|
|
1558
|
+
"description": "The phases that must pass before the branch moves (#4168 4.4), by name: the quick checks a pull request's checks, a merge queue, chant ci serve landing a branch, or chant ci run --local give before a change lands. Each must be a declared phase. The trunk-curated workflow needs at least one. Added in schema 1 by chant 0.124.34, so a declaration that uses it sets minReader to 0.124.34 or newer.",
|
|
1559
|
+
"items": {
|
|
1560
|
+
"$ref": "#/$defs/ciPhaseName"
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1523
1563
|
"signedSince": {
|
|
1524
1564
|
"type": "string",
|
|
1525
1565
|
"pattern": "^[0-9a-f]{40}([0-9a-f]{24})?$",
|
|
@@ -1538,6 +1578,10 @@
|
|
|
1538
1578
|
},
|
|
1539
1579
|
"additionalProperties": false
|
|
1540
1580
|
},
|
|
1581
|
+
"ciWorkflow": {
|
|
1582
|
+
"enum": ["trunk-curated", "trunk-curated+apply-on-merge"],
|
|
1583
|
+
"description": "A prescribed delivery workflow (#4168). trunk-curated: a merge records the plan and deploys nothing; releases are cut from green commits and promoted through each member's environments, gated in the last. trunk-curated+apply-on-merge: the same, with the apply on merge turned back on. chant workspace check reports what a member under one still lacks (WSP151), and chant ci init writes it. At the top level for every member, or on a member, which wins. Added in schema 1 by chant 0.124.34, so a declaration that uses it sets minReader to 0.124.34 or newer."
|
|
1584
|
+
},
|
|
1541
1585
|
"ciPhaseName": {
|
|
1542
1586
|
"type": "string",
|
|
1543
1587
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.-]{0,63}$"
|
|
@@ -1562,6 +1606,13 @@
|
|
|
1562
1606
|
"fail"
|
|
1563
1607
|
],
|
|
1564
1608
|
"description": "What a check run that finished as skipped counts as. fail (the default): it never passes. pass: it passes, for a job a path filter runs only on some commits."
|
|
1609
|
+
},
|
|
1610
|
+
"build": {
|
|
1611
|
+
"enum": [
|
|
1612
|
+
"every",
|
|
1613
|
+
"newest"
|
|
1614
|
+
],
|
|
1615
|
+
"description": "Added by #4169, read by chant 0.124.33 and newer. Which first-parent commits of the branch the phase runs on. every (the default): each one. newest: only the newest commit when a runner frees. Under either, a run that was cancelled leaves the commit unbuilt rather than red. Under newest, a commit a newer run superseded is unbuilt too, and a red commit starts a bisect over the unbuilt commits back to the last one the phase passed on. chant ci workflow writes the triggers and concurrency of the workflows holding a phase that sets build, and leaves them alone for a phase that does not."
|
|
1565
1616
|
}
|
|
1566
1617
|
},
|
|
1567
1618
|
"patternProperties": {
|
package/dist/workspace/init.js
CHANGED
|
@@ -514,7 +514,7 @@ export async function runWorkspaceInit(ctx) {
|
|
|
514
514
|
if (existing.length > 0) {
|
|
515
515
|
console.error(formatError({
|
|
516
516
|
message: `${join(root, existing[0])} already exists`,
|
|
517
|
-
hint: "Edit it by hand, or run chant workspace ls to see what it declares.",
|
|
517
|
+
hint: "Edit it by hand, or run chant workspace ls to see what it declares. To set it up for a delivery workflow, run chant ci init --workflow trunk-curated.",
|
|
518
518
|
}));
|
|
519
519
|
return 1;
|
|
520
520
|
}
|
|
@@ -565,7 +565,7 @@ export async function runWorkspaceInit(ctx) {
|
|
|
565
565
|
return 0;
|
|
566
566
|
}
|
|
567
567
|
writeFileSync(target, text, { flag: "wx" });
|
|
568
|
-
console.log(formatSuccess(`Wrote ${target}. chant workspace ls lists what it declares.`));
|
|
568
|
+
console.log(formatSuccess(`Wrote ${target}. chant workspace ls lists what it declares, and chant ci init --workflow trunk-curated sets up merging and releases.`));
|
|
569
569
|
return 0;
|
|
570
570
|
}
|
|
571
571
|
/** `chant workspace init --profile <profile>` (#3174): copy a profile with `chant init --from`, then name the workspace. */
|
package/dist/workspace/ls.d.ts
CHANGED
|
@@ -110,10 +110,12 @@ export interface LsDiagram {
|
|
|
110
110
|
export interface LsCiGreen {
|
|
111
111
|
branch: string;
|
|
112
112
|
window: string;
|
|
113
|
+
/** `build` is present only when the declaration sets it (#4169). */
|
|
113
114
|
phases: {
|
|
114
115
|
name: string;
|
|
115
116
|
runs: string[];
|
|
116
117
|
skipped: "pass" | "fail";
|
|
118
|
+
build?: "every" | "newest";
|
|
117
119
|
}[];
|
|
118
120
|
require: string[];
|
|
119
121
|
/** The first commit whose ci tags need a signed statement (#4031). Present only when the declaration sets it. */
|
|
@@ -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,I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IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,iEAAiE;AACjE,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,YAAY,GAAG,QAAQ,CAAC,QAAQ,CAAC,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
|
@@ -165,7 +165,7 @@ function readListing(query) {
|
|
|
165
165
|
? {
|
|
166
166
|
branch: declaration.ci.green.branch,
|
|
167
167
|
window: declaration.ci.green.window,
|
|
168
|
-
phases: declaration.ci.green.phases.map((p) => ({ name: p.name, runs: p.runs, skipped: p.skipped })),
|
|
168
|
+
phases: declaration.ci.green.phases.map((p) => ({ name: p.name, runs: p.runs, skipped: p.skipped, ...(p.build ? { build: p.build } : {}) })),
|
|
169
169
|
require: declaration.ci.green.require,
|
|
170
170
|
...(declaration.ci.green.signedSince !== null ? { signedSince: declaration.ci.green.signedSince } : {}),
|
|
171
171
|
...(declaration.ci.green.source === "runs" ? { source: "runs" } : {}),
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"properties": {
|
|
22
22
|
"name": { "type": "string" },
|
|
23
23
|
"runs": { "type": "array", "items": { "type": "string" }, "description": "Check-run name patterns, * standing for any run of characters." },
|
|
24
|
-
"skipped": { "enum": ["pass", "fail"], "description": "What a run that finished as skipped counts as." }
|
|
24
|
+
"skipped": { "enum": ["pass", "fail"], "description": "What a run that finished as skipped counts as." },
|
|
25
|
+
"build": { "enum": ["every", "newest"], "description": "Added in contract 1 by #4169, written by chant 0.124.33 and newer, and only when the declaration sets it: whether the phase runs on every first-parent commit or only the newest one when a runner frees. Absent means every." }
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"member-pipeline.d.ts","sourceRoot":"","sources":["../../src/workspace/member-pipeline.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAA+E,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAG3I;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,wCAAwC;AACxC,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,CAAC,CAAC;IACV,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED,0DAA0D;AAC1D,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,aAAa,EAAE,MAAM,CAAC;IACtB,4FAA4F;IAC5F,QAAQ,EAAE,MAAM,CAAC;IACjB,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAqBD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,mBAAmB,GAAG,aAAa,GAAG,SAAS,CA0B9G;AAUD,gJ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AAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,YAAY,GAAG,SAAS,CAsB3B;AAED,0IAA0I;AAC1I,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,MAAM,EAAE,CAY5G;AAED,oHAAoH;AACpH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAGlD"}
|
|
@@ -188,6 +188,8 @@ export function planMemberComponentPipeline(input) {
|
|
|
188
188
|
parts.push("--gate", input.prLoop.gate);
|
|
189
189
|
if (input.prLoop.branch)
|
|
190
190
|
parts.push("--branch", input.prLoop.branch);
|
|
191
|
+
if (input.prLoop.applyOnMerge)
|
|
192
|
+
parts.push("--apply-on-merge");
|
|
191
193
|
}
|
|
192
194
|
if (input.image)
|
|
193
195
|
parts.push("--image", input.image);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://intentius.io/chant/schemas/workspace/merge-record/v1/merge-record.schema.json",
|
|
4
|
+
"title": "chant merge record",
|
|
5
|
+
"description": "What landed on the target branch, keyed by commit: _merges/<commit>.json on chant/lifecycle (#4168, chant 0.124.33 and newer). The record job writes it on merge. It applies nothing; a release that carries the commit deploys it.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["$schema", "contract", "commit", "base", "env", "source", "op", "gate", "digest", "plan", "approvedBy", "components", "recordedAt"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": { "const": "https://intentius.io/chant/schemas/workspace/merge-record/v1/merge-record.schema.json" },
|
|
11
|
+
"contract": { "const": 1 },
|
|
12
|
+
"commit": { "type": "string", "pattern": "^[0-9a-f]{40,64}$", "description": "The merged commit." },
|
|
13
|
+
"base": { "type": "string", "pattern": "^[0-9a-f]{40,64}$", "description": "The commit the change is measured from." },
|
|
14
|
+
"env": { "type": "string", "minLength": 1 },
|
|
15
|
+
"member": { "type": "string", "minLength": 1, "description": "The workspace member whose pipeline wrote it." },
|
|
16
|
+
"source": {
|
|
17
|
+
"description": "Where the change came from: the pull request that merged it, else the work items its Chant-Record: work:<id> trailers name, else a direct push.",
|
|
18
|
+
"oneOf": [
|
|
19
|
+
{ "type": "object", "additionalProperties": false, "required": ["kind", "pr"], "properties": { "kind": { "const": "pull-request" }, "pr": { "type": "integer", "minimum": 1 } } },
|
|
20
|
+
{
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["kind", "records"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"kind": { "const": "work-item" },
|
|
26
|
+
"records": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"minItems": 1,
|
|
29
|
+
"items": { "type": "object", "additionalProperties": false, "required": ["kind", "id"], "properties": { "kind": { "const": "work" }, "id": { "type": "string", "minLength": 1 } } }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{ "type": "object", "additionalProperties": false, "required": ["kind"], "properties": { "kind": { "const": "direct-push" } } }
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"op": { "type": ["string", "null"], "description": "The pull request's gate op, pr-<n> or pr-<n>-<member>; null without a pull request." },
|
|
37
|
+
"gate": { "type": "string", "minLength": 1 },
|
|
38
|
+
"digest": { "type": ["string", "null"], "pattern": "^(?:jcs1-)?sha256:[0-9a-f]{64}$", "description": "The change-set digest planned on the merged commit; null when nothing was planned. The change set is stored under _change-sets/." },
|
|
39
|
+
"plan": {
|
|
40
|
+
"enum": ["approved", "changed", "unapproved", "nothing", "plan-failed"],
|
|
41
|
+
"description": "approved: an approval stands for digest. changed: one stands for approvedDigest, so the plan moved after review; the record job's chant/record status fails. unapproved: none stands. nothing: no component deploys what the change touches. plan-failed: a member failed to plan."
|
|
42
|
+
},
|
|
43
|
+
"approvedDigest": { "type": "string", "pattern": "^(?:jcs1-)?sha256:[0-9a-f]{64}$" },
|
|
44
|
+
"approvedBy": { "type": "array", "items": { "type": "string" } },
|
|
45
|
+
"authorApproved": { "type": "array", "items": { "type": "string" }, "description": "Approvers who wrote the change (#4000), read with a forge." },
|
|
46
|
+
"components": { "type": "array", "items": { "type": "string" } },
|
|
47
|
+
"recordedAt": { "type": "string", "minLength": 1, "description": "ISO 8601." }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": { "const": "https://intentius.io/chant/schemas/workspace/pr-report/v1/pr-report.schema.json" },
|
|
10
10
|
"contract": { "const": 1 },
|
|
11
|
-
"stage": { "enum": ["plan", "apply"] },
|
|
11
|
+
"stage": { "enum": ["plan", "apply", "record"], "description": "plan: on the pull request. record (#4168, chant 0.124.33 and newer): on merge, the default; it plans the merged commit and writes the merge record, applying nothing. apply: on merge with --apply-on-merge." },
|
|
12
12
|
"pr": {
|
|
13
13
|
"type": ["integer", "null"],
|
|
14
14
|
"minimum": 1,
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"description": "The change-set digest of what this stage planned: computePlanDigest(\"change-set\", ...) over every member's { member, planDigest }. What the gate binds."
|
|
34
34
|
},
|
|
35
35
|
"status": {
|
|
36
|
-
"enum": ["planned", "plan-failed", "nothing", "applied", "failed", "wave-applied", "refused", "waiting"],
|
|
37
|
-
"description": "planned: every member planned (plan stage). plan-failed: a member failed to plan, so nothing can apply. nothing: no component deploys what the change touches. applied: every member applied. failed: a member failed to apply and its dependents did not run. wave-applied (#4003, chant 0.124.32 and newer): with --wave-gate and --wave, the wave applied and a later wave is still to run. refused: nothing applied, see refusal. waiting (#3999): the approved plans applied except members held back after an upstream applied, which wait on an approval of the plan the last of rounds made."
|
|
36
|
+
"enum": ["planned", "recorded", "plan-failed", "nothing", "applied", "failed", "wave-applied", "refused", "waiting"],
|
|
37
|
+
"description": "planned: every member planned (plan stage). recorded (#4168, chant 0.124.33 and newer): every member planned on the merged commit and the merge record was written (record stage); approval says whether the plan is the approved one, and nothing applied. plan-failed: a member failed to plan, so nothing can apply. nothing: no component deploys what the change touches. applied: every member applied. failed: a member failed to apply and its dependents did not run. wave-applied (#4003, chant 0.124.32 and newer): with --wave-gate and --wave, the wave applied and a later wave is still to run. refused: nothing applied, see refusal. waiting (#3999): the approved plans applied except members held back after an upstream applied, which wait on an approval of the plan the last of rounds made."
|
|
38
38
|
},
|
|
39
39
|
"refusal": {
|
|
40
40
|
"enum": ["not-approved", "plan-changed", "not-a-reviewer", "author-approved", "no-pull-request", "wave-not-approved", "wave-plan-changed", "earlier-wave"],
|
|
@@ -191,6 +191,32 @@ export declare const REASONS: {
|
|
|
191
191
|
readonly "diagram-source-missing": "A declared diagram's source file does not exist in the tree read.";
|
|
192
192
|
readonly "diagram-render-missing": "A declared diagram's render file does not exist in the tree read.";
|
|
193
193
|
readonly "diagram-render-drift": "A declared diagram records a sourceHash, and the source's bytes now hash to something else: the render is stale for its source.";
|
|
194
|
+
readonly "security-signers-missing": "The workspace opts into verified-releases, and there is no .chant/allowed_signers to verify a release's signature against.";
|
|
195
|
+
readonly "security-release-gate-missing": "Under verified-releases, identity.gates has no release entry, or it names no class, so a cut is not held to a class of signers.";
|
|
196
|
+
readonly "security-publish-allows-unsigned": "Under verified-releases, a pipeline file runs release publish with --allow-unsigned.";
|
|
197
|
+
readonly "security-sbom-disabled": "Under supply-chain, a member's chant.config.ts sets sbom: false on a publish target.";
|
|
198
|
+
readonly "security-sbom-unsourced": "Under supply-chain, a member publishes, names no sbom file and has no package-lock.json, pom.xml or Cargo.lock to write one from.";
|
|
199
|
+
readonly "security-publish-no-provenance": "Under supply-chain, a pipeline file runs release publish without --require-provenance.";
|
|
200
|
+
readonly "security-component-no-sbom": "Under supply-chain, a member's components have no generate-sbom step.";
|
|
201
|
+
readonly "security-component-no-verify": "Under supply-chain, a member's components have no verify step.";
|
|
202
|
+
readonly "security-signed-since-unset": "Under who-ran-it, ci.green sets no signedSince, or there is no ci.green block.";
|
|
203
|
+
readonly "security-runner-untrusted": "Under who-ran-it, .chant/trust.json lists no runner key.";
|
|
204
|
+
readonly "security-tick-no-key": "Under who-ran-it, a pipeline file runs ci tick with no runner key.";
|
|
205
|
+
readonly "security-review-not-required": "Under review-rules, an apply job passes --no-require-review, which the group overrides.";
|
|
206
|
+
readonly "security-attribution-any": "Under review-rules, identity.attribution is not identified.";
|
|
207
|
+
readonly "security-gate-unsigned": "Under review-rules, an apply job names a gate identity.gates does not list, or identity.gates lists none.";
|
|
208
|
+
readonly "security-runner-start-no-key": "Under isolated-runners, .chant/trust.json lists no key under runners for a provisioner to sign runner-start statements with.";
|
|
209
|
+
readonly "security-runner-start-no-role": "Under isolated-runners, no principal under runners in .chant/trust.json holds the runner role.";
|
|
210
|
+
readonly "security-trust-unreadable": "Under isolated-runners, .chant/trust.json can't be read, so no runner-start statement can be checked.";
|
|
211
|
+
readonly "ci-workflow-green-undeclared": "Under ci.workflow, the declaration has no ci.green block, so no commit gets a verdict and no release can be cut.";
|
|
212
|
+
readonly "ci-workflow-no-pre-merge": "Under ci.workflow, ci.green.preMerge names no phase, so nothing says which checks run before the branch moves.";
|
|
213
|
+
readonly "ci-workflow-apply-in-green": "Under ci.workflow, a phase in ci.green.require matches an apply job, which would wait on its own verdict.";
|
|
214
|
+
readonly "ci-workflow-no-components": "Under ci.workflow, a member declares no component, so nothing of it can be cut or promoted.";
|
|
215
|
+
readonly "ci-workflow-no-environments": "Under ci.workflow, a member's chant.config.ts declares no environments, so a release has nowhere to be promoted to.";
|
|
216
|
+
readonly "ci-workflow-ungated-env": "Under ci.workflow, a component has no gate, so a promote to the last environment waits on no approval.";
|
|
217
|
+
readonly "ci-workflow-pipeline-missing": "Under ci.workflow, no pipeline file runs the plan job, the merge job or chant ci tick.";
|
|
218
|
+
readonly "ci-workflow-pipeline-differs": "Under ci.workflow, the merge job does not match the workflow: it applies under trunk-curated, or records under trunk-curated+apply-on-merge.";
|
|
219
|
+
readonly "ci-workflow-publish-missing": "Under ci.workflow, no pipeline file runs chant release publish.";
|
|
194
220
|
readonly "box-credential-declared": "A file in a box member's directory carries a literal secret: a credential's shape, or a literal where a credential goes. A variable or secret-manager reference is not one.";
|
|
195
221
|
readonly "box-capability-unbrokered": "A capability in a member's box block names no broker, so the box would hold its credential.";
|
|
196
222
|
readonly "box-fountain-callback-undeclared": "A box member builds a fountain Box, whose sandbox fountain gives a callback token scoped to its owner, and the member's box block does not declare the fountain-callback capability brokered by fountain with scope owner.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reason-codes.d.ts","sourceRoot":"","sources":["../../src/workspace/reason-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,sHAAsH;AACtH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,uHAAuH;AACvH,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,OAAO;aAElB,qBAAqB,EAAE,2EAA2E;aAClG,uBAAuB,EAAE,4DAA4D;aACrF,yBAAyB,EAAE,mEAAmE;aAC9F,qBAAqB,EAAE,wFAAwF;aAC/G,mBAAmB,EAAE,kDAAkD;aACvE,gBAAgB,EAAE,iEAAiE;aACnF,qBAAqB,EAAE,sHAAsH;aAE7I,sBAAsB,EAAE,mEAAmE;aAC3F,kBAAkB,EAAE,uBAAuB;aAC3C,kBAAkB,EAAE,wFAAwF;aAE5G,qBAAqB,EAAE,yDAAyD;aAEhF,aAAa,EAAE,wCAAwC;aACvD,cAAc,EAAE,gEAAgE;aAChF,mBAAmB,EAAE,oDAAoD;aACzE,YAAY,EAAE,gEAAgE;aAE9E,cAAc,EAAE,4EAA4E;aAC5F,gBAAgB,EAAE,2KAA2K;a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AuB,EAAE,oHAAoH;aAC7I,4BAA4B,EAAE,0GAA0G;aACxI,kCAAkC,EAAE,mHAAmH;aACvJ,4BAA4B,EAAE,0HAA0H;aAExJ,yBAAyB,EAAE,uGAAuG;aAClI,qBAAqB,EAAE,oDAAoD;aAC3E,kBAAkB,EAAE,+GAA+G;aACnI,oBAAoB,EAAE,sFAAsF;aAC5G,uBAAuB,EAAE,kEAAkE;aAC3F,4BAA4B,EAAE,kIAAkI;aAChK,0BAA0B,EAAE,sEAAsE;aAClG,oBAAoB,EAAE,mLAAmL;aACzM,sBAAsB,EAAE,8MAA8M;aACtO,qBAAqB,EAAE,sFAAsF;aAE7G,cAAc,EAAE,iCAAiC;aACjD,kBAAkB,EAAE,sDAAsD;CAClE,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC;AAE9C,mDAAmD;AACnD,eAAO,MAAM,YAAY,EAA2B,UAAU,EAAE,CAAC;AAEjE,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,eAAO,MAAM,WAAW,QAAkD,CAAC;AAE3E,2HAA2H;AAC3H,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAI/E"}
|
|
@@ -226,6 +226,34 @@ export const REASONS = {
|
|
|
226
226
|
"diagram-source-missing": "A declared diagram's source file does not exist in the tree read.",
|
|
227
227
|
"diagram-render-missing": "A declared diagram's render file does not exist in the tree read.",
|
|
228
228
|
"diagram-render-drift": "A declared diagram records a sourceHash, and the source's bytes now hash to something else: the render is stale for its source.",
|
|
229
|
+
// The security group checklists (check, #4168 step 7). Each is also a WSP finding.
|
|
230
|
+
"security-signers-missing": "The workspace opts into verified-releases, and there is no .chant/allowed_signers to verify a release's signature against.",
|
|
231
|
+
"security-release-gate-missing": "Under verified-releases, identity.gates has no release entry, or it names no class, so a cut is not held to a class of signers.",
|
|
232
|
+
"security-publish-allows-unsigned": "Under verified-releases, a pipeline file runs release publish with --allow-unsigned.",
|
|
233
|
+
"security-sbom-disabled": "Under supply-chain, a member's chant.config.ts sets sbom: false on a publish target.",
|
|
234
|
+
"security-sbom-unsourced": "Under supply-chain, a member publishes, names no sbom file and has no package-lock.json, pom.xml or Cargo.lock to write one from.",
|
|
235
|
+
"security-publish-no-provenance": "Under supply-chain, a pipeline file runs release publish without --require-provenance.",
|
|
236
|
+
"security-component-no-sbom": "Under supply-chain, a member's components have no generate-sbom step.",
|
|
237
|
+
"security-component-no-verify": "Under supply-chain, a member's components have no verify step.",
|
|
238
|
+
"security-signed-since-unset": "Under who-ran-it, ci.green sets no signedSince, or there is no ci.green block.",
|
|
239
|
+
"security-runner-untrusted": "Under who-ran-it, .chant/trust.json lists no runner key.",
|
|
240
|
+
"security-tick-no-key": "Under who-ran-it, a pipeline file runs ci tick with no runner key.",
|
|
241
|
+
"security-review-not-required": "Under review-rules, an apply job passes --no-require-review, which the group overrides.",
|
|
242
|
+
"security-attribution-any": "Under review-rules, identity.attribution is not identified.",
|
|
243
|
+
"security-gate-unsigned": "Under review-rules, an apply job names a gate identity.gates does not list, or identity.gates lists none.",
|
|
244
|
+
"security-runner-start-no-key": "Under isolated-runners, .chant/trust.json lists no key under runners for a provisioner to sign runner-start statements with.",
|
|
245
|
+
"security-runner-start-no-role": "Under isolated-runners, no principal under runners in .chant/trust.json holds the runner role.",
|
|
246
|
+
"security-trust-unreadable": "Under isolated-runners, .chant/trust.json can't be read, so no runner-start statement can be checked.",
|
|
247
|
+
// The ci.workflow requirements (check, #4168 step 6). Each is also a WSP151 finding.
|
|
248
|
+
"ci-workflow-green-undeclared": "Under ci.workflow, the declaration has no ci.green block, so no commit gets a verdict and no release can be cut.",
|
|
249
|
+
"ci-workflow-no-pre-merge": "Under ci.workflow, ci.green.preMerge names no phase, so nothing says which checks run before the branch moves.",
|
|
250
|
+
"ci-workflow-apply-in-green": "Under ci.workflow, a phase in ci.green.require matches an apply job, which would wait on its own verdict.",
|
|
251
|
+
"ci-workflow-no-components": "Under ci.workflow, a member declares no component, so nothing of it can be cut or promoted.",
|
|
252
|
+
"ci-workflow-no-environments": "Under ci.workflow, a member's chant.config.ts declares no environments, so a release has nowhere to be promoted to.",
|
|
253
|
+
"ci-workflow-ungated-env": "Under ci.workflow, a component has no gate, so a promote to the last environment waits on no approval.",
|
|
254
|
+
"ci-workflow-pipeline-missing": "Under ci.workflow, no pipeline file runs the plan job, the merge job or chant ci tick.",
|
|
255
|
+
"ci-workflow-pipeline-differs": "Under ci.workflow, the merge job does not match the workflow: it applies under trunk-curated, or records under trunk-curated+apply-on-merge.",
|
|
256
|
+
"ci-workflow-publish-missing": "Under ci.workflow, no pipeline file runs chant release publish.",
|
|
229
257
|
// A box that holds a credential (check, #2726). Each is also a WSP finding.
|
|
230
258
|
"box-credential-declared": "A file in a box member's directory carries a literal secret: a credential's shape, or a literal where a credential goes. A variable or secret-manager reference is not one.",
|
|
231
259
|
"box-capability-unbrokered": "A capability in a member's box block names no broker, so the box would hold its credential.",
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `release-candidates` read (#4168 4.2): which green commits of trunk a
|
|
3
|
+
* person can cut a release from, and what each one would ship.
|
|
4
|
+
*
|
|
5
|
+
* `chant release candidates [--env <env>] [--json]` prints this document.
|
|
6
|
+
* It walks the first-parent line of the trunk (`ci.green.branch`, else what
|
|
7
|
+
* `origin/HEAD` names, as `release cut` resolves it) from its tip back to the
|
|
8
|
+
* oldest commit an environment of the member runs, or `limit` commits when an
|
|
9
|
+
* environment runs no release yet. An environment runs the releases its
|
|
10
|
+
* latest deploy records name in `releaseDigest`, as the `releases` read
|
|
11
|
+
* (./releases.ts) says.
|
|
12
|
+
*
|
|
13
|
+
* Every green commit that is not revoked is a candidate. Its `changes` are
|
|
14
|
+
* the first-parent commits after the previous candidate up to and including
|
|
15
|
+
* it, so the candidates partition the walk. A revoked commit is listed under
|
|
16
|
+
* `skipped`, and its changes carry on into the next candidate. Commits after
|
|
17
|
+
* the newest candidate are listed under `pending`: they are not green yet, or
|
|
18
|
+
* went red.
|
|
19
|
+
*
|
|
20
|
+
* For each change it names the work items and other records its
|
|
21
|
+
* `Chant-Record` trailers name, the pull request a forge's squash subject
|
|
22
|
+
* names (`... (#123)`), and the merge record `_merges/<sha>.json` on
|
|
23
|
+
* `chant/lifecycle` when one exists (#4168 4.1). Each candidate lists the
|
|
24
|
+
* flags whose record files changed in its range, from the declared flag kinds
|
|
25
|
+
* (#4024).
|
|
26
|
+
*
|
|
27
|
+
* It reads local refs and tags only and never fetches. Git is read through a
|
|
28
|
+
* local `git` subprocess.
|
|
29
|
+
*/
|
|
30
|
+
export declare const RELEASE_CANDIDATES_CONTRACT_VERSION = 1;
|
|
31
|
+
export declare const RELEASE_CANDIDATES_SCHEMA_ID = "https://intentius.io/chant/schemas/workspace/release-candidates/v1/release-candidates.schema.json";
|
|
32
|
+
/** Why the read stopped. Closed; each code is in `reason-codes.ts`. */
|
|
33
|
+
export declare const RELEASE_CANDIDATES_ERROR_CODES: readonly ["not-a-git-repository", "ledger-unreadable"];
|
|
34
|
+
/** How many first-parent commits the walk reads when no environment bounds it. */
|
|
35
|
+
export declare const DEFAULT_CANDIDATE_LIMIT = 50;
|
|
36
|
+
/** A release an environment runs, by the components whose latest deploy names it. */
|
|
37
|
+
export interface RunningRelease {
|
|
38
|
+
releaseDigest: string;
|
|
39
|
+
label: string | null;
|
|
40
|
+
/** The commit it was cut from, or null when its release file is not on this clone's branch. */
|
|
41
|
+
commit: string | null;
|
|
42
|
+
components: string[];
|
|
43
|
+
}
|
|
44
|
+
export interface CandidateEnvironment {
|
|
45
|
+
env: string;
|
|
46
|
+
/** Newest cut first. Empty when no deploy there names a release. */
|
|
47
|
+
running: RunningRelease[];
|
|
48
|
+
}
|
|
49
|
+
/** One first-parent commit in a candidate's range. */
|
|
50
|
+
export interface CandidateChange {
|
|
51
|
+
commit: string;
|
|
52
|
+
subject: string;
|
|
53
|
+
/** Author date, ISO 8601. */
|
|
54
|
+
date: string;
|
|
55
|
+
/** The ids its `Chant-Record: work:<id>` trailers name. */
|
|
56
|
+
work: string[];
|
|
57
|
+
/** Every `Chant-Record` trailer, as `<kind>:<id>`. */
|
|
58
|
+
records: string[];
|
|
59
|
+
/** The pull request the subject names (`(#123)` at its end), the merge record's, or null. */
|
|
60
|
+
pr: number | null;
|
|
61
|
+
/** The merge record `_merges/<sha>.json` (#4168 4.1), as stored, or null when there is none. */
|
|
62
|
+
merge: Record<string, unknown> | null;
|
|
63
|
+
}
|
|
64
|
+
export interface CandidateFlag {
|
|
65
|
+
id: string;
|
|
66
|
+
member: string;
|
|
67
|
+
param: string;
|
|
68
|
+
/** The record file from the workspace root. */
|
|
69
|
+
path: string;
|
|
70
|
+
/** The value per environment, as the working tree's record writes it. */
|
|
71
|
+
values: Record<string, string | number | boolean>;
|
|
72
|
+
}
|
|
73
|
+
export interface Candidate {
|
|
74
|
+
commit: string;
|
|
75
|
+
subject: string;
|
|
76
|
+
date: string;
|
|
77
|
+
/** The environments that don't run this commit or a later one yet. */
|
|
78
|
+
newFor: string[];
|
|
79
|
+
/** The labels of releases already cut from it. */
|
|
80
|
+
cut: string[];
|
|
81
|
+
changes: CandidateChange[];
|
|
82
|
+
flags: CandidateFlag[];
|
|
83
|
+
}
|
|
84
|
+
export type ReleaseCandidatesDocument = {
|
|
85
|
+
$schema: string;
|
|
86
|
+
contract: number;
|
|
87
|
+
chant: string;
|
|
88
|
+
member: string | null;
|
|
89
|
+
branch: string;
|
|
90
|
+
/** The tip of the branch as this clone knows it. */
|
|
91
|
+
tip: string | null;
|
|
92
|
+
environments: CandidateEnvironment[];
|
|
93
|
+
/** The oldest commit an environment runs, where the walk stopped, or null when it read `limit` commits. */
|
|
94
|
+
since: string | null;
|
|
95
|
+
/** Newest first. */
|
|
96
|
+
candidates: Candidate[];
|
|
97
|
+
/** Revoked green commits, newest first. */
|
|
98
|
+
skipped: Array<{
|
|
99
|
+
commit: string;
|
|
100
|
+
subject: string;
|
|
101
|
+
reason: "revoked";
|
|
102
|
+
}>;
|
|
103
|
+
/** Commits after the newest candidate, newest first. */
|
|
104
|
+
pending: CandidateChange[];
|
|
105
|
+
} | {
|
|
106
|
+
$schema: string;
|
|
107
|
+
contract: number;
|
|
108
|
+
chant: string;
|
|
109
|
+
error: {
|
|
110
|
+
code: (typeof RELEASE_CANDIDATES_ERROR_CODES)[number];
|
|
111
|
+
message: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export interface ReleaseCandidatesQuery {
|
|
115
|
+
cwd: string;
|
|
116
|
+
/** Only this environment's view: the walk stops at what it runs, and `newFor` names only it. */
|
|
117
|
+
env?: string;
|
|
118
|
+
limit?: number;
|
|
119
|
+
}
|
|
120
|
+
/** The work ids and `<kind>:<id>` records a commit's `Chant-Record` trailers name. */
|
|
121
|
+
export declare function recordTrailers(trailers: Record<string, string[]>): {
|
|
122
|
+
work: string[];
|
|
123
|
+
records: string[];
|
|
124
|
+
};
|
|
125
|
+
/** The pull request number at the end of a squash subject, or null. */
|
|
126
|
+
export declare function prFromSubject(subject: string): number | null;
|
|
127
|
+
/** Read the release candidates of the member at `query.cwd`. */
|
|
128
|
+
export declare function releaseCandidatesDocument(query: ReleaseCandidatesQuery): Promise<ReleaseCandidatesDocument>;
|
|
129
|
+
//# sourceMappingURL=release-candidates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release-candidates.d.ts","sourceRoot":"","sources":["../../src/workspace/release-candidates.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAUH,eAAO,MAAM,mCAAmC,IAAI,CAAC;AACrD,eAAO,MAAM,4BAA4B,sGAAsG,CAAC;AAEhJ,uEAAuE;AACvE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