@cnc-tools/storm 0.15.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-SZEURWRS.js → chunk-4O5C2XGJ.js} +18 -15
- package/dist/chunks/{chunk-VL7WFTVQ.js → chunk-4WAMTUWZ.js} +419 -340
- package/dist/chunks/{chunk-QVS7HRU7.js → chunk-6UHIJXZG.js} +3 -3
- package/dist/chunks/{chunk-CN4EFA5J.js → chunk-72ZFEMAW.js} +1 -1
- package/dist/chunks/{chunk-4U4DZ7VG.js → chunk-7DZE67QM.js} +2 -2
- package/dist/chunks/{chunk-VUPZH7J2.js → chunk-BCBKYOHW.js} +1 -1
- package/dist/chunks/{chunk-QUHY6FGN.js → chunk-CKGZA25H.js} +1 -18
- package/dist/chunks/{chunk-ZG3WQ4UF.js → chunk-D27KILIA.js} +1 -1
- package/dist/chunks/{chunk-KC4KDJ5K.js → chunk-DADEYJDW.js} +174 -153
- package/dist/chunks/{chunk-R7XVBZOY.js → chunk-EEENLQHE.js} +59 -11
- package/dist/chunks/chunk-F4MOYHRY.js +198 -0
- package/dist/chunks/{chunk-CXAT7ZKP.js → chunk-FNBB6V4R.js} +1 -1
- package/dist/chunks/{chunk-OX7X4B2L.js → chunk-GRT3UIBV.js} +18 -1
- package/dist/chunks/chunk-HP3CURSZ.js +88 -0
- package/dist/chunks/{chunk-PN5ULTTH.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-XEVHP5ZW.js → chunk-M7EKRGVD.js} +8 -8
- package/dist/chunks/chunk-MR77L2GK.js +340 -0
- package/dist/chunks/{chunk-L36GBUBB.js → chunk-RNAS7JHE.js} +1755 -522
- package/dist/chunks/{chunk-5GBMR4HM.js → chunk-RWIXDDCK.js} +4 -192
- 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-YV7GE6EV.js → chunk-YEPFSLQR.js} +480 -375
- package/dist/chunks/{live-app-PI3BAN6Y.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 +4 -3
- 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 +39 -4
- 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 +38 -9
- package/dist/commands/exec/outcomes.js +32 -25
- package/dist/commands/exec/plan-run.d.ts +58 -150
- package/dist/commands/exec/plan-run.js +232 -88
- package/dist/commands/exec/planned-outcome.js +8 -1
- 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 +5 -5
- 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 +9 -4
- package/dist/commands/runs/facts.js +28 -11
- package/dist/commands/runs/list/command.d.ts +16 -6
- package/dist/commands/runs/list/command.js +10 -10
- package/dist/commands/runs/list/outcomes.d.ts +8 -3
- package/dist/commands/runs/logs/command.d.ts +6 -2
- package/dist/commands/runs/logs/command.js +10 -10
- package/dist/commands/runs/logs/outcomes.d.ts +3 -1
- package/dist/commands/runs/past-run.d.ts +14 -5
- package/dist/commands/runs/past-run.js +16 -5
- package/dist/commands/runs/show/command.d.ts +20 -8
- package/dist/commands/runs/show/command.js +30 -28
- package/dist/commands/runs/show/outcomes.d.ts +10 -4
- 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 +368 -27
- 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 +19 -18
- package/dist/commands/suites/list/outcomes.js +4 -4
- package/dist/commands/test/command.d.ts +39 -4
- package/dist/commands/test/command.js +50 -255
- package/dist/commands/test/metadata.js +1 -1
- package/dist/commands/test/outcomes.d.ts +19 -2
- package/dist/commands/test/outcomes.js +2 -2
- package/dist/config/check-runner.d.ts +5 -3
- package/dist/config/check-runner.js +33 -7
- package/dist/config/check-suites.js +1 -0
- 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/gateways.d.ts +7 -3
- package/dist/config/index.d.ts +4 -5
- package/dist/config/index.js +3 -4
- package/dist/config/live/config-gateway.js +5 -2
- package/dist/config/load.d.ts +21 -4
- package/dist/config/load.js +129 -15
- package/dist/config/runner.d.ts +7 -8
- package/dist/config/runner.js +1 -1
- package/dist/config/schema.d.ts +17 -5
- package/dist/config/schema.js +11 -3
- package/dist/config/typed-options.d.ts +1 -6
- package/dist/config/typed-options.js +2 -10
- package/dist/config-file/define.d.ts +1 -11
- package/dist/config-file/define.js +3 -3
- package/dist/config-file/runner.d.ts +5 -6
- package/dist/config-file/toolchain.d.ts +13 -7
- package/dist/config-file/toolchain.js +53 -37
- 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/github/resource.d.ts +1 -1
- package/dist/extensions/github/resource.js +1 -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 +2 -2
- package/dist/extensions/testserver/resource.js +2 -2
- 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 +7 -15
- package/dist/planning/plan-only.js +16 -22
- package/dist/planning/run-kind-flags.js +2 -2
- package/dist/planning/run-plan.d.ts +45 -13
- 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 +10 -2
- 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.d.ts +0 -6
- package/dist/runner/base.js +1 -16
- package/dist/runner/build-snapshots.d.ts +55 -29
- package/dist/runner/build-snapshots.js +135 -35
- 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 +92 -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 +141 -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 +25 -24
- package/dist/runner/prepare.js +28 -20
- 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 +38 -28
- package/dist/runner/snapshot-choice.js +1 -1
- package/dist/runner/snapshot-inspect.d.ts +39 -40
- package/dist/runner/snapshot-inspect.js +58 -38
- package/dist/runner/snapshot-key.d.ts +30 -21
- package/dist/runner/snapshot-key.js +49 -29
- 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} +82 -82
- package/dist/runner/vercel-sandbox-options.js +510 -0
- 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 +4 -3
- package/dist/sdk/extension/resource-definition.js +3 -2
- package/dist/sdk/extension/resource-factory.js +3 -4
- 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/sdk/run/present.d.ts +3 -3
- package/dist/sdk/run/present.js +1 -3
- 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 +6 -4
- package/skills/plan-runs.md +2 -2
- package/skills/read-run-output.md +6 -6
- package/dist/chunks/chunk-E4PJNZVG.js +0 -783
- package/dist/chunks/chunk-RAQEXKL6.js +0 -2591
- 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 -46
- package/dist/commands/exec/run-command.d.ts +0 -476
- package/dist/commands/exec/run-command.js +0 -604
- 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 -128
- package/dist/config/recipe-run.d.ts +0 -33
- package/dist/config/recipe-run.js +0 -28
- package/dist/core/sandbox-end.d.ts +0 -64
- package/dist/runner/live/snapshot-cache-gateway.d.ts +0 -12
- package/dist/runner/recipe.js +0 -425
- package/dist/runner/snapshot-cache.d.ts +0 -148
- package/dist/runner/snapshot-cache.js +0 -126
|
@@ -1,32 +1,44 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import type { StormApp } from "../../../context.ts";
|
|
2
3
|
import { RUN_CLEANUP } from "../../../shared/cleanup.ts";
|
|
3
4
|
/**
|
|
4
|
-
* Builds a
|
|
5
|
-
* names. The runner module checks the build on
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* through the credential launcher resolver, reads the credentials' values, shows the
|
|
9
|
-
* progress lines, and words the outcome. It refuses as a run does, in a run's order:
|
|
10
|
-
* `missing_runner`, `missing_target`, and `credentials_invalid`, then the local checks'
|
|
11
|
-
* all before it
|
|
5
|
+
* Builds a runner snapshot that the local snapshot index lacks, with no run: at the merge-base, or at the commit
|
|
6
|
+
* `--base` names. The runner module checks the build on this machine (`prepareSnapshotBuild`), then builds it in its
|
|
7
|
+
* own sandbox scope (`buildSnapshots`), which stops and deletes every sandbox however it ends, but for the one
|
|
8
|
+
* `--publish` keeps stopped as the shared snapshot index entry. This file loads the config file and the runner
|
|
9
|
+
* options, obtains a credential through the credential launcher resolver, reads the credentials' values, shows the
|
|
10
|
+
* runner's events as a run's plain progress lines, and words the outcome. It refuses as a run does, in a run's order:
|
|
11
|
+
* `invalid_config`, then `missing_runner`, `missing_target`, and `credentials_invalid`, then the local checks'
|
|
12
|
+
* refusals and `ref_not_found`, all before it obtains a credential. Every refusal and line shows the credentials'
|
|
13
|
+
* values as `<token>`. `--all-suites` builds each distinct runner of the top-level runner and every suite's effective
|
|
14
|
+
* runner in turn, with one credential.
|
|
12
15
|
*/
|
|
13
16
|
declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
17
|
+
credential: z.ZodDefault<z.ZodEnum<{
|
|
18
|
+
mint: "mint";
|
|
19
|
+
"vercel-oidc": "vercel-oidc";
|
|
20
|
+
}>>;
|
|
21
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
22
|
+
project: z.ZodOptional<z.ZodString>;
|
|
14
23
|
suite: z.ZodOptional<z.ZodString>;
|
|
24
|
+
allSuites: z.ZodDefault<z.ZodBoolean>;
|
|
15
25
|
full: z.ZodDefault<z.ZodBoolean>;
|
|
26
|
+
publish: z.ZodDefault<z.ZodBoolean>;
|
|
16
27
|
base: z.ZodOptional<z.ZodString>;
|
|
17
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
18
|
-
project: z.ZodOptional<z.ZodString>;
|
|
19
28
|
}, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
|
|
20
29
|
built: z.ZodObject<{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
team: z.ZodString
|
|
24
|
-
project: z.ZodString
|
|
25
|
-
head: z.ZodString;
|
|
30
|
+
teamId: z.ZodString;
|
|
31
|
+
projectId: z.ZodString;
|
|
32
|
+
team: z.ZodNullable<z.ZodString>;
|
|
33
|
+
project: z.ZodNullable<z.ZodString>;
|
|
26
34
|
base: z.ZodString;
|
|
27
35
|
baseRef: z.ZodString;
|
|
28
36
|
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
29
37
|
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
38
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
39
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
40
|
+
runner: z.ZodString;
|
|
41
|
+
head: z.ZodString;
|
|
30
42
|
snapshot: z.ZodObject<{
|
|
31
43
|
snapshotId: z.ZodString;
|
|
32
44
|
base: z.ZodString;
|
|
@@ -34,28 +46,121 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
34
46
|
}, z.core.$strip>;
|
|
35
47
|
ms: z.ZodNumber;
|
|
36
48
|
sizeBytes: z.ZodNumber;
|
|
49
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
50
|
+
localIndexWritten: z.ZodBoolean;
|
|
37
51
|
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>>;
|
|
38
52
|
}, z.core.$strip>;
|
|
39
53
|
upToDate: z.ZodObject<{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
team: z.ZodString
|
|
43
|
-
project: z.ZodString
|
|
44
|
-
head: z.ZodString;
|
|
54
|
+
teamId: z.ZodString;
|
|
55
|
+
projectId: z.ZodString;
|
|
56
|
+
team: z.ZodNullable<z.ZodString>;
|
|
57
|
+
project: z.ZodNullable<z.ZodString>;
|
|
45
58
|
base: z.ZodString;
|
|
46
59
|
baseRef: z.ZodString;
|
|
47
60
|
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
48
61
|
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
62
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
63
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
64
|
+
runner: z.ZodString;
|
|
65
|
+
head: z.ZodString;
|
|
49
66
|
snapshot: z.ZodObject<{
|
|
50
67
|
snapshotId: z.ZodString;
|
|
51
68
|
base: z.ZodString;
|
|
52
69
|
expiresAt: z.ZodString;
|
|
53
70
|
}, z.core.$strip>;
|
|
71
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
alreadyBuilding: z.ZodObject<{
|
|
74
|
+
teamId: z.ZodString;
|
|
75
|
+
projectId: z.ZodString;
|
|
76
|
+
team: z.ZodNullable<z.ZodString>;
|
|
77
|
+
project: z.ZodNullable<z.ZodString>;
|
|
78
|
+
base: z.ZodString;
|
|
79
|
+
baseRef: z.ZodString;
|
|
80
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
81
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
82
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
83
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
84
|
+
runner: z.ZodString;
|
|
85
|
+
head: z.ZodString;
|
|
86
|
+
sandboxName: z.ZodString;
|
|
87
|
+
status: z.ZodNullable<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
allSuitesBuilt: z.ZodObject<{
|
|
90
|
+
teamId: z.ZodString;
|
|
91
|
+
projectId: z.ZodString;
|
|
92
|
+
team: z.ZodNullable<z.ZodString>;
|
|
93
|
+
project: z.ZodNullable<z.ZodString>;
|
|
94
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
95
|
+
head: z.ZodString;
|
|
96
|
+
runners: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
97
|
+
base: z.ZodString;
|
|
98
|
+
baseRef: z.ZodString;
|
|
99
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
100
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
101
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
102
|
+
runner: z.ZodString;
|
|
103
|
+
region: z.ZodString;
|
|
104
|
+
runtime: z.ZodString;
|
|
105
|
+
topLevel: z.ZodBoolean;
|
|
106
|
+
suites: z.ZodArray<z.ZodString>;
|
|
107
|
+
result: z.ZodLiteral<"built">;
|
|
108
|
+
snapshot: z.ZodObject<{
|
|
109
|
+
snapshotId: z.ZodString;
|
|
110
|
+
base: z.ZodString;
|
|
111
|
+
expiresAt: z.ZodString;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
114
|
+
ms: z.ZodNumber;
|
|
115
|
+
sizeBytes: z.ZodNumber;
|
|
116
|
+
localIndexWritten: z.ZodBoolean;
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
base: z.ZodString;
|
|
119
|
+
baseRef: z.ZodString;
|
|
120
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
121
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
122
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
123
|
+
runner: z.ZodString;
|
|
124
|
+
region: z.ZodString;
|
|
125
|
+
runtime: z.ZodString;
|
|
126
|
+
topLevel: z.ZodBoolean;
|
|
127
|
+
suites: z.ZodArray<z.ZodString>;
|
|
128
|
+
result: z.ZodLiteral<"up_to_date">;
|
|
129
|
+
snapshot: z.ZodObject<{
|
|
130
|
+
snapshotId: z.ZodString;
|
|
131
|
+
base: z.ZodString;
|
|
132
|
+
expiresAt: z.ZodString;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
+
base: z.ZodString;
|
|
137
|
+
baseRef: z.ZodString;
|
|
138
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
139
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
140
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
141
|
+
runner: z.ZodString;
|
|
142
|
+
region: z.ZodString;
|
|
143
|
+
runtime: z.ZodString;
|
|
144
|
+
topLevel: z.ZodBoolean;
|
|
145
|
+
suites: z.ZodArray<z.ZodString>;
|
|
146
|
+
result: z.ZodLiteral<"already_building">;
|
|
147
|
+
sandboxName: z.ZodString;
|
|
148
|
+
status: z.ZodNullable<z.ZodString>;
|
|
149
|
+
}, z.core.$strip>], "result">>;
|
|
150
|
+
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>>;
|
|
54
151
|
}, z.core.$strip>;
|
|
55
152
|
}, {
|
|
56
153
|
built: unknown;
|
|
57
154
|
upToDate: unknown;
|
|
155
|
+
alreadyBuilding: unknown;
|
|
156
|
+
allSuitesBuilt: unknown;
|
|
58
157
|
}, {
|
|
158
|
+
conflictingOptions: z.ZodObject<{
|
|
159
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
160
|
+
flag: z.ZodString;
|
|
161
|
+
message: z.ZodString;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
}, z.core.$strip>;
|
|
59
164
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
60
165
|
file: string;
|
|
61
166
|
problems: {
|
|
@@ -94,20 +199,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
94
199
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
95
200
|
paths: string[];
|
|
96
201
|
}]>;
|
|
97
|
-
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
98
|
-
team: string;
|
|
99
|
-
project: string;
|
|
100
|
-
cause: string;
|
|
101
|
-
fix: string;
|
|
102
|
-
}]>;
|
|
103
|
-
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
104
|
-
cause: "request-failed" | "variables-missing";
|
|
105
|
-
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
106
|
-
status: number | null;
|
|
107
|
-
said: string | null;
|
|
108
|
-
detail: string;
|
|
109
|
-
fix: string;
|
|
110
|
-
}]>;
|
|
111
202
|
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
112
203
|
failure: {
|
|
113
204
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -140,7 +231,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
140
231
|
refNotFound: z.ZodObject<{
|
|
141
232
|
ref: z.ZodString;
|
|
142
233
|
}, z.core.$strip>;
|
|
143
|
-
|
|
234
|
+
snapshotNotIndexed: z.ZodObject<{
|
|
144
235
|
snapshot: z.ZodObject<{
|
|
145
236
|
snapshotId: z.ZodString;
|
|
146
237
|
base: z.ZodString;
|
|
@@ -150,12 +241,54 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
150
241
|
message: z.ZodString;
|
|
151
242
|
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>>;
|
|
152
243
|
}, z.core.$strip>;
|
|
244
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
245
|
+
team: string;
|
|
246
|
+
project: string;
|
|
247
|
+
cause: string;
|
|
248
|
+
fix: string;
|
|
249
|
+
}]>;
|
|
153
250
|
suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
154
251
|
suite: string;
|
|
155
252
|
suites: string[];
|
|
156
253
|
configFile: string | null;
|
|
157
254
|
}]>;
|
|
255
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
256
|
+
cause: "request-failed" | "variables-missing";
|
|
257
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
258
|
+
status: number | null;
|
|
259
|
+
said: string | null;
|
|
260
|
+
detail: string;
|
|
261
|
+
fix: string;
|
|
262
|
+
}]>;
|
|
263
|
+
vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
264
|
+
cause: "invalid-token" | "missing-token";
|
|
265
|
+
detail: string;
|
|
266
|
+
fix: string;
|
|
267
|
+
}]>;
|
|
158
268
|
}, {
|
|
269
|
+
readonly conflictingOptions: {
|
|
270
|
+
readonly exitCode: 2;
|
|
271
|
+
readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
|
|
272
|
+
readonly schema: z.ZodObject<{
|
|
273
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
274
|
+
flag: z.ZodString;
|
|
275
|
+
message: z.ZodString;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
}, z.core.$strip>;
|
|
278
|
+
readonly render: ({ conflicts, }: {
|
|
279
|
+
readonly conflicts: readonly {
|
|
280
|
+
readonly flag: string;
|
|
281
|
+
readonly message: string;
|
|
282
|
+
}[];
|
|
283
|
+
}) => {
|
|
284
|
+
message: string;
|
|
285
|
+
rows: (readonly ["Conflicts", string[]])[];
|
|
286
|
+
next: {
|
|
287
|
+
type: "text";
|
|
288
|
+
text: string;
|
|
289
|
+
}[];
|
|
290
|
+
};
|
|
291
|
+
};
|
|
159
292
|
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
160
293
|
file: string;
|
|
161
294
|
problems: {
|
|
@@ -207,20 +340,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
207
340
|
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
208
341
|
paths: string[];
|
|
209
342
|
}]>;
|
|
210
|
-
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
211
|
-
team: string;
|
|
212
|
-
project: string;
|
|
213
|
-
cause: string;
|
|
214
|
-
fix: string;
|
|
215
|
-
}]>;
|
|
216
|
-
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
217
|
-
cause: "request-failed" | "variables-missing";
|
|
218
|
-
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
219
|
-
status: number | null;
|
|
220
|
-
said: string | null;
|
|
221
|
-
detail: string;
|
|
222
|
-
fix: string;
|
|
223
|
-
}]>;
|
|
224
343
|
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
225
344
|
failure: {
|
|
226
345
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -266,9 +385,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
266
385
|
}[];
|
|
267
386
|
};
|
|
268
387
|
};
|
|
269
|
-
readonly
|
|
388
|
+
readonly snapshotNotIndexed: {
|
|
270
389
|
readonly exitCode: 1;
|
|
271
|
-
readonly description: "It built and saved the
|
|
390
|
+
readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
|
|
272
391
|
readonly schema: z.ZodObject<{
|
|
273
392
|
snapshot: z.ZodObject<{
|
|
274
393
|
snapshotId: z.ZodString;
|
|
@@ -297,22 +416,44 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
297
416
|
}[];
|
|
298
417
|
};
|
|
299
418
|
};
|
|
419
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
420
|
+
team: string;
|
|
421
|
+
project: string;
|
|
422
|
+
cause: string;
|
|
423
|
+
fix: string;
|
|
424
|
+
}]>;
|
|
300
425
|
readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
301
426
|
suite: string;
|
|
302
427
|
suites: string[];
|
|
303
428
|
configFile: string | null;
|
|
304
429
|
}]>;
|
|
430
|
+
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
431
|
+
cause: "request-failed" | "variables-missing";
|
|
432
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
433
|
+
status: number | null;
|
|
434
|
+
said: string | null;
|
|
435
|
+
detail: string;
|
|
436
|
+
fix: string;
|
|
437
|
+
}]>;
|
|
438
|
+
readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
439
|
+
cause: "invalid-token" | "missing-token";
|
|
440
|
+
detail: string;
|
|
441
|
+
fix: string;
|
|
442
|
+
}]>;
|
|
305
443
|
}>, import("@vercel/clinkr").OutcomeOf<import("@vercel/clinkr").Outcomes<{
|
|
306
444
|
built: z.ZodObject<{
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
team: z.ZodString
|
|
310
|
-
project: z.ZodString
|
|
311
|
-
head: z.ZodString;
|
|
445
|
+
teamId: z.ZodString;
|
|
446
|
+
projectId: z.ZodString;
|
|
447
|
+
team: z.ZodNullable<z.ZodString>;
|
|
448
|
+
project: z.ZodNullable<z.ZodString>;
|
|
312
449
|
base: z.ZodString;
|
|
313
450
|
baseRef: z.ZodString;
|
|
314
451
|
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
315
452
|
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
453
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
454
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
455
|
+
runner: z.ZodString;
|
|
456
|
+
head: z.ZodString;
|
|
316
457
|
snapshot: z.ZodObject<{
|
|
317
458
|
snapshotId: z.ZodString;
|
|
318
459
|
base: z.ZodString;
|
|
@@ -320,28 +461,121 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
320
461
|
}, z.core.$strip>;
|
|
321
462
|
ms: z.ZodNumber;
|
|
322
463
|
sizeBytes: z.ZodNumber;
|
|
464
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
465
|
+
localIndexWritten: z.ZodBoolean;
|
|
323
466
|
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>>;
|
|
324
467
|
}, z.core.$strip>;
|
|
325
468
|
upToDate: z.ZodObject<{
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
team: z.ZodString
|
|
329
|
-
project: z.ZodString
|
|
330
|
-
head: z.ZodString;
|
|
469
|
+
teamId: z.ZodString;
|
|
470
|
+
projectId: z.ZodString;
|
|
471
|
+
team: z.ZodNullable<z.ZodString>;
|
|
472
|
+
project: z.ZodNullable<z.ZodString>;
|
|
331
473
|
base: z.ZodString;
|
|
332
474
|
baseRef: z.ZodString;
|
|
333
475
|
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
334
476
|
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
477
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
478
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
479
|
+
runner: z.ZodString;
|
|
480
|
+
head: z.ZodString;
|
|
335
481
|
snapshot: z.ZodObject<{
|
|
336
482
|
snapshotId: z.ZodString;
|
|
337
483
|
base: z.ZodString;
|
|
338
484
|
expiresAt: z.ZodString;
|
|
339
485
|
}, z.core.$strip>;
|
|
486
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
487
|
+
}, z.core.$strip>;
|
|
488
|
+
alreadyBuilding: z.ZodObject<{
|
|
489
|
+
teamId: z.ZodString;
|
|
490
|
+
projectId: z.ZodString;
|
|
491
|
+
team: z.ZodNullable<z.ZodString>;
|
|
492
|
+
project: z.ZodNullable<z.ZodString>;
|
|
493
|
+
base: z.ZodString;
|
|
494
|
+
baseRef: z.ZodString;
|
|
495
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
496
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
497
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
498
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
499
|
+
runner: z.ZodString;
|
|
500
|
+
head: z.ZodString;
|
|
501
|
+
sandboxName: z.ZodString;
|
|
502
|
+
status: z.ZodNullable<z.ZodString>;
|
|
503
|
+
}, z.core.$strip>;
|
|
504
|
+
allSuitesBuilt: z.ZodObject<{
|
|
505
|
+
teamId: z.ZodString;
|
|
506
|
+
projectId: z.ZodString;
|
|
507
|
+
team: z.ZodNullable<z.ZodString>;
|
|
508
|
+
project: z.ZodNullable<z.ZodString>;
|
|
509
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
510
|
+
head: z.ZodString;
|
|
511
|
+
runners: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
512
|
+
base: z.ZodString;
|
|
513
|
+
baseRef: z.ZodString;
|
|
514
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
515
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
516
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
517
|
+
runner: z.ZodString;
|
|
518
|
+
region: z.ZodString;
|
|
519
|
+
runtime: z.ZodString;
|
|
520
|
+
topLevel: z.ZodBoolean;
|
|
521
|
+
suites: z.ZodArray<z.ZodString>;
|
|
522
|
+
result: z.ZodLiteral<"built">;
|
|
523
|
+
snapshot: z.ZodObject<{
|
|
524
|
+
snapshotId: z.ZodString;
|
|
525
|
+
base: z.ZodString;
|
|
526
|
+
expiresAt: z.ZodString;
|
|
527
|
+
}, z.core.$strip>;
|
|
528
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
529
|
+
ms: z.ZodNumber;
|
|
530
|
+
sizeBytes: z.ZodNumber;
|
|
531
|
+
localIndexWritten: z.ZodBoolean;
|
|
532
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
533
|
+
base: z.ZodString;
|
|
534
|
+
baseRef: z.ZodString;
|
|
535
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
536
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
537
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
538
|
+
runner: z.ZodString;
|
|
539
|
+
region: z.ZodString;
|
|
540
|
+
runtime: z.ZodString;
|
|
541
|
+
topLevel: z.ZodBoolean;
|
|
542
|
+
suites: z.ZodArray<z.ZodString>;
|
|
543
|
+
result: z.ZodLiteral<"up_to_date">;
|
|
544
|
+
snapshot: z.ZodObject<{
|
|
545
|
+
snapshotId: z.ZodString;
|
|
546
|
+
base: z.ZodString;
|
|
547
|
+
expiresAt: z.ZodString;
|
|
548
|
+
}, z.core.$strip>;
|
|
549
|
+
sandboxName: z.ZodNullable<z.ZodString>;
|
|
550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
551
|
+
base: z.ZodString;
|
|
552
|
+
baseRef: z.ZodString;
|
|
553
|
+
uncommitted: z.ZodNullable<z.ZodBoolean>;
|
|
554
|
+
atMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
555
|
+
ancestorOfMergeBase: z.ZodNullable<z.ZodBoolean>;
|
|
556
|
+
runner: z.ZodString;
|
|
557
|
+
region: z.ZodString;
|
|
558
|
+
runtime: z.ZodString;
|
|
559
|
+
topLevel: z.ZodBoolean;
|
|
560
|
+
suites: z.ZodArray<z.ZodString>;
|
|
561
|
+
result: z.ZodLiteral<"already_building">;
|
|
562
|
+
sandboxName: z.ZodString;
|
|
563
|
+
status: z.ZodNullable<z.ZodString>;
|
|
564
|
+
}, z.core.$strip>], "result">>;
|
|
565
|
+
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>>;
|
|
340
566
|
}, z.core.$strip>;
|
|
341
567
|
}, {
|
|
342
568
|
built: unknown;
|
|
343
569
|
upToDate: unknown;
|
|
570
|
+
alreadyBuilding: unknown;
|
|
571
|
+
allSuitesBuilt: unknown;
|
|
344
572
|
}, {
|
|
573
|
+
conflictingOptions: z.ZodObject<{
|
|
574
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
575
|
+
flag: z.ZodString;
|
|
576
|
+
message: z.ZodString;
|
|
577
|
+
}, z.core.$strip>>;
|
|
578
|
+
}, z.core.$strip>;
|
|
345
579
|
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
346
580
|
file: string;
|
|
347
581
|
problems: {
|
|
@@ -380,20 +614,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
380
614
|
submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
381
615
|
paths: string[];
|
|
382
616
|
}]>;
|
|
383
|
-
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
384
|
-
team: string;
|
|
385
|
-
project: string;
|
|
386
|
-
cause: string;
|
|
387
|
-
fix: string;
|
|
388
|
-
}]>;
|
|
389
|
-
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
390
|
-
cause: "request-failed" | "variables-missing";
|
|
391
|
-
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
392
|
-
status: number | null;
|
|
393
|
-
said: string | null;
|
|
394
|
-
detail: string;
|
|
395
|
-
fix: string;
|
|
396
|
-
}]>;
|
|
397
617
|
runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
398
618
|
failure: {
|
|
399
619
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -426,7 +646,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
426
646
|
refNotFound: z.ZodObject<{
|
|
427
647
|
ref: z.ZodString;
|
|
428
648
|
}, z.core.$strip>;
|
|
429
|
-
|
|
649
|
+
snapshotNotIndexed: z.ZodObject<{
|
|
430
650
|
snapshot: z.ZodObject<{
|
|
431
651
|
snapshotId: z.ZodString;
|
|
432
652
|
base: z.ZodString;
|
|
@@ -436,12 +656,54 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
436
656
|
message: z.ZodString;
|
|
437
657
|
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>>;
|
|
438
658
|
}, z.core.$strip>;
|
|
659
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
660
|
+
team: string;
|
|
661
|
+
project: string;
|
|
662
|
+
cause: string;
|
|
663
|
+
fix: string;
|
|
664
|
+
}]>;
|
|
439
665
|
suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
440
666
|
suite: string;
|
|
441
667
|
suites: string[];
|
|
442
668
|
configFile: string | null;
|
|
443
669
|
}]>;
|
|
670
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
671
|
+
cause: "request-failed" | "variables-missing";
|
|
672
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
673
|
+
status: number | null;
|
|
674
|
+
said: string | null;
|
|
675
|
+
detail: string;
|
|
676
|
+
fix: string;
|
|
677
|
+
}]>;
|
|
678
|
+
vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
679
|
+
cause: "invalid-token" | "missing-token";
|
|
680
|
+
detail: string;
|
|
681
|
+
fix: string;
|
|
682
|
+
}]>;
|
|
444
683
|
}, {
|
|
684
|
+
readonly conflictingOptions: {
|
|
685
|
+
readonly exitCode: 2;
|
|
686
|
+
readonly description: "--suite and --all-suites were both given: --suite builds one runner, and --all-suites builds them all.";
|
|
687
|
+
readonly schema: z.ZodObject<{
|
|
688
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
689
|
+
flag: z.ZodString;
|
|
690
|
+
message: z.ZodString;
|
|
691
|
+
}, z.core.$strip>>;
|
|
692
|
+
}, z.core.$strip>;
|
|
693
|
+
readonly render: ({ conflicts, }: {
|
|
694
|
+
readonly conflicts: readonly {
|
|
695
|
+
readonly flag: string;
|
|
696
|
+
readonly message: string;
|
|
697
|
+
}[];
|
|
698
|
+
}) => {
|
|
699
|
+
message: string;
|
|
700
|
+
rows: (readonly ["Conflicts", string[]])[];
|
|
701
|
+
next: {
|
|
702
|
+
type: "text";
|
|
703
|
+
text: string;
|
|
704
|
+
}[];
|
|
705
|
+
};
|
|
706
|
+
};
|
|
445
707
|
readonly invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
446
708
|
file: string;
|
|
447
709
|
problems: {
|
|
@@ -493,20 +755,6 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
493
755
|
readonly submodulesRefused: import("@vercel/clinkr").SharedError<"submodules_refused", [data: {
|
|
494
756
|
paths: string[];
|
|
495
757
|
}]>;
|
|
496
|
-
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
497
|
-
team: string;
|
|
498
|
-
project: string;
|
|
499
|
-
cause: string;
|
|
500
|
-
fix: string;
|
|
501
|
-
}]>;
|
|
502
|
-
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
503
|
-
cause: "request-failed" | "variables-missing";
|
|
504
|
-
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
505
|
-
status: number | null;
|
|
506
|
-
said: string | null;
|
|
507
|
-
detail: string;
|
|
508
|
-
fix: string;
|
|
509
|
-
}]>;
|
|
510
758
|
readonly runnerFailed: import("@vercel/clinkr").SharedError<"runner_failed", [data: {
|
|
511
759
|
failure: {
|
|
512
760
|
kind: "apply-failed" | "build-failed" | "install-failed" | "snapshot-build-step-failed";
|
|
@@ -552,9 +800,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
552
800
|
}[];
|
|
553
801
|
};
|
|
554
802
|
};
|
|
555
|
-
readonly
|
|
803
|
+
readonly snapshotNotIndexed: {
|
|
556
804
|
readonly exitCode: 1;
|
|
557
|
-
readonly description: "It built and saved the
|
|
805
|
+
readonly description: "It built and saved the runner snapshot, but couldn't write its local snapshot index entry, so no run finds it.";
|
|
558
806
|
readonly schema: z.ZodObject<{
|
|
559
807
|
snapshot: z.ZodObject<{
|
|
560
808
|
snapshotId: z.ZodString;
|
|
@@ -583,10 +831,29 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
583
831
|
}[];
|
|
584
832
|
};
|
|
585
833
|
};
|
|
834
|
+
readonly mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
835
|
+
team: string;
|
|
836
|
+
project: string;
|
|
837
|
+
cause: string;
|
|
838
|
+
fix: string;
|
|
839
|
+
}]>;
|
|
586
840
|
readonly suiteNotFound: import("@vercel/clinkr").SharedError<"suite_not_found", [data: {
|
|
587
841
|
suite: string;
|
|
588
842
|
suites: string[];
|
|
589
843
|
configFile: string | null;
|
|
590
844
|
}]>;
|
|
591
|
-
|
|
845
|
+
readonly tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [data: {
|
|
846
|
+
cause: "request-failed" | "variables-missing";
|
|
847
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
848
|
+
status: number | null;
|
|
849
|
+
said: string | null;
|
|
850
|
+
detail: string;
|
|
851
|
+
fix: string;
|
|
852
|
+
}]>;
|
|
853
|
+
readonly vercelOidcTokenFailed: import("@vercel/clinkr").SharedError<"vercel_oidc_token_failed", [data: {
|
|
854
|
+
cause: "invalid-token" | "missing-token";
|
|
855
|
+
detail: string;
|
|
856
|
+
fix: string;
|
|
857
|
+
}]>;
|
|
858
|
+
}>>, StormApp, false>;
|
|
592
859
|
export default _default;
|