@cnc-tools/storm 0.16.0 → 0.17.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/application.d.ts +22 -13
- package/dist/application.js +21 -10
- package/dist/bin/run.d.ts +18 -0
- package/dist/bin/run.js +31 -0
- package/dist/bin/storm.js +42 -26
- package/dist/build-info.js +1 -1
- package/dist/chunks/{chunk-5CCP36QQ.js → chunk-2RNDPDTJ.js} +2 -2
- package/dist/chunks/chunk-2VP4GRJM.js +1219 -0
- package/dist/chunks/{chunk-P357TZAY.js → chunk-4O5C2XGJ.js} +18 -15
- package/dist/chunks/{chunk-VL7WFTVQ.js → chunk-4WAMTUWZ.js} +419 -340
- package/dist/chunks/{chunk-OIY3DMF2.js → chunk-6UHIJXZG.js} +3 -3
- package/dist/chunks/{chunk-CN4EFA5J.js → chunk-72ZFEMAW.js} +1 -1
- package/dist/chunks/{chunk-CK2GZEPK.js → chunk-7DZE67QM.js} +2 -2
- package/dist/chunks/{chunk-VUPZH7J2.js → chunk-BCBKYOHW.js} +1 -1
- package/dist/chunks/{chunk-2MAD5NKK.js → chunk-CKGZA25H.js} +1 -18
- package/dist/chunks/{chunk-ZG3WQ4UF.js → chunk-D27KILIA.js} +1 -1
- package/dist/chunks/{chunk-V4IKA3WI.js → chunk-DADEYJDW.js} +24 -17
- package/dist/chunks/{chunk-R7XVBZOY.js → chunk-EEENLQHE.js} +59 -11
- package/dist/chunks/chunk-F4MOYHRY.js +198 -0
- package/dist/chunks/{chunk-HVNK3I45.js → chunk-FNBB6V4R.js} +1 -1
- package/dist/chunks/{chunk-G3PHMXH5.js → chunk-GRT3UIBV.js} +18 -1
- package/dist/chunks/chunk-HP3CURSZ.js +88 -0
- package/dist/chunks/{chunk-DWEAHX4T.js → chunk-HWIQ2S7K.js} +5 -5
- package/dist/chunks/chunk-JN3YY6ZH.js +2166 -0
- package/dist/chunks/{chunk-TJNFVNKR.js → chunk-LKTZ5OXS.js} +1 -1
- package/dist/chunks/{chunk-3L52KNQA.js → chunk-M7EKRGVD.js} +8 -8
- package/dist/chunks/chunk-MR77L2GK.js +340 -0
- package/dist/chunks/{chunk-DC2CDHNK.js → chunk-RNAS7JHE.js} +1438 -445
- package/dist/chunks/{chunk-FCQUJDA4.js → chunk-RWIXDDCK.js} +4 -189
- package/dist/chunks/{chunk-5VXBKPW6.js → chunk-WV3DP6NR.js} +1 -1
- package/dist/chunks/{chunk-AWBSONHB.js → chunk-XBDRVFEV.js} +55 -16
- package/dist/chunks/{chunk-FOZWA52V.js → chunk-YEPFSLQR.js} +480 -375
- package/dist/chunks/{live-app-WECQOQ4C.js → live-app-R76JQXZL.js} +15 -13
- package/dist/commands/exec/across-sandboxes-outcomes.d.ts +1 -1
- package/dist/commands/exec/across-sandboxes-outcomes.js +2 -2
- package/dist/commands/exec/before-run.d.ts +123 -0
- package/dist/commands/exec/before-run.js +105 -0
- package/dist/commands/exec/command.d.ts +31 -2
- package/dist/commands/exec/command.js +31 -95
- package/dist/commands/exec/driver-plan.d.ts +9 -4
- package/dist/commands/exec/driver-plan.js +8 -8
- package/dist/commands/exec/exec-words.js +1 -1
- package/dist/commands/exec/execute-run.d.ts +39 -0
- package/dist/commands/exec/execute-run.js +325 -0
- package/dist/commands/exec/live-view.d.ts +3 -3
- package/dist/commands/exec/live-view.js +16 -15
- package/dist/commands/exec/metadata.js +1 -1
- package/dist/commands/exec/mint-failed.d.ts +38 -0
- package/dist/commands/exec/mint-failed.js +27 -4
- package/dist/commands/exec/outcomes.d.ts +34 -8
- package/dist/commands/exec/outcomes.js +30 -23
- package/dist/commands/exec/plan-run.d.ts +58 -150
- package/dist/commands/exec/plan-run.js +232 -88
- package/dist/commands/exec/progress.d.ts +10 -6
- package/dist/commands/exec/progress.js +38 -25
- package/dist/commands/exec/run-bin.d.ts +11 -11
- package/dist/commands/exec/run-bin.js +9 -9
- package/dist/commands/exec/run-flags.d.ts +69 -0
- package/dist/commands/exec/run-flags.js +58 -0
- package/dist/commands/exec/run-metadata.js +4 -4
- package/dist/commands/exec/run-summary.d.ts +58 -0
- package/dist/commands/exec/run-summary.js +205 -0
- package/dist/commands/exec/runner-refusals.d.ts +82 -0
- package/dist/commands/exec/runner-refusals.js +71 -0
- package/dist/commands/exec/sandbox-progress.js +3 -0
- package/dist/commands/exec/stopped-outcome.d.ts +12 -0
- package/dist/commands/exec/stopped-outcome.js +77 -0
- package/dist/commands/exec/view.d.ts +20 -11
- package/dist/commands/exec/view.js +103 -47
- package/dist/commands/runs/facts.d.ts +7 -3
- package/dist/commands/runs/facts.js +17 -8
- package/dist/commands/runs/list/command.d.ts +14 -6
- package/dist/commands/runs/list/command.js +10 -10
- package/dist/commands/runs/list/outcomes.d.ts +7 -3
- package/dist/commands/runs/logs/command.js +10 -10
- package/dist/commands/runs/show/command.d.ts +14 -6
- package/dist/commands/runs/show/command.js +30 -28
- package/dist/commands/runs/show/outcomes.d.ts +7 -3
- package/dist/commands/runs/show/outcomes.js +7 -5
- package/dist/commands/snapshots/access.d.ts +111 -0
- package/dist/commands/snapshots/access.js +96 -0
- package/dist/commands/snapshots/build/command.d.ts +360 -93
- package/dist/commands/snapshots/build/command.js +446 -150
- package/dist/commands/snapshots/build/metadata.d.ts +10 -0
- package/dist/commands/snapshots/build/metadata.js +31 -11
- package/dist/commands/snapshots/build/outcomes.d.ts +234 -43
- package/dist/commands/snapshots/build/outcomes.js +200 -36
- package/dist/commands/snapshots/list/command.d.ts +366 -25
- package/dist/commands/snapshots/list/command.js +296 -66
- package/dist/commands/snapshots/list/metadata.d.ts +16 -0
- package/dist/commands/snapshots/list/metadata.js +29 -6
- package/dist/commands/snapshots/list/outcomes.d.ts +245 -13
- package/dist/commands/snapshots/list/outcomes.js +221 -50
- package/dist/commands/snapshots/metadata.js +1 -1
- package/dist/commands/snapshots/prune/command.d.ts +430 -0
- package/dist/commands/snapshots/prune/command.js +161 -0
- package/dist/commands/snapshots/prune/metadata.d.ts +28 -0
- package/dist/commands/snapshots/prune/metadata.js +39 -0
- package/dist/commands/snapshots/prune/outcomes.d.ts +208 -0
- package/dist/commands/snapshots/prune/outcomes.js +78 -0
- package/dist/commands/suites/list/command.js +17 -17
- package/dist/commands/suites/list/outcomes.js +2 -2
- package/dist/commands/test/command.d.ts +31 -2
- package/dist/commands/test/command.js +49 -252
- package/dist/commands/test/outcomes.d.ts +15 -1
- package/dist/config/check-runner.d.ts +3 -3
- package/dist/config/check-runner.js +8 -7
- package/dist/config/credential-resolver.d.ts +50 -5
- package/dist/config/credential-resolver.js +51 -19
- package/dist/config/credential-settle.d.ts +6 -2
- package/dist/config/credential-settle.js +11 -5
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +1 -1
- package/dist/config/runner.d.ts +5 -5
- package/dist/config/runner.js +1 -1
- package/dist/config/schema.d.ts +2 -2
- package/dist/config/schema.js +1 -1
- package/dist/config-file/define.d.ts +1 -1
- package/dist/config-file/define.js +1 -1
- package/dist/config-file/runner.d.ts +5 -5
- package/dist/config-file/toolchain.d.ts +1 -1
- package/dist/config-file/toolchain.js +2 -2
- package/dist/context.d.ts +8 -6
- package/dist/context.js +7 -6
- package/dist/core/across-sandboxes.d.ts +7 -6
- package/dist/core/across-sandboxes.js +123 -152
- package/dist/core/coordinator.d.ts +166 -0
- package/dist/core/coordinator.js +233 -0
- package/dist/core/events.d.ts +2 -2
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +1 -1
- package/dist/core/outcomes.d.ts +148 -0
- package/dist/core/{sandbox-end.js → outcomes.js} +28 -4
- package/dist/core/resources.d.ts +31 -53
- package/dist/core/resources.js +32 -70
- package/dist/core/run-state.d.ts +7 -1
- package/dist/core/run-state.js +2 -0
- package/dist/core/run.d.ts +32 -236
- package/dist/core/run.js +106 -266
- package/dist/core/state-directory.d.ts +1 -1
- package/dist/core/state-directory.js +2 -2
- package/dist/credential/gateways.d.ts +15 -1
- package/dist/credential/index.d.ts +4 -3
- package/dist/credential/index.js +3 -2
- package/dist/credential/live/vercel-cli-gateway.d.ts +1 -1
- package/dist/credential/live/vercel-cli-gateway.js +1 -1
- package/dist/credential/live/vercel-oidc-token-gateway.d.ts +11 -0
- package/dist/credential/live/vercel-oidc-token-gateway.js +16 -0
- package/dist/credential/source.d.ts +73 -6
- package/dist/credential/source.js +55 -2
- package/dist/extension-commands.d.ts +6 -1
- package/dist/extension-commands.js +15 -1
- package/dist/extensions/testserver/commands/pool/create/command.d.ts +35 -2
- package/dist/extensions/testserver/commands/pool/create/command.js +7 -7
- package/dist/extensions/testserver/commands/pool/create/metadata.js +5 -5
- package/dist/extensions/testserver/commands/pool/create/outcomes.d.ts +17 -1
- package/dist/extensions/testserver/commands/pool/list/command.js +4 -4
- package/dist/extensions/testserver/credential-facts.d.ts +6 -2
- package/dist/extensions/testserver/credential-facts.js +29 -11
- package/dist/extensions/testserver/lifecycle.js +7 -1
- package/dist/extensions/testserver/limit.d.ts +3 -0
- package/dist/extensions/testserver/limit.js +3 -0
- package/dist/extensions/testserver/provision.d.ts +8 -1
- package/dist/extensions/testserver/provision.js +8 -3
- package/dist/extensions/testserver/refusals.d.ts +6 -1
- package/dist/extensions/testserver/refusals.js +16 -1
- package/dist/extensions/testserver/resource.d.ts +1 -1
- package/dist/extensions/testserver/resource.js +1 -1
- package/dist/extensions/testserver/result.d.ts +1 -1
- package/dist/extensions/testserver/result.js +9 -4
- package/dist/planning/driver-file-lists.d.ts +0 -15
- package/dist/planning/driver-file-lists.js +2 -21
- package/dist/planning/plan-only.d.ts +3 -14
- package/dist/planning/plan-only.js +11 -20
- package/dist/planning/run-kind-flags.js +2 -2
- package/dist/planning/run-plan.d.ts +45 -12
- package/dist/planning/run-plan.js +4 -3
- package/dist/planning/suites.d.ts +1 -1
- package/dist/planning/suites.js +2 -2
- package/dist/planning/test-plan.d.ts +9 -0
- package/dist/planning/test-plan.js +9 -0
- package/dist/run-directory/recording.js +2 -2
- package/dist/run-directory/run-record.d.ts +21 -6
- package/dist/run-directory/run-record.js +12 -9
- package/dist/runner/base.js +1 -1
- package/dist/runner/build-snapshots.d.ts +55 -29
- package/dist/runner/build-snapshots.js +130 -29
- package/dist/runner/context.d.ts +15 -7
- package/dist/runner/context.js +19 -6
- package/dist/runner/events.d.ts +16 -10
- package/dist/runner/gateways.d.ts +87 -21
- package/dist/runner/gateways.js +1 -1
- package/dist/runner/index.d.ts +11 -7
- package/dist/runner/index.js +9 -4
- package/dist/runner/live/sandbox-errors.d.ts +2 -0
- package/dist/runner/live/sandbox-errors.js +4 -0
- package/dist/runner/live/sandbox-gateway.js +129 -3
- package/dist/runner/live/snapshot-index-gateway.d.ts +12 -0
- package/dist/runner/live/{snapshot-cache-gateway.js → snapshot-index-gateway.js} +11 -11
- package/dist/runner/live/snapshot-records.js +6 -7
- package/dist/runner/local-snapshot-index.d.ts +199 -0
- package/dist/runner/local-snapshot-index.js +211 -0
- package/dist/runner/network-policy.d.ts +6 -6
- package/dist/runner/network-policy.js +7 -7
- package/dist/runner/policy-writes.d.ts +1 -1
- package/dist/runner/policy-writes.js +1 -1
- package/dist/runner/prepare.d.ts +14 -14
- package/dist/runner/prepare.js +20 -11
- package/dist/runner/ready.d.ts +18 -10
- package/dist/runner/ready.js +104 -33
- package/dist/runner/sandboxed-command.d.ts +3 -3
- package/dist/runner/sandboxed-command.js +3 -3
- package/dist/runner/scope.d.ts +10 -6
- package/dist/runner/scope.js +10 -3
- package/dist/runner/secrets.d.ts +13 -13
- package/dist/runner/secrets.js +18 -15
- package/dist/runner/session.d.ts +8 -8
- package/dist/runner/session.js +3 -3
- package/dist/runner/shared-snapshot-entry.d.ts +92 -0
- package/dist/runner/shared-snapshot-entry.js +168 -0
- package/dist/runner/shared-snapshot-list.d.ts +81 -0
- package/dist/runner/shared-snapshot-list.js +155 -0
- package/dist/runner/shared-snapshot-lookup.d.ts +51 -0
- package/dist/runner/shared-snapshot-lookup.js +118 -0
- package/dist/runner/shared-snapshot-prune.d.ts +58 -0
- package/dist/runner/shared-snapshot-prune.js +133 -0
- package/dist/runner/snapshot-build.d.ts +42 -14
- package/dist/runner/snapshot-build.js +32 -29
- package/dist/runner/snapshot-choice.js +1 -1
- package/dist/runner/snapshot-inspect.d.ts +39 -40
- package/dist/runner/snapshot-inspect.js +55 -35
- package/dist/runner/snapshot-key.d.ts +13 -12
- package/dist/runner/snapshot-key.js +13 -12
- package/dist/runner/steps.d.ts +1 -1
- package/dist/runner/steps.js +1 -1
- package/dist/runner/{recipe-check.d.ts → vercel-sandbox-check.d.ts} +2 -2
- package/dist/runner/{recipe-check.js → vercel-sandbox-check.js} +3 -2
- package/dist/runner/{recipe.d.ts → vercel-sandbox-options.d.ts} +24 -23
- package/dist/runner/{recipe.js → vercel-sandbox-options.js} +70 -69
- package/dist/runner/{recipe-secrets.d.ts → vercel-sandbox-secrets.d.ts} +6 -6
- package/dist/runner/{recipe-secrets.js → vercel-sandbox-secrets.js} +20 -20
- package/dist/sdk/extension/commands.d.ts +8 -3
- package/dist/sdk/extension/commands.js +3 -1
- package/dist/sdk/extension/credential-diagnosis.d.ts +3 -1
- package/dist/sdk/extension/credential-diagnosis.js +25 -5
- package/dist/sdk/extension/credential-source.d.ts +20 -3
- package/dist/sdk/extension/credential-source.js +4 -4
- package/dist/sdk/extension/index.d.ts +3 -2
- package/dist/sdk/extension/index.js +2 -1
- package/dist/sdk/extension/resource-definition.d.ts +1 -1
- package/dist/sdk/extension/secret-source.d.ts +1 -1
- package/dist/sdk/extension/secret-source.js +1 -1
- package/dist/sdk/extension/vercel-oidc-facts.d.ts +20 -0
- package/dist/sdk/extension/vercel-oidc-facts.js +20 -0
- package/dist/shared/cleanup.d.ts +3 -3
- package/dist/shared/cleanup.js +15 -5
- package/dist/shared/snapshot-text.d.ts +4 -4
- package/dist/shared/snapshot-text.js +11 -11
- package/dist/time/duration.js +1 -1
- package/package.json +3 -2
- package/skills/overview.md +4 -4
- package/skills/plan-runs.md +1 -1
- package/skills/read-run-output.md +6 -6
- package/dist/chunks/chunk-7EENF73W.js +0 -782
- package/dist/chunks/chunk-Z5PBVG3Y.js +0 -2599
- package/dist/commands/exec/across-sandboxes-run.d.ts +0 -180
- package/dist/commands/exec/across-sandboxes-run.js +0 -339
- package/dist/commands/exec/plan-only.d.ts +0 -10
- package/dist/commands/exec/plan-only.js +0 -45
- package/dist/commands/exec/run-command.d.ts +0 -475
- package/dist/commands/exec/run-command.js +0 -603
- package/dist/commands/exec/run-planned.d.ts +0 -20
- package/dist/commands/exec/run-planned.js +0 -22
- package/dist/commands/exec/sandbox-view.d.ts +0 -19
- package/dist/commands/exec/sandbox-view.js +0 -72
- package/dist/commands/test/plan.d.ts +0 -92
- package/dist/commands/test/plan.js +0 -125
- package/dist/core/sandbox-end.d.ts +0 -64
- package/dist/runner/live/snapshot-cache-gateway.d.ts +0 -12
- package/dist/runner/snapshot-cache.d.ts +0 -148
- package/dist/runner/snapshot-cache.js +0 -126
|
@@ -8,13 +8,23 @@ export declare const metadata: {
|
|
|
8
8
|
valueLabel: string;
|
|
9
9
|
description: string;
|
|
10
10
|
};
|
|
11
|
+
allSuites: {
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
11
14
|
full: {
|
|
12
15
|
description: string;
|
|
13
16
|
};
|
|
17
|
+
publish: {
|
|
18
|
+
description: string;
|
|
19
|
+
};
|
|
14
20
|
base: {
|
|
15
21
|
valueLabel: string;
|
|
16
22
|
description: string;
|
|
17
23
|
};
|
|
24
|
+
credential: {
|
|
25
|
+
valueLabel: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
18
28
|
scope: {
|
|
19
29
|
valueLabel: string;
|
|
20
30
|
description: string;
|
|
@@ -1,37 +1,57 @@
|
|
|
1
1
|
// src/commands/snapshots/build/metadata.ts
|
|
2
2
|
var metadata = {
|
|
3
|
-
description: "Build one
|
|
4
|
-
summary: "Build a
|
|
3
|
+
description: "Build one runner snapshot that the local snapshot index lacks, with no test run: it acquires no resource, runs no command, and writes no run directory. It obtains a credential as a run does (minting one by default, or reading VERCEL_OIDC_TOKEN with --credential vercel-oidc), and prints the runner's progress lines and step output as a run does when stderr isn't a terminal. With no flag it builds at HEAD's merge-base with a base ref, which a run builds by itself when nothing fits. With --base <ref> it builds at the commit the ref names, such as a base ref commit that later branches will start from. A run starts only from a snapshot at its merge-base or at a commit behind it on the base ref, so a snapshot of a branch commit, or of a commit after the merge-base, is unused until a run's merge-base is that commit or a commit after it. When the local snapshot index holds a runner snapshot at the commit for the team and project with more than an hour left, it starts nothing, unless --full. With --publish it also publishes the snapshot to the shared snapshot index of the Vercel project, where runs on other machines find it: it checks the shared snapshot index instead of the local snapshot index, and keeps the build sandbox stopped under the index entry's name. With --all-suites it builds, in turn, each distinct Vercel Sandbox runner that the top-level runner and every suite's effective runner use, skipping launchMachine() runners. Every other sandbox it starts is stopped and deleted, however it ends.",
|
|
4
|
+
summary: "Build a runner snapshot the local snapshot index lacks.",
|
|
5
5
|
help: {
|
|
6
|
-
usages: [
|
|
6
|
+
usages: [
|
|
7
|
+
"[--suite <NAME> | --all-suites] [--full] [--publish] [--base <REF>] [--credential <SOURCE>] [--scope <TEAM> --project <PROJECT>]"
|
|
8
|
+
],
|
|
7
9
|
fields: {
|
|
8
10
|
suite: {
|
|
9
11
|
valueLabel: "NAME",
|
|
10
|
-
description: "Build for the named suite's effective runner from storm.config.ts instead of the top-level runner."
|
|
12
|
+
description: "Build for the named suite's effective runner from storm.config.ts instead of the top-level runner. Not with --all-suites."
|
|
13
|
+
},
|
|
14
|
+
allSuites: {
|
|
15
|
+
description: "Build for the top-level runner and each suite's effective runner, in the order storm.config.ts declares them, skipping launchMachine() runners. Runners with the same name, region, runtime, and snapshot key share one build. It obtains one credential for every build, and stops at the first build that fails or is canceled. With --base, every runner builds at that commit, and the result warns as a single build does. Not with --suite."
|
|
11
16
|
},
|
|
12
17
|
full: {
|
|
13
|
-
description: "Build a new
|
|
18
|
+
description: "Build a new runner snapshot at the commit whatever the local snapshot index holds, replacing the entry at that commit. With --publish, it replaces the shared snapshot index entry too, unless another build owns it."
|
|
19
|
+
},
|
|
20
|
+
publish: {
|
|
21
|
+
description: "Publish the runner snapshot to the shared snapshot index of the Vercel project: check the shared snapshot index instead of the local snapshot index, and keep the build sandbox stopped as the index entry, named for the runner, the snapshot key, and the commit. When the shared snapshot index holds a ready entry, it starts nothing and the local snapshot index records it; when another build owns the entry's sandbox, it starts nothing and exits 0; it deletes an expired, missing, failed, snapshot-less, or expiring-soon entry and builds a new one."
|
|
14
22
|
},
|
|
15
23
|
base: {
|
|
16
24
|
valueLabel: "REF",
|
|
17
|
-
description: "Build at the commit this ref names, resolved from local refs (storm never fetches), instead of at the merge-base. A run starts from the snapshot only when that commit is its merge-base. It warns when the working tree has uncommitted changes, which a
|
|
25
|
+
description: "Build at the commit this ref names, resolved from local refs (storm never fetches), instead of at the merge-base. A run starts from the snapshot only when that commit is its merge-base or an ancestor of its merge-base. It warns when the working tree has uncommitted changes, which a runner snapshot doesn't hold, and when the commit is neither HEAD's merge-base nor an ancestor of it, so a run here would not start from the snapshot."
|
|
26
|
+
},
|
|
27
|
+
credential: {
|
|
28
|
+
valueLabel: "SOURCE",
|
|
29
|
+
description: "The credential source: mint, the default, mints one with the vercel CLI for --scope and --project; vercel-oidc reads a pre-minted Vercel project OIDC token from VERCEL_OIDC_TOKEN and needs no --scope or --project. No config key."
|
|
18
30
|
},
|
|
19
31
|
scope: {
|
|
20
32
|
valueLabel: "TEAM",
|
|
21
|
-
description: "The Vercel team whose project the credential is minted for and the sandboxes run in. Required, from this flag or scope in storm.config.ts."
|
|
33
|
+
description: "The Vercel team whose project the credential is minted for and the sandboxes run in. Required with --credential mint, from this flag or scope in storm.config.ts; optional with --credential vercel-oidc."
|
|
22
34
|
},
|
|
23
35
|
project: {
|
|
24
36
|
valueLabel: "PROJECT",
|
|
25
|
-
description: "The Vercel project, within the team, to mint the credential for. Required, from this flag or project in storm.config.ts."
|
|
37
|
+
description: "The Vercel project, within the team, to mint the credential for. Required with --credential mint, from this flag or project in storm.config.ts; optional with --credential vercel-oidc."
|
|
26
38
|
}
|
|
27
39
|
},
|
|
28
40
|
examples: [
|
|
29
|
-
{ argv: "", description: "Build a
|
|
41
|
+
{ argv: "", description: "Build a runner snapshot at the merge-base, when the local snapshot index has none." },
|
|
30
42
|
{
|
|
31
43
|
argv: "--base origin/main",
|
|
32
|
-
description: "Build a
|
|
44
|
+
description: "Build a runner snapshot at origin/main's commit, which runs on branches from it start from."
|
|
45
|
+
},
|
|
46
|
+
{ argv: "--full", description: "Build a fresh runner snapshot at the merge-base." },
|
|
47
|
+
{
|
|
48
|
+
argv: "--base origin/main --publish",
|
|
49
|
+
description: "Build a runner snapshot at origin/main's commit, and publish it for runs on every machine."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
argv: "--all-suites --publish",
|
|
53
|
+
description: "Build and publish a runner snapshot for each distinct Vercel Sandbox runner in storm.config.ts."
|
|
33
54
|
},
|
|
34
|
-
{ argv: "--full", description: "Build a fresh base snapshot at the merge-base." },
|
|
35
55
|
{ argv: "--json", description: "Build, then print what was built as JSON." }
|
|
36
56
|
]
|
|
37
57
|
}
|
|
@@ -1,29 +1,94 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { RunnerSnapshotEntry } from "../../../runner/index.ts";
|
|
3
3
|
import { RUN_CLEANUP } from "../../../shared/cleanup.ts";
|
|
4
|
-
/** A
|
|
4
|
+
/** A runner snapshot, as the result names it. */
|
|
5
5
|
declare const snapshotSchema: z.ZodObject<{
|
|
6
6
|
snapshotId: z.ZodString;
|
|
7
7
|
base: z.ZodString;
|
|
8
8
|
expiresAt: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
type SnapshotFacts = z.output<typeof snapshotSchema>;
|
|
11
|
-
/** A
|
|
11
|
+
/** A local snapshot index entry as the result names it. */
|
|
12
12
|
export declare function snapshotOf(entry: RunnerSnapshotEntry): SnapshotFacts;
|
|
13
13
|
/** A snapshot in words: its id and its base. */
|
|
14
14
|
export declare function snapshotText({ snapshotId, base }: SnapshotFacts): string;
|
|
15
|
+
/** One runner that --all-suites built or checked. */
|
|
16
|
+
declare const runnerBuildSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
|
+
base: z.ZodString;
|
|
18
|
+
baseRef: z.ZodString;
|
|
19
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
20
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
21
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
22
|
+
runner: z.ZodString;
|
|
23
|
+
region: z.ZodString;
|
|
24
|
+
runtime: z.ZodString;
|
|
25
|
+
topLevel: z.ZodBoolean;
|
|
26
|
+
suites: z.ZodArray<z.ZodString>;
|
|
27
|
+
result: z.ZodLiteral<"built">;
|
|
28
|
+
snapshot: z.ZodObject<{
|
|
29
|
+
snapshotId: z.ZodString;
|
|
30
|
+
base: z.ZodString;
|
|
31
|
+
expiresAt: z.ZodString;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
34
|
+
ms: z.ZodNumber;
|
|
35
|
+
sizeBytes: z.ZodNumber;
|
|
36
|
+
localIndexWritten: z.ZodBoolean;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
base: z.ZodString;
|
|
39
|
+
baseRef: z.ZodString;
|
|
40
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
41
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
42
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
43
|
+
runner: z.ZodString;
|
|
44
|
+
region: z.ZodString;
|
|
45
|
+
runtime: z.ZodString;
|
|
46
|
+
topLevel: z.ZodBoolean;
|
|
47
|
+
suites: z.ZodArray<z.ZodString>;
|
|
48
|
+
result: z.ZodLiteral<"up_to_date">;
|
|
49
|
+
snapshot: z.ZodObject<{
|
|
50
|
+
snapshotId: z.ZodString;
|
|
51
|
+
base: z.ZodString;
|
|
52
|
+
expiresAt: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
+
base: z.ZodString;
|
|
57
|
+
baseRef: z.ZodString;
|
|
58
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
59
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
60
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
61
|
+
runner: z.ZodString;
|
|
62
|
+
region: z.ZodString;
|
|
63
|
+
runtime: z.ZodString;
|
|
64
|
+
topLevel: z.ZodBoolean;
|
|
65
|
+
suites: z.ZodArray<z.ZodString>;
|
|
66
|
+
result: z.ZodLiteral<"already_building">;
|
|
67
|
+
sandboxName: z.ZodString;
|
|
68
|
+
status: z.ZodNullable<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>], "result">;
|
|
70
|
+
/** One runner's result, as `all_suites_built` lists it. */
|
|
71
|
+
export type RunnerBuildFacts = z.output<typeof runnerBuildSchema>;
|
|
72
|
+
/** Who uses a runner, in words: the top level, then each suite. */
|
|
73
|
+
export declare function usedByText(facts: {
|
|
74
|
+
readonly topLevel: boolean;
|
|
75
|
+
readonly suites: readonly string[];
|
|
76
|
+
}): string;
|
|
15
77
|
/** How `snapshots build` ends. No outcome carries the credential. */
|
|
16
78
|
export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
17
79
|
built: z.ZodObject<{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
team: z.ZodString
|
|
21
|
-
project: z.ZodString
|
|
22
|
-
head: z.ZodString;
|
|
80
|
+
teamId: z.ZodString;
|
|
81
|
+
projectId: z.ZodString;
|
|
82
|
+
team: z.ZodNullable<z.ZodString>;
|
|
83
|
+
project: z.ZodNullable<z.ZodString>;
|
|
23
84
|
base: z.ZodString;
|
|
24
85
|
baseRef: z.ZodString;
|
|
25
86
|
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
26
87
|
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
88
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
89
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
90
|
+
runner: z.ZodString;
|
|
91
|
+
head: z.ZodString;
|
|
27
92
|
snapshot: z.ZodObject<{
|
|
28
93
|
snapshotId: z.ZodString;
|
|
29
94
|
base: z.ZodString;
|
|
@@ -31,28 +96,121 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
31
96
|
}, z.core.$strip>;
|
|
32
97
|
ms: z.ZodNumber;
|
|
33
98
|
sizeBytes: z.ZodNumber;
|
|
99
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
100
|
+
localIndexWritten: z.ZodBoolean;
|
|
34
101
|
cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
|
|
35
102
|
}, z.core.$strip>;
|
|
36
103
|
upToDate: z.ZodObject<{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
team: z.ZodString
|
|
40
|
-
project: z.ZodString
|
|
41
|
-
head: z.ZodString;
|
|
104
|
+
teamId: z.ZodString;
|
|
105
|
+
projectId: z.ZodString;
|
|
106
|
+
team: z.ZodNullable<z.ZodString>;
|
|
107
|
+
project: z.ZodNullable<z.ZodString>;
|
|
42
108
|
base: z.ZodString;
|
|
43
109
|
baseRef: z.ZodString;
|
|
44
110
|
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
45
111
|
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
112
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
113
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
114
|
+
runner: z.ZodString;
|
|
115
|
+
head: z.ZodString;
|
|
46
116
|
snapshot: z.ZodObject<{
|
|
47
117
|
snapshotId: z.ZodString;
|
|
48
118
|
base: z.ZodString;
|
|
49
119
|
expiresAt: z.ZodString;
|
|
50
120
|
}, z.core.$strip>;
|
|
121
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
alreadyBuilding: z.ZodObject<{
|
|
124
|
+
teamId: z.ZodString;
|
|
125
|
+
projectId: z.ZodString;
|
|
126
|
+
team: z.ZodNullable<z.ZodString>;
|
|
127
|
+
project: z.ZodNullable<z.ZodString>;
|
|
128
|
+
base: z.ZodString;
|
|
129
|
+
baseRef: z.ZodString;
|
|
130
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
131
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
132
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
133
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
134
|
+
runner: z.ZodString;
|
|
135
|
+
head: z.ZodString;
|
|
136
|
+
sandboxName: z.ZodString;
|
|
137
|
+
status: z.ZodNullable<z.ZodString>;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
allSuitesBuilt: z.ZodObject<{
|
|
140
|
+
teamId: z.ZodString;
|
|
141
|
+
projectId: z.ZodString;
|
|
142
|
+
team: z.ZodNullable<z.ZodString>;
|
|
143
|
+
project: z.ZodNullable<z.ZodString>;
|
|
144
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
145
|
+
head: z.ZodString;
|
|
146
|
+
runners: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
147
|
+
base: z.ZodString;
|
|
148
|
+
baseRef: z.ZodString;
|
|
149
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
150
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
151
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
152
|
+
runner: z.ZodString;
|
|
153
|
+
region: z.ZodString;
|
|
154
|
+
runtime: z.ZodString;
|
|
155
|
+
topLevel: z.ZodBoolean;
|
|
156
|
+
suites: z.ZodArray<z.ZodString>;
|
|
157
|
+
result: z.ZodLiteral<"built">;
|
|
158
|
+
snapshot: z.ZodObject<{
|
|
159
|
+
snapshotId: z.ZodString;
|
|
160
|
+
base: z.ZodString;
|
|
161
|
+
expiresAt: z.ZodString;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
164
|
+
ms: z.ZodNumber;
|
|
165
|
+
sizeBytes: z.ZodNumber;
|
|
166
|
+
localIndexWritten: z.ZodBoolean;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
base: z.ZodString;
|
|
169
|
+
baseRef: z.ZodString;
|
|
170
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
171
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
172
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
173
|
+
runner: z.ZodString;
|
|
174
|
+
region: z.ZodString;
|
|
175
|
+
runtime: z.ZodString;
|
|
176
|
+
topLevel: z.ZodBoolean;
|
|
177
|
+
suites: z.ZodArray<z.ZodString>;
|
|
178
|
+
result: z.ZodLiteral<"up_to_date">;
|
|
179
|
+
snapshot: z.ZodObject<{
|
|
180
|
+
snapshotId: z.ZodString;
|
|
181
|
+
base: z.ZodString;
|
|
182
|
+
expiresAt: z.ZodString;
|
|
183
|
+
}, z.core.$strip>;
|
|
184
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
base: z.ZodString;
|
|
187
|
+
baseRef: z.ZodString;
|
|
188
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
189
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
190
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
191
|
+
runner: z.ZodString;
|
|
192
|
+
region: z.ZodString;
|
|
193
|
+
runtime: z.ZodString;
|
|
194
|
+
topLevel: z.ZodBoolean;
|
|
195
|
+
suites: z.ZodArray<z.ZodString>;
|
|
196
|
+
result: z.ZodLiteral<"already_building">;
|
|
197
|
+
sandboxName: z.ZodString;
|
|
198
|
+
status: z.ZodNullable<z.ZodString>;
|
|
199
|
+
}, z.core.$strip>], "result">>;
|
|
200
|
+
cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
|
|
51
201
|
}, z.core.$strip>;
|
|
52
202
|
}, {
|
|
53
203
|
built: unknown;
|
|
54
204
|
upToDate: unknown;
|
|
205
|
+
alreadyBuilding: unknown;
|
|
206
|
+
allSuitesBuilt: unknown;
|
|
55
207
|
}, {
|
|
208
|
+
conflictingOptions: z.ZodObject<{
|
|
209
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
210
|
+
flag: z.ZodString;
|
|
211
|
+
message: z.ZodString;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
}, z.core.$strip>;
|
|
56
214
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
57
215
|
file: string;
|
|
58
216
|
problems: {
|
|
@@ -91,20 +249,6 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
91
249
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
92
250
|
paths: string[];
|
|
93
251
|
}]>;
|
|
94
|
-
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
95
|
-
team: string;
|
|
96
|
-
project: string;
|
|
97
|
-
cause: string;
|
|
98
|
-
fix: string;
|
|
99
|
-
}]>;
|
|
100
|
-
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
101
|
-
cause: "request-failed" | "variables-missing";
|
|
102
|
-
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
103
|
-
status: number | null;
|
|
104
|
-
said: string | null;
|
|
105
|
-
detail: string;
|
|
106
|
-
fix: string;
|
|
107
|
-
}]>;
|
|
108
252
|
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
109
253
|
failure: {
|
|
110
254
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -137,7 +281,7 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
137
281
|
refNotFound: z.ZodObject<{
|
|
138
282
|
ref: z.ZodString;
|
|
139
283
|
}, z.core.$strip>;
|
|
140
|
-
|
|
284
|
+
snapshotNotIndexed: z.ZodObject<{
|
|
141
285
|
snapshot: z.ZodObject<{
|
|
142
286
|
snapshotId: z.ZodString;
|
|
143
287
|
base: z.ZodString;
|
|
@@ -147,12 +291,54 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
147
291
|
message: z.ZodString;
|
|
148
292
|
cleanup: z.ZodType<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("../../../shared/cleanup.ts").StormCleanupFacts, import("../../../shared/cleanup.ts").StormCleanupFacts>>;
|
|
149
293
|
}, z.core.$strip>;
|
|
294
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
295
|
+
team: string;
|
|
296
|
+
project: string;
|
|
297
|
+
cause: string;
|
|
298
|
+
fix: string;
|
|
299
|
+
}]>;
|
|
150
300
|
suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
151
301
|
suite: string;
|
|
152
302
|
suites: string[];
|
|
153
303
|
configFile: string | null;
|
|
154
304
|
}]>;
|
|
305
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
306
|
+
cause: "request-failed" | "variables-missing";
|
|
307
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
308
|
+
status: number | null;
|
|
309
|
+
said: string | null;
|
|
310
|
+
detail: string;
|
|
311
|
+
fix: string;
|
|
312
|
+
}]>;
|
|
313
|
+
vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
314
|
+
cause: "invalid-token" | "missing-token";
|
|
315
|
+
detail: string;
|
|
316
|
+
fix: string;
|
|
317
|
+
}]>;
|
|
155
318
|
}, {
|
|
319
|
+
readonly conflictingOptions: {
|
|
320
|
+
readonly exitCode: 2;
|
|
321
|
+
readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
|
|
322
|
+
readonly schema: z.ZodObject<{
|
|
323
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
324
|
+
flag: z.ZodString;
|
|
325
|
+
message: z.ZodString;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
readonly render: ({ conflicts, }: {
|
|
329
|
+
readonly conflicts: readonly {
|
|
330
|
+
readonly flag: string;
|
|
331
|
+
readonly message: string;
|
|
332
|
+
}[];
|
|
333
|
+
}) => {
|
|
334
|
+
message: string;
|
|
335
|
+
rows: (readonly ["Conflicts", string[]])[];
|
|
336
|
+
next: {
|
|
337
|
+
type: "text";
|
|
338
|
+
text: string;
|
|
339
|
+
}[];
|
|
340
|
+
};
|
|
341
|
+
};
|
|
156
342
|
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
157
343
|
file: string;
|
|
158
344
|
problems: {
|
|
@@ -204,20 +390,6 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
204
390
|
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
205
391
|
paths: string[];
|
|
206
392
|
}]>;
|
|
207
|
-
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
208
|
-
team: string;
|
|
209
|
-
project: string;
|
|
210
|
-
cause: string;
|
|
211
|
-
fix: string;
|
|
212
|
-
}]>;
|
|
213
|
-
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
214
|
-
cause: "request-failed" | "variables-missing";
|
|
215
|
-
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
216
|
-
status: number | null;
|
|
217
|
-
said: string | null;
|
|
218
|
-
detail: string;
|
|
219
|
-
fix: string;
|
|
220
|
-
}]>;
|
|
221
393
|
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
222
394
|
failure: {
|
|
223
395
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -263,9 +435,9 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
263
435
|
}[];
|
|
264
436
|
};
|
|
265
437
|
};
|
|
266
|
-
readonly
|
|
438
|
+
readonly snapshotNotIndexed: {
|
|
267
439
|
readonly exitCode: 1;
|
|
268
|
-
readonly description: "It built and saved the
|
|
440
|
+
readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
|
|
269
441
|
readonly schema: z.ZodObject<{
|
|
270
442
|
snapshot: z.ZodObject<{
|
|
271
443
|
snapshotId: z.ZodString;
|
|
@@ -290,10 +462,29 @@ export declare const outcomes: import("@vercel/clinkr").Outcomes<{
|
|
|
290
462
|
}[];
|
|
291
463
|
};
|
|
292
464
|
};
|
|
465
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
466
|
+
team: string;
|
|
467
|
+
project: string;
|
|
468
|
+
cause: string;
|
|
469
|
+
fix: string;
|
|
470
|
+
}]>;
|
|
293
471
|
readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
294
472
|
suite: string;
|
|
295
473
|
suites: string[];
|
|
296
474
|
configFile: string | null;
|
|
297
475
|
}]>;
|
|
476
|
+
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
477
|
+
cause: "request-failed" | "variables-missing";
|
|
478
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
479
|
+
status: number | null;
|
|
480
|
+
said: string | null;
|
|
481
|
+
detail: string;
|
|
482
|
+
fix: string;
|
|
483
|
+
}]>;
|
|
484
|
+
readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
485
|
+
cause: "invalid-token" | "missing-token";
|
|
486
|
+
detail: string;
|
|
487
|
+
fix: string;
|
|
488
|
+
}]>;
|
|
298
489
|
}>;
|
|
299
490
|
export {};
|