@intentius/chant 0.118.0 → 0.120.0
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/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/handlers/emulator.d.ts +24 -0
- package/dist/cli/handlers/emulator.d.ts.map +1 -1
- package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
- package/dist/cli/handlers/operator.d.ts.map +1 -1
- package/dist/cli/handlers/run.d.ts +15 -0
- package/dist/cli/handlers/run.d.ts.map +1 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/plugins.d.ts +9 -1
- package/dist/cli/plugins.d.ts.map +1 -1
- package/dist/cli/registry.d.ts +6 -0
- package/dist/cli/registry.d.ts.map +1 -1
- package/dist/components/driver-output.d.ts.map +1 -1
- package/dist/deep-observation.d.ts +22 -1
- package/dist/deep-observation.d.ts.map +1 -1
- package/dist/detectLexicon.d.ts +2 -1
- package/dist/detectLexicon.d.ts.map +1 -1
- package/dist/lifecycle/deep-diff.d.ts +9 -1
- package/dist/lifecycle/deep-diff.d.ts.map +1 -1
- package/dist/lifecycle/deep-observe.d.ts.map +1 -1
- package/dist/lifecycle/git.d.ts +12 -0
- package/dist/lifecycle/git.d.ts.map +1 -1
- package/dist/lifecycle/local-note.d.ts +14 -0
- package/dist/lifecycle/local-note.d.ts.map +1 -0
- package/dist/op/activities/converge.d.ts.map +1 -1
- package/dist/op/activities/lifecycle.d.ts +6 -1
- package/dist/op/activities/lifecycle.d.ts.map +1 -1
- package/dist/op/composites/watch-op.d.ts +8 -0
- package/dist/op/composites/watch-op.d.ts.map +1 -1
- package/dist/op/emulator-lifecycle.d.ts +31 -0
- package/dist/op/emulator-lifecycle.d.ts.map +1 -1
- package/dist/op/gate-summary.d.ts.map +1 -1
- package/dist/op/gate.d.ts +4 -1
- package/dist/op/gate.d.ts.map +1 -1
- package/dist/op/index.d.ts +3 -3
- package/dist/op/index.d.ts.map +1 -1
- package/dist/op/local-output.d.ts.map +1 -1
- package/dist/op/op-ir.d.ts +2 -0
- package/dist/op/op-ir.d.ts.map +1 -1
- package/dist/op/types.d.ts +10 -0
- package/dist/op/types.d.ts.map +1 -1
- package/dist/serializer.d.ts +11 -0
- package/dist/serializer.d.ts.map +1 -1
- package/dist/workspace/lineage-upgrade-cli.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/cli/commands/build.test.ts +29 -0
- package/src/cli/commands/build.ts +11 -2
- package/src/cli/handlers/emulator.test.ts +136 -4
- package/src/cli/handlers/emulator.ts +171 -14
- package/src/cli/handlers/lifecycle.ts +13 -2
- package/src/cli/handlers/operator.test.ts +9 -7
- package/src/cli/handlers/operator.ts +18 -23
- package/src/cli/handlers/run.test.ts +52 -0
- package/src/cli/handlers/run.ts +43 -3
- package/src/cli/lexicon-subpath-build.test.ts +129 -0
- package/src/cli/main.ts +24 -6
- package/src/cli/plugins.ts +26 -5
- package/src/cli/registry.ts +6 -0
- package/src/components/driver-output.ts +4 -1
- package/src/deep-observation.ts +29 -1
- package/src/detectLexicon.test.ts +38 -0
- package/src/detectLexicon.ts +7 -2
- package/src/lifecycle/deep-diff.test.ts +24 -1
- package/src/lifecycle/deep-diff.ts +15 -0
- package/src/lifecycle/deep-observe.ts +5 -2
- package/src/lifecycle/git.test.ts +18 -0
- package/src/lifecycle/git.ts +25 -0
- package/src/lifecycle/local-note.ts +17 -0
- package/src/op/activities/converge-push.test.ts +8 -6
- package/src/op/activities/converge.ts +2 -7
- package/src/op/activities/lifecycle-gate.test.ts +147 -0
- package/src/op/activities/lifecycle.test.ts +5 -0
- package/src/op/activities/lifecycle.ts +18 -6
- package/src/op/composites/composites.test.ts +5 -0
- package/src/op/composites/watch-op.ts +9 -0
- package/src/op/emulator-lifecycle.test.ts +13 -1
- package/src/op/emulator-lifecycle.ts +48 -0
- package/src/op/gate-summary.test.ts +6 -0
- package/src/op/gate-summary.ts +4 -1
- package/src/op/gate.ts +7 -25
- package/src/op/index.ts +3 -3
- package/src/op/local-output.test.ts +12 -0
- package/src/op/local-output.ts +5 -1
- package/src/op/op-ir.test.ts +9 -0
- package/src/op/op-ir.ts +4 -0
- package/src/op/types.ts +11 -0
- package/src/serializer.ts +11 -0
- package/src/workspace/ci-green-workflow.ts +1 -1
- package/src/workspace/lineage-upgrade-cli.ts +3 -1
|
@@ -190,7 +190,7 @@ export function renderCiGreenWorkflow(input: WorkflowInput): string {
|
|
|
190
190
|
`name: ${CI_GREEN_WORKFLOW_NAME}`,
|
|
191
191
|
"",
|
|
192
192
|
"# Tags each commit on the branch that passed its required phases ci/green/<sha>,",
|
|
193
|
-
"# and a green commit that later fails one ci/revoked/<sha
|
|
193
|
+
"# and a green commit that later fails one ci/revoked/<sha>.",
|
|
194
194
|
"on:",
|
|
195
195
|
" workflow_run:",
|
|
196
196
|
" workflows:",
|
|
@@ -17,6 +17,7 @@ import { formatError, formatInfo, formatSuccess, formatWarning } from "../cli/fo
|
|
|
17
17
|
import type { CommandContext } from "../cli/registry";
|
|
18
18
|
import { approveCommand, describeGateMismatch, evaluateGate, gateIsSealed, gitGateLedgerPort, type GateLedgerPort } from "../op/gate";
|
|
19
19
|
import { WORKSPACE_UPGRADE_GATE_OP } from "../op/gate-name";
|
|
20
|
+
import { LIFECYCLE_LOCAL_NOTE, isLifecycleLocalNote } from "../lifecycle/local-note";
|
|
20
21
|
import { LockError } from "./lineage-lock";
|
|
21
22
|
import { applyStagedUpgrade, describeStaged, stageUpgrade, type ChantRunner, type StagedUpgrade } from "./lineage-upgrade";
|
|
22
23
|
|
|
@@ -106,7 +107,8 @@ export async function upgradeCommand(opts: UpgradeCommandOptions): Promise<Upgra
|
|
|
106
107
|
if (!opts.json) {
|
|
107
108
|
const sealed = await gateIsSealed(gate);
|
|
108
109
|
if (check.mismatch) console.error(formatWarning({ message: describeGateMismatch(WORKSPACE_UPGRADE_GATE_OP, gate, check.mismatch, sealed) }));
|
|
109
|
-
if (check.pushWarning) console.error(
|
|
110
|
+
if (isLifecycleLocalNote(check.pushWarning)) console.error(formatInfo(LIFECYCLE_LOCAL_NOTE));
|
|
111
|
+
else if (check.pushWarning) console.error(formatWarning({ message: check.pushWarning }));
|
|
110
112
|
if (check.quorum) console.error(formatInfo(`approvals so far: ${check.quorum.approvers.length} of ${check.quorum.need}`));
|
|
111
113
|
console.error(
|
|
112
114
|
formatInfo(
|