@intentius/chant 0.124.77 → 0.124.78
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/__fixtures__/notify-messages/events.d.ts +9 -0
- package/dist/__fixtures__/notify-messages/events.d.ts.map +1 -0
- package/dist/__fixtures__/notify-messages/events.js +21 -0
- package/dist/__fixtures__/product-words.d.ts +14 -0
- package/dist/__fixtures__/product-words.d.ts.map +1 -1
- package/dist/__fixtures__/product-words.js +11 -0
- package/dist/__fixtures__/terragucci-notify.d.ts +66 -0
- package/dist/__fixtures__/terragucci-notify.d.ts.map +1 -0
- package/dist/__fixtures__/terragucci-notify.js +133 -0
- package/dist/action-pins.d.ts +8 -0
- package/dist/action-pins.d.ts.map +1 -1
- package/dist/action-pins.js +9 -0
- package/dist/agent-guard.d.ts.map +1 -1
- package/dist/agent-guard.js +1 -2
- package/dist/ci-commit.d.ts +66 -2
- package/dist/ci-commit.d.ts.map +1 -1
- package/dist/ci-commit.js +148 -19
- package/dist/ci-own-jobs.d.ts.map +1 -1
- package/dist/ci-own-jobs.js +1 -2
- package/dist/ci-product-words.d.ts +18 -4
- package/dist/ci-product-words.d.ts.map +1 -1
- package/dist/ci-product-words.js +26 -6
- package/dist/ci-product.d.ts +1 -1
- package/dist/ci-product.d.ts.map +1 -1
- package/dist/ci-product.js +3 -4
- package/dist/cli/handlers/release.js +4 -4
- package/dist/components/pr-env-components.d.ts.map +1 -1
- package/dist/components/pr-env-components.js +1 -2
- package/dist/config.d.ts +14 -8
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -1
- package/dist/lexicon.d.ts +8 -0
- package/dist/lexicon.d.ts.map +1 -1
- package/dist/lexicon.js +9 -0
- package/dist/lifecycle/release-images.d.ts +77 -3
- package/dist/lifecycle/release-images.d.ts.map +1 -1
- package/dist/lifecycle/release-images.js +132 -6
- package/dist/notify-product.d.ts +11 -2
- package/dist/notify-product.d.ts.map +1 -1
- package/dist/notify-product.js +16 -4
- package/dist/notify-relay.d.ts.map +1 -1
- package/dist/notify-relay.js +1 -2
- package/dist/notify.d.ts +36 -4
- package/dist/notify.d.ts.map +1 -1
- package/dist/notify.js +31 -21
- package/dist/notify.schema.json +1 -0
- package/dist/op/activities/review-product.d.ts +111 -0
- package/dist/op/activities/review-product.d.ts.map +1 -0
- package/dist/op/activities/review-product.js +116 -0
- package/dist/policy-engine.d.ts.map +1 -1
- package/dist/policy-engine.js +1 -2
- package/dist/pr-forge-reads.d.ts +124 -0
- package/dist/pr-forge-reads.d.ts.map +1 -0
- package/dist/pr-forge-reads.js +322 -0
- package/dist/pr-forge.d.ts +14 -0
- package/dist/pr-forge.d.ts.map +1 -1
- package/dist/pr-forge.js +21 -13
- package/dist/pr-plan-note.d.ts +293 -0
- package/dist/pr-plan-note.d.ts.map +1 -0
- package/dist/pr-plan-note.js +362 -0
- package/dist/release-floors.d.ts +9 -1
- package/dist/release-floors.d.ts.map +1 -1
- package/dist/release-floors.js +9 -1
- package/dist/state-export.d.ts.map +1 -1
- package/dist/state-export.js +1 -2
- package/dist/state-migration.d.ts.map +1 -1
- package/dist/state-migration.js +1 -2
- package/dist/state-unlock.d.ts.map +1 -1
- package/dist/state-unlock.js +1 -2
- package/dist/wave-runtime.mjs +271 -271
- package/dist/workspace/release-workflow.d.ts.map +1 -1
- package/dist/workspace/release-workflow.js +2 -1
- package/package.json +1 -1
- package/src/__fixtures__/notify-messages/events.ts +23 -0
- package/src/__fixtures__/notify-messages/messages.json +50 -0
- package/src/__fixtures__/pr-loop/terragucci-plan.note.golden.md +53 -0
- package/src/__fixtures__/pr-loop/terragucci-plan.note.json +83 -0
- package/src/__fixtures__/product-words.ts +12 -0
- package/src/__fixtures__/review-agent/terragucci-review.json +94 -0
- package/src/__fixtures__/terragucci-notify.ts +170 -0
- package/src/action-pins.test.ts +12 -1
- package/src/action-pins.ts +11 -0
- package/src/agent-guard.test.ts +1 -2
- package/src/agent-guard.ts +1 -2
- package/src/ci-commit.test.ts +163 -0
- package/src/ci-commit.ts +168 -21
- package/src/ci-own-jobs.test.ts +1 -2
- package/src/ci-own-jobs.ts +1 -2
- package/src/ci-product-words.ts +35 -7
- package/src/ci-product.ts +3 -4
- package/src/cli/handlers/build-pr-loop-control.test.ts +1 -2
- package/src/cli/handlers/build-run-group.test.ts +1 -2
- package/src/cli/handlers/release.ts +5 -5
- package/src/components/pr-env-components.test.ts +1 -2
- package/src/components/pr-env-components.ts +1 -2
- package/src/config.ts +23 -3
- package/src/gate-policy-bundle.test.ts +1 -1
- package/src/lexicon.ts +10 -0
- package/src/lifecycle/release-images-dockerfile.test.ts +221 -0
- package/src/lifecycle/release-images.ts +167 -8
- package/src/notify-message-words.test.ts +186 -0
- package/src/notify-product.ts +17 -4
- package/src/notify-relay.ts +1 -2
- package/src/notify.schema.json +1 -0
- package/src/notify.ts +59 -19
- package/src/op/activities/review-product.test.ts +116 -0
- package/src/op/activities/review-product.ts +200 -0
- package/src/op/schedule-overdue.test.ts +26 -0
- package/src/policy-engine.test.ts +1 -2
- package/src/policy-engine.ts +1 -2
- package/src/pr-forge-reads.test.ts +285 -0
- package/src/pr-forge-reads.ts +424 -0
- package/src/pr-forge.ts +30 -16
- package/src/pr-plan-note.test.ts +105 -0
- package/src/pr-plan-note.ts +521 -0
- package/src/release-floors.ts +13 -1
- package/src/state-export.test.ts +1 -2
- package/src/state-export.ts +1 -2
- package/src/state-migration.test.ts +1 -2
- package/src/state-migration.ts +1 -2
- package/src/state-unlock.test.ts +1 -2
- package/src/state-unlock.ts +1 -2
- package/src/workspace/release-workflow.ts +2 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Events covering every line chant's Slack and Teams messages write (#4818).
|
|
3
|
+
* `messages.json` beside this holds what chant 0.124.77 rendered for each,
|
|
4
|
+
* with and without relay buttons, so a message given no words stays byte for
|
|
5
|
+
* byte as it was.
|
|
6
|
+
*/
|
|
7
|
+
import { type NotifyEvent } from "../../notify.js";
|
|
8
|
+
export declare const NOTIFY_MESSAGE_EVENTS: Record<string, NotifyEvent>;
|
|
9
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/__fixtures__/notify-messages/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAmB,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAOjE,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAS7D,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Events covering every line chant's Slack and Teams messages write (#4818).
|
|
3
|
+
* `messages.json` beside this holds what chant 0.124.77 rendered for each,
|
|
4
|
+
* with and without relay buttons, so a message given no words stays byte for
|
|
5
|
+
* byte as it was.
|
|
6
|
+
*/
|
|
7
|
+
import { makeNotifyEvent } from "../../notify.js";
|
|
8
|
+
const NOW = new Date("2026-10-11T12:00:00.000Z");
|
|
9
|
+
const DIGEST = "jcs1-sha256:" + "a".repeat(64);
|
|
10
|
+
const run = { url: "https://github.com/acme/db/actions/runs/42", forge: "github", repository: "acme/db", commit: "abc123" };
|
|
11
|
+
const at = (fields) => makeNotifyEvent(fields, { env: {}, now: NOW });
|
|
12
|
+
export const NOTIFY_MESSAGE_EVENTS = {
|
|
13
|
+
waiting: at({ source: "chant", event: "waiting", summary: "", project: "acme/db", wave: { number: 2, name: "prod", gate: "wave-2" }, targets: ["net", "app"], digest: DIGEST, approve: { command: `chant approve tf-apply wave-2 --plan ${DIGEST}` }, run, reportUrl: "https://reports.example/42" }),
|
|
14
|
+
review: at({ source: "chant", event: "waiting", summary: "wave 2 waits", wave: { number: 2, gate: "wave-2" }, targets: ["net"], digest: DIGEST, approve: { command: "chant approve tf-apply wave-2", review: { pr: 7, url: "https://github.com/acme/db/pull/7/files" } }, run }),
|
|
15
|
+
refused: at({ source: "sql-yodeler", event: "refused", summary: "", project: "acme/db", environment: "prod", targets: [], reason: "the plan moved after approval", exitCode: 4 }),
|
|
16
|
+
failed: at({ source: "plywood", event: "failed", summary: "shop-prod failed", targets: ["shop-prod"], reason: "pulumi up exited 255", run: { url: "https://gitlab.com/acme/db/-/jobs/9" } }),
|
|
17
|
+
drift: at({ source: "chant", event: "drift", summary: "2 members drifted: net, app", targets: ["net", "app"], drift: { changed: ["net", "app"], missing: ["db"], failed: ["dns"], fingerprint: "f1" }, run, reportUrl: "https://reports.example/43" }),
|
|
18
|
+
driftNone: at({ source: "chant", event: "drift", summary: "no members drifted", targets: [], drift: { changed: [], failed: ["dns"] } }),
|
|
19
|
+
ciRed: at({ source: "chant", event: "ci.red", summary: "", project: "acme/db", targets: [], ci: { branch: "main", commit: "0123456789abcdef", phase: "test", failedRun: { name: "unit", id: 5, conclusion: "failure", url: "https://github.com/acme/db/actions/runs/5" } } }),
|
|
20
|
+
ciGreen: at({ source: "chant", event: "ci.green", summary: "", project: "acme/db", targets: [], ci: { branch: "main", commit: "fedcba9876543210", red: "0123456789abcdef", culprit: "aaaabbbbccccdddd" } }),
|
|
21
|
+
};
|
|
@@ -75,4 +75,18 @@ export declare const YODEL: {
|
|
|
75
75
|
approval: "per-wave";
|
|
76
76
|
bin: string;
|
|
77
77
|
};
|
|
78
|
+
/** terragucci's plan note words (#4810), as its report/views.ts writes them. */
|
|
79
|
+
export declare const TERRAGUCCI_NOTE: {
|
|
80
|
+
footer: string;
|
|
81
|
+
artifact: string;
|
|
82
|
+
noReport: string;
|
|
83
|
+
marker: string;
|
|
84
|
+
anchors: {
|
|
85
|
+
member: string;
|
|
86
|
+
group: string;
|
|
87
|
+
};
|
|
88
|
+
overrideKey: string;
|
|
89
|
+
approvalRulesKey: string;
|
|
90
|
+
applyStage: string;
|
|
91
|
+
};
|
|
78
92
|
//# sourceMappingURL=product-words.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-words.d.ts","sourceRoot":"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AC1B,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,OAAO;QAAI,MAAM;QAAe,KAAK;;IACrC,WAAW;IACX,gBAAgB;IAChB,UAAU;CACX,CAAC"}
|
|
@@ -41,3 +41,14 @@ export const YODEL = {
|
|
|
41
41
|
approval: "per-wave",
|
|
42
42
|
bin: "yodel chant",
|
|
43
43
|
};
|
|
44
|
+
/** terragucci's plan note words (#4810), as its report/views.ts writes them. */
|
|
45
|
+
export const TERRAGUCCI_NOTE = {
|
|
46
|
+
footer: '<sub><img src="https://intentius.io/terragucci/brand/taco-small.png" width="26" height="16" alt=""> Posted by [terragucci](https://intentius.io/terragucci/)</sub>',
|
|
47
|
+
artifact: "terragucci-report",
|
|
48
|
+
noReport: "Planned in [this run]({run}), which keeps no report artifact; with `reports` set, the note links the report in the bucket.",
|
|
49
|
+
marker: "terragucci:waves",
|
|
50
|
+
anchors: { member: "root-{id}", group: "group-{id}" },
|
|
51
|
+
overrideKey: "policy.override",
|
|
52
|
+
approvalRulesKey: "approval_rules",
|
|
53
|
+
applyStage: "tf-apply",
|
|
54
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* terragucci's own Slack and Teams bodies, copied unchanged from
|
|
3
|
+
* packages/terragucci/src/notify.ts at terragucci commit c87473035270
|
|
4
|
+
* (origin/main, 2026-11-08), for #4818. chant's messages under terragucci's
|
|
5
|
+
* words must come out byte for byte as these do; once terragucci renders
|
|
6
|
+
* through chant's, it deletes the originals.
|
|
7
|
+
*
|
|
8
|
+
* Written here: the imports, `NOTIFY_SOURCE`, the notice types without the
|
|
9
|
+
* fields the renderers do not read, and `export` on `summary`. Every function
|
|
10
|
+
* body is terragucci's.
|
|
11
|
+
*/
|
|
12
|
+
import { type RelayButtons } from "../notify.js";
|
|
13
|
+
export declare const REPLAN_ACTION = "terragucci-replan";
|
|
14
|
+
type WaveEvent = "waiting" | "refused" | "failed";
|
|
15
|
+
export interface WaveNotice {
|
|
16
|
+
event: WaveEvent;
|
|
17
|
+
wave: number;
|
|
18
|
+
project: string;
|
|
19
|
+
roots: string[];
|
|
20
|
+
approve: string;
|
|
21
|
+
digest?: string;
|
|
22
|
+
review?: {
|
|
23
|
+
pr: number;
|
|
24
|
+
url: string;
|
|
25
|
+
};
|
|
26
|
+
outcome?: string;
|
|
27
|
+
run?: string;
|
|
28
|
+
report?: string;
|
|
29
|
+
relay?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface DriftNotice {
|
|
32
|
+
project: string;
|
|
33
|
+
roots: string[];
|
|
34
|
+
failed: string[];
|
|
35
|
+
run?: string;
|
|
36
|
+
report?: string;
|
|
37
|
+
replan?: string;
|
|
38
|
+
}
|
|
39
|
+
/** What happened to the wave: the first line, after `terragucci: `. */
|
|
40
|
+
export declare const summary: (n: WaveNotice) => string;
|
|
41
|
+
/** The first line of every message. */
|
|
42
|
+
export declare function headline(n: WaveNotice): string;
|
|
43
|
+
/**
|
|
44
|
+
* A Slack incoming webhook's body: one mrkdwn text. With the relay's signed
|
|
45
|
+
* button value (`relay`, which chant's sendNotify passes for a waiting wave
|
|
46
|
+
* when the relay key is set), the text as a block and chant's Approve and
|
|
47
|
+
* Decline buttons.
|
|
48
|
+
*/
|
|
49
|
+
export declare function slackMessage(n: WaveNotice, relay?: RelayButtons): {
|
|
50
|
+
text: string;
|
|
51
|
+
blocks?: Record<string, unknown>[];
|
|
52
|
+
};
|
|
53
|
+
/** The Teams reply that approves or declines a waiting wave through the relay's outgoing webhook: a mention of the relay, then chant's reply. */
|
|
54
|
+
export declare const teamsReply: (n: Pick<WaveNotice, "relay">, relay: RelayButtons, action: "approve" | "decline") => string;
|
|
55
|
+
/** A Teams incoming webhook's body (a Workflows webhook): one Adaptive Card. Its actions open the pull request's review page, under pr-review, and the run. */
|
|
56
|
+
export declare function teamsMessage(n: WaveNotice, relay?: RelayButtons): Record<string, unknown>;
|
|
57
|
+
export declare const driftHeadline: (n: DriftNotice) => string;
|
|
58
|
+
/** The drift notice for Slack: the text, and a Re-plan button that opens the page where the check runs again. */
|
|
59
|
+
export declare function slackDrift(n: DriftNotice): {
|
|
60
|
+
text: string;
|
|
61
|
+
blocks?: Record<string, unknown>[];
|
|
62
|
+
};
|
|
63
|
+
/** The drift notice for Teams: an Adaptive Card whose Re-plan button opens the page where the check runs again. */
|
|
64
|
+
export declare function teamsDrift(n: DriftNotice): Record<string, unknown>;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=terragucci-notify.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terragucci-notify.d.ts","sourceRoot":"","sources":["../../src/__fixtures__/terragucci-notify.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAsC,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAGlF,eAAO,MAAM,aAAa,sBAAsB,CAAC;AACjD,KAAK,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAQD,uEAAuE;AACvE,eAAO,MAAM,OAAO,MAAO,UAAU,KAAG,MAA+D,CAAC;AAExG,uCAAuC;AACvC,wBAAgB,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,CAE9C;AASD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;CAAE,CAItH;AAeD,iJAAiJ;AACjJ,eAAO,MAAM,UAAU,MAAO,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,SAAS,YAAY,UAAU,SAAS,GAAG,SAAS,KAAG,MAAyD,CAAC;AAExK,+JAA+J;AAC/J,wBAAgB,YAAY,CAAC,CAAC,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAiCzF;AAED,eAAO,MAAM,aAAa,MAAO,WAAW,KAAG,MACkM,CAAC;AAElP,iHAAiH;AACjH,wBAAgB,UAAU,CAAC,CAAC,EAAE,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;CAAE,CAU/F;AAED,mHAAmH;AACnH,wBAAgB,UAAU,CAAC,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA0BlE"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* terragucci's own Slack and Teams bodies, copied unchanged from
|
|
3
|
+
* packages/terragucci/src/notify.ts at terragucci commit c87473035270
|
|
4
|
+
* (origin/main, 2026-11-08), for #4818. chant's messages under terragucci's
|
|
5
|
+
* words must come out byte for byte as these do; once terragucci renders
|
|
6
|
+
* through chant's, it deletes the originals.
|
|
7
|
+
*
|
|
8
|
+
* Written here: the imports, `NOTIFY_SOURCE`, the notice types without the
|
|
9
|
+
* fields the renderers do not read, and `export` on `summary`. Every function
|
|
10
|
+
* body is terragucci's.
|
|
11
|
+
*/
|
|
12
|
+
import { slackRelayActions, teamsRelayReply } from "../notify.js";
|
|
13
|
+
const NOTIFY_SOURCE = "terragucci";
|
|
14
|
+
export const REPLAN_ACTION = "terragucci-replan";
|
|
15
|
+
const HEADLINE = {
|
|
16
|
+
waiting: "waits for an approval",
|
|
17
|
+
refused: "was refused: its plans changed after approval, so nothing in it was applied",
|
|
18
|
+
failed: "failed",
|
|
19
|
+
};
|
|
20
|
+
/** What happened to the wave: the first line, after `terragucci: `. */
|
|
21
|
+
export const summary = (n) => `wave ${n.wave} of ${n.project} ${HEADLINE[n.event]}`;
|
|
22
|
+
/** The first line of every message. */
|
|
23
|
+
export function headline(n) {
|
|
24
|
+
return `${NOTIFY_SOURCE}: ${summary(n)}`;
|
|
25
|
+
}
|
|
26
|
+
const rootsText = (n) => (n.roots.length > 0 ? n.roots.join(", ") : "see the run");
|
|
27
|
+
/** A Slack button. `url` makes it a link that opens a page. */
|
|
28
|
+
function slackButton(text, action, o) {
|
|
29
|
+
return { type: "button", action_id: action, text: { type: "plain_text", text }, ...(o.value ? { value: o.value } : {}), ...(o.url ? { url: o.url } : {}), ...(o.style ? { style: o.style } : {}) };
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A Slack incoming webhook's body: one mrkdwn text. With the relay's signed
|
|
33
|
+
* button value (`relay`, which chant's sendNotify passes for a waiting wave
|
|
34
|
+
* when the relay key is set), the text as a block and chant's Approve and
|
|
35
|
+
* Decline buttons.
|
|
36
|
+
*/
|
|
37
|
+
export function slackMessage(n, relay) {
|
|
38
|
+
const text = slackText(n);
|
|
39
|
+
if (!n.relay || !relay || n.event !== "waiting")
|
|
40
|
+
return { text };
|
|
41
|
+
return { text, blocks: [{ type: "section", text: { type: "mrkdwn", text } }, slackRelayActions(relay)] };
|
|
42
|
+
}
|
|
43
|
+
function slackText(n) {
|
|
44
|
+
return [
|
|
45
|
+
`*${headline(n)}*`,
|
|
46
|
+
...(n.review ? [`Review and approve: <${n.review.url}|pull request ${n.review.pr}>, then run the wave again`] : []),
|
|
47
|
+
`Roots: ${rootsText(n)}`,
|
|
48
|
+
...(n.digest ? [`Digest: \`${n.digest}\``] : []),
|
|
49
|
+
`${n.review ? "Or approve" : "Approve"}: \`${n.approve}\``,
|
|
50
|
+
...(n.outcome ? [`Outcome: ${n.outcome}`] : []),
|
|
51
|
+
...(n.run ? [`Run: <${n.run}>`] : []),
|
|
52
|
+
...(n.report ? [`Report: <${n.report}>`] : []),
|
|
53
|
+
].join("\n");
|
|
54
|
+
}
|
|
55
|
+
/** The Teams reply that approves or declines a waiting wave through the relay's outgoing webhook: a mention of the relay, then chant's reply. */
|
|
56
|
+
export const teamsReply = (n, relay, action) => `@${n.relay} ${teamsRelayReply(relay, action)}`;
|
|
57
|
+
/** A Teams incoming webhook's body (a Workflows webhook): one Adaptive Card. Its actions open the pull request's review page, under pr-review, and the run. */
|
|
58
|
+
export function teamsMessage(n, relay) {
|
|
59
|
+
const facts = [
|
|
60
|
+
{ title: "Wave", value: String(n.wave) },
|
|
61
|
+
...(n.review ? [{ title: "Review and approve", value: `pull request ${n.review.pr}, then run the wave again: ${n.review.url}` }] : []),
|
|
62
|
+
{ title: "Roots", value: rootsText(n) },
|
|
63
|
+
...(n.digest ? [{ title: "Digest", value: n.digest }] : []),
|
|
64
|
+
{ title: n.review ? "Or approve" : "Approve", value: n.approve },
|
|
65
|
+
...(n.outcome ? [{ title: "Outcome", value: n.outcome }] : []),
|
|
66
|
+
...(n.run ? [{ title: "Run", value: n.run }] : []),
|
|
67
|
+
];
|
|
68
|
+
return {
|
|
69
|
+
type: "message",
|
|
70
|
+
attachments: [
|
|
71
|
+
{
|
|
72
|
+
contentType: "application/vnd.microsoft.card.adaptive",
|
|
73
|
+
contentUrl: null,
|
|
74
|
+
content: {
|
|
75
|
+
$schema: "http://adaptivecards.io/schemas/adaptive-card.json",
|
|
76
|
+
type: "AdaptiveCard",
|
|
77
|
+
version: "1.4",
|
|
78
|
+
body: [
|
|
79
|
+
{ type: "TextBlock", text: headline(n), weight: "Bolder", wrap: true },
|
|
80
|
+
{ type: "FactSet", facts },
|
|
81
|
+
// Teams has no button that reaches a relay without a registered bot, so the card gives the reply its outgoing webhook reads.
|
|
82
|
+
...(n.relay && relay && n.event === "waiting"
|
|
83
|
+
? [{ type: "TextBlock", wrap: true, text: `Approve here: reply ${teamsReply(n, relay, "approve")}. Decline: reply ${teamsReply(n, relay, "decline")}.` }]
|
|
84
|
+
: []),
|
|
85
|
+
],
|
|
86
|
+
...(n.review || n.run ? { actions: [...(n.review ? [{ type: "Action.OpenUrl", title: "Review and approve", url: n.review.url }] : []), ...(n.run ? [{ type: "Action.OpenUrl", title: "Open the run", url: n.run }] : [])] } : {}),
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export const driftHeadline = (n) => `terragucci: drift in ${n.project}: ${n.roots.length > 0 ? `${n.roots.length} root${n.roots.length === 1 ? "" : "s"} changed outside Terraform` : "no drift found"}${n.failed.length > 0 ? `, ${n.failed.length} could not be refreshed` : ""}`;
|
|
93
|
+
/** The drift notice for Slack: the text, and a Re-plan button that opens the page where the check runs again. */
|
|
94
|
+
export function slackDrift(n) {
|
|
95
|
+
const text = [
|
|
96
|
+
`*${driftHeadline(n)}*`,
|
|
97
|
+
...(n.roots.length > 0 ? [`Drifted: ${n.roots.join(", ")}`] : []),
|
|
98
|
+
...(n.failed.length > 0 ? [`Not refreshed: ${n.failed.join(", ")}`] : []),
|
|
99
|
+
...(n.run ? [`Run: <${n.run}>`] : []),
|
|
100
|
+
...(n.report ? [`Report: <${n.report}>`] : []),
|
|
101
|
+
].join("\n");
|
|
102
|
+
if (!n.replan)
|
|
103
|
+
return { text };
|
|
104
|
+
return { text, blocks: [{ type: "section", text: { type: "mrkdwn", text } }, { type: "actions", block_id: "terragucci-drift", elements: [slackButton("Re-plan", REPLAN_ACTION, { url: n.replan })] }] };
|
|
105
|
+
}
|
|
106
|
+
/** The drift notice for Teams: an Adaptive Card whose Re-plan button opens the page where the check runs again. */
|
|
107
|
+
export function teamsDrift(n) {
|
|
108
|
+
const facts = [
|
|
109
|
+
...(n.roots.length > 0 ? [{ title: "Drifted", value: n.roots.join(", ") }] : []),
|
|
110
|
+
...(n.failed.length > 0 ? [{ title: "Not refreshed", value: n.failed.join(", ") }] : []),
|
|
111
|
+
...(n.run ? [{ title: "Run", value: n.run }] : []),
|
|
112
|
+
];
|
|
113
|
+
const actions = [...(n.replan ? [{ type: "Action.OpenUrl", title: "Re-plan", url: n.replan }] : []), ...(n.run ? [{ type: "Action.OpenUrl", title: "Open the run", url: n.run }] : [])];
|
|
114
|
+
return {
|
|
115
|
+
type: "message",
|
|
116
|
+
attachments: [
|
|
117
|
+
{
|
|
118
|
+
contentType: "application/vnd.microsoft.card.adaptive",
|
|
119
|
+
contentUrl: null,
|
|
120
|
+
content: {
|
|
121
|
+
$schema: "http://adaptivecards.io/schemas/adaptive-card.json",
|
|
122
|
+
type: "AdaptiveCard",
|
|
123
|
+
version: "1.4",
|
|
124
|
+
body: [
|
|
125
|
+
{ type: "TextBlock", text: driftHeadline(n), weight: "Bolder", wrap: true },
|
|
126
|
+
{ type: "FactSet", facts },
|
|
127
|
+
],
|
|
128
|
+
...(actions.length > 0 ? { actions } : {}),
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
};
|
|
133
|
+
}
|
package/dist/action-pins.d.ts
CHANGED
|
@@ -9,10 +9,17 @@
|
|
|
9
9
|
* forgejo lexicon moves `upload-artifact` and `download-artifact` to v3, whose
|
|
10
10
|
* rows are here too: v4 and later refuse to run on a Forgejo runner (#4008).
|
|
11
11
|
*
|
|
12
|
+
* actions/cache has a v4 row beside v6 (#4816): terragucci's Terragrunt cache
|
|
13
|
+
* step uses the action itself at the commit the restore and save rows pin.
|
|
14
|
+
* It follows them in the table, so `pinAtMajor` on that shared commit still
|
|
15
|
+
* starts from the restore row.
|
|
16
|
+
*
|
|
12
17
|
* Refresh a row by resolving the major tag to its commit:
|
|
13
18
|
*
|
|
14
19
|
* gh api repos/actions/checkout/commits/v6 --jq .sha
|
|
15
20
|
*/
|
|
21
|
+
/** The first chant whose table has the `cache4` row (#4816). */
|
|
22
|
+
export declare const CACHE4_PIN_FLOOR = "0.124.78";
|
|
16
23
|
export interface ActionPin {
|
|
17
24
|
/** The action, with its subpath: `actions/cache/restore`. */
|
|
18
25
|
readonly slug: string;
|
|
@@ -43,6 +50,7 @@ export declare const ACTION_PINS: {
|
|
|
43
50
|
readonly createGithubAppToken2: ActionPin;
|
|
44
51
|
readonly cacheRestore4: ActionPin;
|
|
45
52
|
readonly cacheSave4: ActionPin;
|
|
53
|
+
readonly cache4: ActionPin;
|
|
46
54
|
readonly uploadArtifact4: ActionPin;
|
|
47
55
|
readonly uploadArtifact3: ActionPin;
|
|
48
56
|
readonly downloadArtifact4: ActionPin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-pins.d.ts","sourceRoot":"","sources":["../src/action-pins.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"action-pins.d.ts","sourceRoot":"","sources":["../src/action-pins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,gEAAgE;AAChE,eAAO,MAAM,gBAAgB,aAAe,CAAC;AAE7C,MAAM,WAAW,SAAS;IACxB,6DAA6D;IAC7D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,mDAAmD;IACnD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,mEAAmE;IACnE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAID,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BsB,CAAC;AAE/C,6DAA6D;AAC7D,eAAO,MAAM,OAAO,MAAO,SAAS,KAAG,MAA8B,CAAC;AAKtE,8IAA8I;AAC9I,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKhD;AAED,sKAAsK;AACtK,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAQtD;AAED,8IAA8I;AAC9I,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAI5E;AAED,mFAAmF;AACnF,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGxD"}
|
package/dist/action-pins.js
CHANGED
|
@@ -9,10 +9,18 @@
|
|
|
9
9
|
* forgejo lexicon moves `upload-artifact` and `download-artifact` to v3, whose
|
|
10
10
|
* rows are here too: v4 and later refuse to run on a Forgejo runner (#4008).
|
|
11
11
|
*
|
|
12
|
+
* actions/cache has a v4 row beside v6 (#4816): terragucci's Terragrunt cache
|
|
13
|
+
* step uses the action itself at the commit the restore and save rows pin.
|
|
14
|
+
* It follows them in the table, so `pinAtMajor` on that shared commit still
|
|
15
|
+
* starts from the restore row.
|
|
16
|
+
*
|
|
12
17
|
* Refresh a row by resolving the major tag to its commit:
|
|
13
18
|
*
|
|
14
19
|
* gh api repos/actions/checkout/commits/v6 --jq .sha
|
|
15
20
|
*/
|
|
21
|
+
import { NEXT_RELEASE } from "./release-floors.js";
|
|
22
|
+
/** The first chant whose table has the `cache4` row (#4816). */
|
|
23
|
+
export const CACHE4_PIN_FLOOR = NEXT_RELEASE;
|
|
16
24
|
const pin = (slug, major, sha, tag) => ({ slug, major, sha, tag });
|
|
17
25
|
export const ACTION_PINS = {
|
|
18
26
|
checkout7: pin("actions/checkout", "v7", "3d3c42e5aac5ba805825da76410c181273ba90b1", "v7.0.1"),
|
|
@@ -35,6 +43,7 @@ export const ACTION_PINS = {
|
|
|
35
43
|
createGithubAppToken2: pin("actions/create-github-app-token", "v2", "fee1f7d63c2ff003460e3d139729b119787bc349", "v2.2.2"),
|
|
36
44
|
cacheRestore4: pin("actions/cache/restore", "v4", "0057852bfaa89a56745cba8c7296529d2fc39830", "v4.3.0"),
|
|
37
45
|
cacheSave4: pin("actions/cache/save", "v4", "0057852bfaa89a56745cba8c7296529d2fc39830", "v4.3.0"),
|
|
46
|
+
cache4: pin("actions/cache", "v4", "0057852bfaa89a56745cba8c7296529d2fc39830", "v4.3.0"),
|
|
38
47
|
uploadArtifact4: pin("actions/upload-artifact", "v4", "ea165f8d65b6e75b540449e92b4886f43607fa02", "v4.6.2"),
|
|
39
48
|
uploadArtifact3: pin("actions/upload-artifact", "v3", "ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5", "v3.2.1"),
|
|
40
49
|
downloadArtifact4: pin("actions/download-artifact", "v4", "d3f86a106a0bac45b974a628896c90dbdf5c8093", "v4.3.0"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-guard.d.ts","sourceRoot":"","sources":["../src/agent-guard.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agent-guard.d.ts","sourceRoot":"","sources":["../src/agent-guard.ts"],"names":[],"mappings":"AAoCA,qHAAqH;AACrH,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C,wHAAwH;AACxH,MAAM,WAAW,gBAAgB;IAC/B,0CAA0C;IAC1C,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACrC,yGAAyG;IACzG,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;I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;IACd,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;CACd;AAED,uEAAuE;AACvE,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,wBAAwB,GAAG,iBAAiB,CA4DhF"}
|
package/dist/agent-guard.js
CHANGED
|
@@ -33,9 +33,8 @@
|
|
|
33
33
|
import { spawnSync } from "node:child_process";
|
|
34
34
|
import { chmodSync, existsSync, mkdirSync, readFileSync, realpathSync, writeFileSync } from "node:fs";
|
|
35
35
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
36
|
-
import { NEXT_RELEASE } from "./release-floors.js";
|
|
37
36
|
/** The first chant with the shared agent guard (#4770). Products feature-detect on it, or on `installAgentGuard`. */
|
|
38
|
-
export const AGENT_GUARD_FLOOR =
|
|
37
|
+
export const AGENT_GUARD_FLOOR = "0.124.77";
|
|
39
38
|
/**
|
|
40
39
|
* The rule. It references nothing outside itself: the guard's script carries
|
|
41
40
|
* its source text, so keep it to its parameters and ES2020.
|
package/dist/ci-commit.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export declare const CI_COMMIT_FILES_FLOOR = "0.124.73";
|
|
|
41
41
|
* product's refusal text ({@link setCommitRefusalReply}) (#4724).
|
|
42
42
|
*/
|
|
43
43
|
export declare const CI_COMMIT_REPLY_FLOOR = "0.124.77";
|
|
44
|
+
/** The first chant whose commit job takes `commentArg`, one argument after the comment's word passed into the argv (#4820). */
|
|
45
|
+
export declare const CI_COMMIT_ARG_FLOOR = "0.124.78";
|
|
46
|
+
/** The first chant whose `commit land` reads {@link COMMIT_HARNESS_BREAK_ENV} in a BREAK arm of chant's e2e harness (#4836). */
|
|
47
|
+
export declare const CI_COMMIT_HARNESS_BREAK_FLOOR = "0.124.78";
|
|
44
48
|
/** What starts a commit run: a person's comment, or a check job's finding. */
|
|
45
49
|
export type CommitTrigger = "comment" | "check";
|
|
46
50
|
export declare const COMMIT_TRIGGERS: readonly CommitTrigger[];
|
|
@@ -108,6 +112,21 @@ export interface OpCommitSpec {
|
|
|
108
112
|
* on GitLab they are the project's CI/CD variables.
|
|
109
113
|
*/
|
|
110
114
|
commandEnv?: string[];
|
|
115
|
+
/**
|
|
116
|
+
* For `on: "comment"` (#4820): the comment may carry one argument after
|
|
117
|
+
* the word, `/<product> <word> <arg>`, which must match `pattern` (a
|
|
118
|
+
* regular expression's source, anchored with `^` and `$`) and chant's
|
|
119
|
+
* own plain-name check ({@link COMMIT_COMMENT_ARG}). It goes into the
|
|
120
|
+
* command's argv at index `position`, from 1 (after the program) to the
|
|
121
|
+
* argv's length (at the end). With no argument the argv is `command`. On
|
|
122
|
+
* GitLab the pipeline's {@link GITLAB_COMMIT_ARG_VAR} carries it.
|
|
123
|
+
*/
|
|
124
|
+
commentArg?: CommitCommentArg;
|
|
125
|
+
}
|
|
126
|
+
/** Where a commit job's command takes the comment's argument (#4820). */
|
|
127
|
+
export interface CommitCommentArg {
|
|
128
|
+
pattern: string;
|
|
129
|
+
position: number;
|
|
111
130
|
}
|
|
112
131
|
/** A commit job's settings, every default filled and checked. */
|
|
113
132
|
export interface CommitSettings {
|
|
@@ -129,6 +148,8 @@ export interface CommitSettings {
|
|
|
129
148
|
after: string[];
|
|
130
149
|
/** The job variables the command sees (#4724). */
|
|
131
150
|
commandEnv: string[];
|
|
151
|
+
/** The comment's argument and where it goes in the argv (#4820). */
|
|
152
|
+
commentArg?: CommitCommentArg;
|
|
132
153
|
}
|
|
133
154
|
export declare const COMMIT_MAX_RUNS = 3;
|
|
134
155
|
export declare const COMMIT_TIMEOUT_MINUTES = 10;
|
|
@@ -151,12 +172,15 @@ export declare const COMMIT_ENV: {
|
|
|
151
172
|
readonly env: "CHANT_COMMIT_ENV";
|
|
152
173
|
readonly mergeBase: "CHANT_COMMIT_MERGE_BASE";
|
|
153
174
|
readonly commandEnv: "CHANT_COMMIT_COMMAND_ENV";
|
|
175
|
+
readonly commentArg: "CHANT_COMMIT_COMMENT_ARG";
|
|
154
176
|
};
|
|
155
177
|
/** The variable the command reads the pull request's number from (#4724), such as for a default name. */
|
|
156
178
|
export declare const COMMIT_PR_ENV = "CHANT_COMMIT_PR";
|
|
157
179
|
/** GitLab starts no pipeline on a note: a pipeline of the default branch started with these runs a comment commit job. */
|
|
158
180
|
export declare const GITLAB_COMMIT_PR_VAR = "CHANT_COMMIT_PR";
|
|
159
181
|
export declare const GITLAB_COMMIT_WORD_VAR = "CHANT_COMMIT";
|
|
182
|
+
/** With `commentArg` (#4820): the argument, as the comment would give it after the word. */
|
|
183
|
+
export declare const GITLAB_COMMIT_ARG_VAR = "CHANT_COMMIT_ARG";
|
|
160
184
|
/** Where the jobs keep the decision, the exit code and the patch, from the job's directory. */
|
|
161
185
|
export declare const COMMIT_DIR = ".chant/commit";
|
|
162
186
|
/** The local ref the checkout fetches a pull request's head into. */
|
|
@@ -185,6 +209,12 @@ export declare const COMMIT_GIT_NAME = "chant commit";
|
|
|
185
209
|
export declare const COMMIT_GIT_EMAIL = "chant-commit@localhost";
|
|
186
210
|
/** The settings of commit job `name` from a spec's `commit`, checked. */
|
|
187
211
|
export declare function resolveCommitSpec(name: string, spec: OpCommitSpec, product?: string): CommitSettings;
|
|
212
|
+
/**
|
|
213
|
+
* The argv the command runs (#4820): `command`, with the comment's argument
|
|
214
|
+
* at `commentArg.position` when there is one. An argument the settings do
|
|
215
|
+
* not take, or one off its pattern, throws.
|
|
216
|
+
*/
|
|
217
|
+
export declare function commitArgv(s: Pick<CommitSettings, "command"> & Partial<Pick<CommitSettings, "commentArg">>, arg: string | undefined): string[];
|
|
188
218
|
/** The settings as the generated jobs' variables. */
|
|
189
219
|
export declare function commitSettingsEnv(s: CommitSettings): Record<string, string>;
|
|
190
220
|
/** The settings back from the job's variables, checked as {@link resolveCommitSpec} checks a spec. */
|
|
@@ -199,6 +229,8 @@ export interface CommitRequest {
|
|
|
199
229
|
pr: number;
|
|
200
230
|
/** The commenter, or the person who started the GitLab pipeline. Absent on the `check` trigger. */
|
|
201
231
|
user?: string;
|
|
232
|
+
/** The comment's argument (#4820), checked against `commentArg`. */
|
|
233
|
+
arg?: string;
|
|
202
234
|
}
|
|
203
235
|
/**
|
|
204
236
|
* The request from the run. `comment`: the event's comment on GitHub and
|
|
@@ -208,7 +240,7 @@ export interface CommitRequest {
|
|
|
208
240
|
* pull request the check ran for, from the `pull_request` event or the
|
|
209
241
|
* merge request pipeline.
|
|
210
242
|
*/
|
|
211
|
-
export declare function commitRequestFromRun(words: CiProductWords, s: Pick<CommitSettings, "on" | "comment"
|
|
243
|
+
export declare function commitRequestFromRun(words: CiProductWords, s: Pick<CommitSettings, "on" | "comment"> & Partial<Pick<CommitSettings, "commentArg">>, env: Record<string, string | undefined>, event: unknown): CommitRequest | {
|
|
212
244
|
refused: string;
|
|
213
245
|
};
|
|
214
246
|
/**
|
|
@@ -217,7 +249,7 @@ export declare function commitRequestFromRun(words: CiProductWords, s: Pick<Comm
|
|
|
217
249
|
* the pushed branch, asked of the forge on GitHub and Forgejo. A branch with
|
|
218
250
|
* no open pull request is refused as before, which the check trigger skips.
|
|
219
251
|
*/
|
|
220
|
-
export declare function resolveCommitRequest(words: CiProductWords, s: Pick<CommitSettings, "on" | "comment"
|
|
252
|
+
export declare function resolveCommitRequest(words: CiProductWords, s: Pick<CommitSettings, "on" | "comment"> & Partial<Pick<CommitSettings, "commentArg">>, env: Record<string, string | undefined>, event: unknown, forge?: Partial<Pick<PrForge, "findPullRequest">>): Promise<CommitRequest | {
|
|
221
253
|
refused: string;
|
|
222
254
|
}>;
|
|
223
255
|
/** How a run ended, as its record says. `skipped` is a run with nothing to do, which says nothing and is not recorded. */
|
|
@@ -235,6 +267,8 @@ export interface CommitDecision {
|
|
|
235
267
|
pr?: number;
|
|
236
268
|
branch?: string;
|
|
237
269
|
user?: string;
|
|
270
|
+
/** The comment's argument (#4820), which `commit run` puts in the argv. */
|
|
271
|
+
arg?: string;
|
|
238
272
|
/** With `mergeBase`: the base branch and the tip the command ran on. */
|
|
239
273
|
base?: string;
|
|
240
274
|
baseSha?: string;
|
|
@@ -322,6 +356,36 @@ export declare function runCommit(i: CommitRunInput): Promise<{
|
|
|
322
356
|
rc: string;
|
|
323
357
|
changed: boolean;
|
|
324
358
|
}>;
|
|
359
|
+
/**
|
|
360
|
+
* The push job's variable that turns one of land's checks off, for a BREAK
|
|
361
|
+
* arm of a product's e2e harness scenario: a comma list of
|
|
362
|
+
* {@link COMMIT_HARNESS_CHECKS}. It proves the check matters: with it off,
|
|
363
|
+
* the scenario's expectations must fail. Read only by `chant commit land`,
|
|
364
|
+
* and refused anywhere but chant's harness ({@link commitHarnessBreaks}).
|
|
365
|
+
* The command never sees it: `commandEnv` refuses every `CHANT_COMMIT_*`.
|
|
366
|
+
*/
|
|
367
|
+
export declare const COMMIT_HARNESS_BREAK_ENV = "CHANT_COMMIT_HARNESS_BREAK";
|
|
368
|
+
/**
|
|
369
|
+
* The checks the switch may turn off. `paths`: a change outside `allowed`
|
|
370
|
+
* and `allowedFiles` lands (a guarded path is still refused). `moved-base`:
|
|
371
|
+
* with `mergeBase`, a base that moved while the command ran lands the merge
|
|
372
|
+
* of the tip the command ran on.
|
|
373
|
+
*/
|
|
374
|
+
export declare const COMMIT_HARNESS_CHECKS: readonly ["paths", "moved-base"];
|
|
375
|
+
export type CommitHarnessCheck = (typeof COMMIT_HARNESS_CHECKS)[number];
|
|
376
|
+
/** The forge a job of chant's e2e harness reaches, `HARNESS_HOSTS.forgejo` (./e2e-harness/stack.ts). */
|
|
377
|
+
export declare const COMMIT_HARNESS_FORGE = "http://forgejo:3000";
|
|
378
|
+
/**
|
|
379
|
+
* The checks {@link COMMIT_HARNESS_BREAK_ENV} turns off, or why it is
|
|
380
|
+
* refused. It is read only in a BREAK arm of chant's e2e harness: `BREAK=1`,
|
|
381
|
+
* not GitLab, and a job whose `GITHUB_SERVER_URL` is the harness's Forgejo,
|
|
382
|
+
* {@link COMMIT_HARNESS_FORGE}. Unset or empty, no check is off.
|
|
383
|
+
*/
|
|
384
|
+
export declare function commitHarnessBreaks(env: Record<string, string | undefined>): {
|
|
385
|
+
checks: CommitHarnessCheck[];
|
|
386
|
+
} | {
|
|
387
|
+
refused: string;
|
|
388
|
+
};
|
|
325
389
|
/**
|
|
326
390
|
* A product's reply to a command that exited non-zero (#4724): the text that
|
|
327
391
|
* says why, from the command's exit code and the tail of its standard error,
|
package/dist/ci-commit.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-commit.d.ts","sourceRoot":"","sources":["../src/ci-commit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAQH,OAAO,EAA6E,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtH,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1C,uHAAuH;AACvH,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C,wIAAwI;AACxI,eAAO,MAAM,oBAAoB,aAAa,CAAC;AAC/C,qEAAqE;AACrE,eAAO,MAAM,qBAAqB,aAAa,CAAC;AAChD;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,aAAe,CAAC;AAElD,8EAA8E;AAC9E,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAChD,eAAO,MAAM,eAAe,EAAE,SAAS,aAAa,EAAyB,CAAC;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,aAAa,CAAC;IAClB,iIAAiI;IACjI,OAAO,CAAC,EAAE,MAAM,CAAC;I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