@cnc-tools/storm 0.0.0-stage → 0.5.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/bin/node-version.js +24 -0
- package/bin/storm.js +16 -0
- package/dist/application.d.ts +13 -0
- package/dist/application.js +23 -0
- package/dist/bin/storm.d.ts +1 -0
- package/dist/bin/storm.js +45 -0
- package/dist/build-info.js +3 -0
- package/dist/closed-terminal.d.ts +7 -0
- package/dist/closed-terminal.js +18 -0
- package/dist/combine-errors.d.ts +11 -0
- package/dist/combine-errors.js +19 -0
- package/dist/commands/dashboard.d.ts +11 -0
- package/dist/commands/dashboard.js +18 -0
- package/dist/commands/run/cleanup.d.ts +135 -0
- package/dist/commands/run/cleanup.js +171 -0
- package/dist/commands/run/command.d.ts +327 -0
- package/dist/commands/run/command.js +620 -0
- package/dist/commands/run/job-summary.d.ts +6 -0
- package/dist/commands/run/job-summary.js +31 -0
- package/dist/commands/run/live-view.d.ts +22 -0
- package/dist/commands/run/live-view.js +395 -0
- package/dist/commands/run/metadata.d.ts +47 -0
- package/dist/commands/run/metadata.js +83 -0
- package/dist/commands/run/mint-failed.d.ts +11 -0
- package/dist/commands/run/mint-failed.js +33 -0
- package/dist/commands/run/outcomes.d.ts +307 -0
- package/dist/commands/run/outcomes.js +332 -0
- package/dist/commands/run/progress.d.ts +44 -0
- package/dist/commands/run/progress.js +277 -0
- package/dist/commands/run/redaction.d.ts +15 -0
- package/dist/commands/run/redaction.js +40 -0
- package/dist/commands/run/run-collector.d.ts +30 -0
- package/dist/commands/run/run-collector.js +73 -0
- package/dist/commands/run/run-record.d.ts +144 -0
- package/dist/commands/run/run-record.js +96 -0
- package/dist/commands/run/tests-summary.d.ts +34 -0
- package/dist/commands/run/tests-summary.js +141 -0
- package/dist/commands/run/text.d.ts +22 -0
- package/dist/commands/run/text.js +74 -0
- package/dist/commands/run/view.d.ts +35 -0
- package/dist/commands/run/view.js +163 -0
- package/dist/commands/run/waterfall.d.ts +25 -0
- package/dist/commands/run/waterfall.js +108 -0
- package/dist/commands/run/worker-chart.d.ts +79 -0
- package/dist/commands/run/worker-chart.js +313 -0
- package/dist/commands/runs/facts.d.ts +150 -0
- package/dist/commands/runs/facts.js +292 -0
- package/dist/commands/runs/list/command.d.ts +86 -0
- package/dist/commands/runs/list/command.js +36 -0
- package/dist/commands/runs/list/metadata.d.ts +22 -0
- package/dist/commands/runs/list/metadata.js +19 -0
- package/dist/commands/runs/list/outcomes.d.ts +74 -0
- package/dist/commands/runs/list/outcomes.js +89 -0
- package/dist/commands/runs/logs/command.d.ts +72 -0
- package/dist/commands/runs/logs/command.js +51 -0
- package/dist/commands/runs/logs/metadata.d.ts +22 -0
- package/dist/commands/runs/logs/metadata.js +22 -0
- package/dist/commands/runs/logs/outcomes.d.ts +55 -0
- package/dist/commands/runs/logs/outcomes.js +77 -0
- package/dist/commands/runs/metadata.d.ts +3 -0
- package/dist/commands/runs/metadata.js +3 -0
- package/dist/commands/runs/past-run.d.ts +72 -0
- package/dist/commands/runs/past-run.js +99 -0
- package/dist/commands/runs/show/command.d.ts +176 -0
- package/dist/commands/runs/show/command.js +76 -0
- package/dist/commands/runs/show/metadata.d.ts +25 -0
- package/dist/commands/runs/show/metadata.js +22 -0
- package/dist/commands/runs/show/outcomes.d.ts +164 -0
- package/dist/commands/runs/show/outcomes.js +317 -0
- package/dist/config/by-name.d.ts +24 -0
- package/dist/config/by-name.js +26 -0
- package/dist/config/errors.d.ts +58 -0
- package/dist/config/errors.js +101 -0
- package/dist/config/gateways.d.ts +32 -0
- package/dist/config/gateways.js +1 -0
- package/dist/config/index.d.ts +9 -0
- package/dist/config/index.js +12 -0
- package/dist/config/live/config-gateway.d.ts +6 -0
- package/dist/config/live/config-gateway.js +71 -0
- package/dist/config/load.d.ts +54 -0
- package/dist/config/load.js +175 -0
- package/dist/config/resolve.d.ts +49 -0
- package/dist/config/resolve.js +94 -0
- package/dist/config/resource-config.d.ts +132 -0
- package/dist/config/resource-config.js +19 -0
- package/dist/config/schema.d.ts +64 -0
- package/dist/config/schema.js +57 -0
- package/dist/config/set.d.ts +16 -0
- package/dist/config/set.js +55 -0
- package/dist/config/settings-file.d.ts +41 -0
- package/dist/config/settings-file.js +72 -0
- package/dist/config-file/define.d.ts +37 -0
- package/dist/config-file/define.js +9 -0
- package/dist/config-file/toolchain.d.ts +9 -0
- package/dist/config-file/toolchain.js +41 -0
- package/dist/context.d.ts +86 -0
- package/dist/context.js +43 -0
- package/dist/core/command-provider.d.ts +126 -0
- package/dist/core/command-provider.js +13 -0
- package/dist/core/command-slots.d.ts +67 -0
- package/dist/core/command-slots.js +136 -0
- package/dist/core/events.d.ts +128 -0
- package/dist/core/events.js +15 -0
- package/dist/core/gateways.d.ts +249 -0
- package/dist/core/gateways.js +1 -0
- package/dist/core/index.d.ts +20 -0
- package/dist/core/index.js +18 -0
- package/dist/core/keyed.d.ts +12 -0
- package/dist/core/keyed.js +24 -0
- package/dist/core/lane.d.ts +46 -0
- package/dist/core/lane.js +5 -0
- package/dist/core/limit.d.ts +9 -0
- package/dist/core/limit.js +29 -0
- package/dist/core/live/command-gateway.d.ts +11 -0
- package/dist/core/live/command-gateway.js +83 -0
- package/dist/core/live/job-summary-gateway.d.ts +5 -0
- package/dist/core/live/job-summary-gateway.js +20 -0
- package/dist/core/live/progress-terminal.d.ts +20 -0
- package/dist/core/live/progress-terminal.js +173 -0
- package/dist/core/live/run-directory-gateway.d.ts +24 -0
- package/dist/core/live/run-directory-gateway.js +437 -0
- package/dist/core/mint.d.ts +10 -0
- package/dist/core/mint.js +14 -0
- package/dist/core/payload.d.ts +26 -0
- package/dist/core/payload.js +33 -0
- package/dist/core/presentation.d.ts +87 -0
- package/dist/core/presentation.js +5 -0
- package/dist/core/presentations.d.ts +56 -0
- package/dist/core/presentations.js +66 -0
- package/dist/core/provider.d.ts +69 -0
- package/dist/core/provider.js +5 -0
- package/dist/core/resource.d.ts +262 -0
- package/dist/core/resource.js +6 -0
- package/dist/core/resources.d.ts +131 -0
- package/dist/core/resources.js +254 -0
- package/dist/core/run-directory.d.ts +69 -0
- package/dist/core/run-directory.js +94 -0
- package/dist/core/run-state.d.ts +152 -0
- package/dist/core/run-state.js +313 -0
- package/dist/core/run.d.ts +187 -0
- package/dist/core/run.js +321 -0
- package/dist/core/state-directory.d.ts +19 -0
- package/dist/core/state-directory.js +29 -0
- package/dist/core/timeline.d.ts +63 -0
- package/dist/core/timeline.js +97 -0
- package/dist/core/timing.d.ts +22 -0
- package/dist/core/timing.js +26 -0
- package/dist/credential/credential.d.ts +46 -0
- package/dist/credential/credential.js +80 -0
- package/dist/credential/diagnosis.d.ts +18 -0
- package/dist/credential/diagnosis.js +99 -0
- package/dist/credential/gateways.d.ts +109 -0
- package/dist/credential/gateways.js +1 -0
- package/dist/credential/index.d.ts +7 -0
- package/dist/credential/index.js +7 -0
- package/dist/credential/live/github-actions-token-gateway.d.ts +15 -0
- package/dist/credential/live/github-actions-token-gateway.js +43 -0
- package/dist/credential/live/github-actions-token-response.d.ts +19 -0
- package/dist/credential/live/github-actions-token-response.js +49 -0
- package/dist/credential/live/vercel-cli-gateway.d.ts +9 -0
- package/dist/credential/live/vercel-cli-gateway.js +64 -0
- package/dist/credential/live/vercel-output.d.ts +60 -0
- package/dist/credential/live/vercel-output.js +122 -0
- package/dist/credential/live/vercel-process.d.ts +14 -0
- package/dist/credential/live/vercel-process.js +3 -0
- package/dist/credential/settle.d.ts +31 -0
- package/dist/credential/settle.js +49 -0
- package/dist/credential/source.d.ts +110 -0
- package/dist/credential/source.js +114 -0
- package/dist/help-logo.d.ts +11 -0
- package/dist/help-logo.js +56 -0
- package/dist/presentation.d.ts +26 -0
- package/dist/presentation.js +21 -0
- package/dist/resources/github/cleanup.d.ts +23 -0
- package/dist/resources/github/cleanup.js +39 -0
- package/dist/resources/github/command.d.ts +74 -0
- package/dist/resources/github/command.js +117 -0
- package/dist/resources/github/config.d.ts +16 -0
- package/dist/resources/github/config.js +37 -0
- package/dist/resources/github/events.d.ts +26 -0
- package/dist/resources/github/events.js +2 -0
- package/dist/resources/github/fixture-repo.d.ts +69 -0
- package/dist/resources/github/fixture-repo.js +60 -0
- package/dist/resources/github/gateways.d.ts +62 -0
- package/dist/resources/github/gateways.js +1 -0
- package/dist/resources/github/index.d.ts +12 -0
- package/dist/resources/github/index.js +15 -0
- package/dist/resources/github/live/fixture-repo-gateway.d.ts +12 -0
- package/dist/resources/github/live/fixture-repo-gateway.js +92 -0
- package/dist/resources/github/live/gateways.d.ts +6 -0
- package/dist/resources/github/live/gateways.js +13 -0
- package/dist/resources/github/presentation.d.ts +13 -0
- package/dist/resources/github/presentation.js +43 -0
- package/dist/resources/github/provider.d.ts +66 -0
- package/dist/resources/github/provider.js +58 -0
- package/dist/resources/github/resource-provider.d.ts +6 -0
- package/dist/resources/github/resource-provider.js +20 -0
- package/dist/resources/github/resource.d.ts +33 -0
- package/dist/resources/github/resource.js +12 -0
- package/dist/resources/testserver/cleanup.d.ts +14 -0
- package/dist/resources/testserver/cleanup.js +22 -0
- package/dist/resources/testserver/command.d.ts +322 -0
- package/dist/resources/testserver/command.js +245 -0
- package/dist/resources/testserver/commands/app.d.ts +18 -0
- package/dist/resources/testserver/commands/app.js +3 -0
- package/dist/resources/testserver/commands/create/command.d.ts +136 -0
- package/dist/resources/testserver/commands/create/command.js +158 -0
- package/dist/resources/testserver/commands/create/metadata.d.ts +31 -0
- package/dist/resources/testserver/commands/create/metadata.js +45 -0
- package/dist/resources/testserver/commands/create/outcomes.d.ts +111 -0
- package/dist/resources/testserver/commands/create/outcomes.js +172 -0
- package/dist/resources/testserver/commands/list/command.d.ts +60 -0
- package/dist/resources/testserver/commands/list/command.js +56 -0
- package/dist/resources/testserver/commands/list/metadata.d.ts +9 -0
- package/dist/resources/testserver/commands/list/metadata.js +9 -0
- package/dist/resources/testserver/commands/list/outcomes.d.ts +54 -0
- package/dist/resources/testserver/commands/list/outcomes.js +152 -0
- package/dist/resources/testserver/config.d.ts +18 -0
- package/dist/resources/testserver/config.js +77 -0
- package/dist/resources/testserver/credential-facts.d.ts +80 -0
- package/dist/resources/testserver/credential-facts.js +83 -0
- package/dist/resources/testserver/events.d.ts +59 -0
- package/dist/resources/testserver/events.js +4 -0
- package/dist/resources/testserver/index.d.ts +16 -0
- package/dist/resources/testserver/index.js +24 -0
- package/dist/resources/testserver/lane.d.ts +28 -0
- package/dist/resources/testserver/lane.js +139 -0
- package/dist/resources/testserver/live/gateways.d.ts +6 -0
- package/dist/resources/testserver/live/gateways.js +26 -0
- package/dist/resources/testserver/options.d.ts +5 -0
- package/dist/resources/testserver/options.js +5 -0
- package/dist/resources/testserver/pool/channels.d.ts +80 -0
- package/dist/resources/testserver/pool/channels.js +48 -0
- package/dist/resources/testserver/pool/create.d.ts +48 -0
- package/dist/resources/testserver/pool/create.js +45 -0
- package/dist/resources/testserver/pool/directory.d.ts +4 -0
- package/dist/resources/testserver/pool/directory.js +5 -0
- package/dist/resources/testserver/pool/gateways.d.ts +190 -0
- package/dist/resources/testserver/pool/gateways.js +1 -0
- package/dist/resources/testserver/pool/host.d.ts +8 -0
- package/dist/resources/testserver/pool/host.js +21 -0
- package/dist/resources/testserver/pool/index.d.ts +9 -0
- package/dist/resources/testserver/pool/index.js +10 -0
- package/dist/resources/testserver/pool/inspect.d.ts +53 -0
- package/dist/resources/testserver/pool/inspect.js +45 -0
- package/dist/resources/testserver/pool/lease.d.ts +84 -0
- package/dist/resources/testserver/pool/lease.js +125 -0
- package/dist/resources/testserver/pool/live/pool-records.d.ts +17 -0
- package/dist/resources/testserver/pool/live/pool-records.js +70 -0
- package/dist/resources/testserver/pool/live/pool-store-gateway.d.ts +12 -0
- package/dist/resources/testserver/pool/live/pool-store-gateway.js +435 -0
- package/dist/resources/testserver/pool/staleness.d.ts +16 -0
- package/dist/resources/testserver/pool/staleness.js +27 -0
- package/dist/resources/testserver/presentation.d.ts +9 -0
- package/dist/resources/testserver/presentation.js +217 -0
- package/dist/resources/testserver/provider.d.ts +177 -0
- package/dist/resources/testserver/provider.js +254 -0
- package/dist/resources/testserver/ran.d.ts +87 -0
- package/dist/resources/testserver/ran.js +140 -0
- package/dist/resources/testserver/resource-provider.d.ts +12 -0
- package/dist/resources/testserver/resource-provider.js +38 -0
- package/dist/resources/testserver/resource.d.ts +32 -0
- package/dist/resources/testserver/resource.js +10 -0
- package/dist/resources/testserver/run-sandbox.d.ts +13 -0
- package/dist/resources/testserver/run-sandbox.js +6 -0
- package/dist/resources/testserver/sandbox/channels.d.ts +12 -0
- package/dist/resources/testserver/sandbox/channels.js +21 -0
- package/dist/resources/testserver/sandbox/create-failure.d.ts +35 -0
- package/dist/resources/testserver/sandbox/create-failure.js +65 -0
- package/dist/resources/testserver/sandbox/create.d.ts +29 -0
- package/dist/resources/testserver/sandbox/create.js +37 -0
- package/dist/resources/testserver/sandbox/gateways.d.ts +150 -0
- package/dist/resources/testserver/sandbox/gateways.js +1 -0
- package/dist/resources/testserver/sandbox/index.d.ts +6 -0
- package/dist/resources/testserver/sandbox/index.js +7 -0
- package/dist/resources/testserver/sandbox/live/builds-response.d.ts +9 -0
- package/dist/resources/testserver/sandbox/live/builds-response.js +27 -0
- package/dist/resources/testserver/sandbox/live/control-plane-gateway.d.ts +17 -0
- package/dist/resources/testserver/sandbox/live/control-plane-gateway.js +133 -0
- package/dist/resources/testserver/sandbox/live/create-response.d.ts +35 -0
- package/dist/resources/testserver/sandbox/live/create-response.js +78 -0
- package/dist/resources/testserver/sandbox/live/fetch-failure.d.ts +24 -0
- package/dist/resources/testserver/sandbox/live/fetch-failure.js +45 -0
- package/dist/resources/testserver/sandbox/live/health-check-gateway.d.ts +11 -0
- package/dist/resources/testserver/sandbox/live/health-check-gateway.js +36 -0
- package/dist/resources/testserver/sandbox/live/sse.d.ts +12 -0
- package/dist/resources/testserver/sandbox/live/sse.js +32 -0
- package/dist/resources.d.ts +452 -0
- package/dist/resources.js +88 -0
- package/dist/runner/base.d.ts +40 -0
- package/dist/runner/base.js +52 -0
- package/dist/runner/context.d.ts +13 -0
- package/dist/runner/context.js +9 -0
- package/dist/runner/events.d.ts +179 -0
- package/dist/runner/events.js +16 -0
- package/dist/runner/gateways.d.ts +351 -0
- package/dist/runner/gateways.js +3 -0
- package/dist/runner/index.d.ts +19 -0
- package/dist/runner/index.js +18 -0
- package/dist/runner/live/checkout-gateway.d.ts +3 -0
- package/dist/runner/live/checkout-gateway.js +206 -0
- package/dist/runner/live/git-output.d.ts +14 -0
- package/dist/runner/live/git-output.js +32 -0
- package/dist/runner/live/sandbox-errors.d.ts +7 -0
- package/dist/runner/live/sandbox-errors.js +21 -0
- package/dist/runner/live/sandbox-gateway.d.ts +7 -0
- package/dist/runner/live/sandbox-gateway.js +427 -0
- package/dist/runner/live/snapshot-cache-gateway.d.ts +12 -0
- package/dist/runner/live/snapshot-cache-gateway.js +104 -0
- package/dist/runner/live/snapshot-records.d.ts +11 -0
- package/dist/runner/live/snapshot-records.js +57 -0
- package/dist/runner/live/terminal.d.ts +16 -0
- package/dist/runner/live/terminal.js +37 -0
- package/dist/runner/live/user.d.ts +2 -0
- package/dist/runner/live/user.js +11 -0
- package/dist/runner/output.d.ts +23 -0
- package/dist/runner/output.js +58 -0
- package/dist/runner/prepare.d.ts +67 -0
- package/dist/runner/prepare.js +59 -0
- package/dist/runner/ready.d.ts +68 -0
- package/dist/runner/ready.js +159 -0
- package/dist/runner/recipe.d.ts +126 -0
- package/dist/runner/recipe.js +302 -0
- package/dist/runner/remote-command.d.ts +77 -0
- package/dist/runner/remote-command.js +127 -0
- package/dist/runner/scope.d.ts +58 -0
- package/dist/runner/scope.js +117 -0
- package/dist/runner/snapshot-build.d.ts +33 -0
- package/dist/runner/snapshot-build.js +112 -0
- package/dist/runner/snapshot-cache.d.ts +84 -0
- package/dist/runner/snapshot-cache.js +126 -0
- package/dist/runner/snapshot-key.d.ts +52 -0
- package/dist/runner/snapshot-key.js +91 -0
- package/dist/runner/steps.d.ts +41 -0
- package/dist/runner/steps.js +49 -0
- package/dist/sdk/container/api-request.d.ts +32 -0
- package/dist/sdk/container/api-request.js +46 -0
- package/dist/sdk/container/container.d.ts +144 -0
- package/dist/sdk/container/container.js +346 -0
- package/dist/sdk/container/feature-flags.d.ts +37 -0
- package/dist/sdk/container/feature-flags.js +118 -0
- package/dist/sdk/container/gateways.d.ts +108 -0
- package/dist/sdk/container/gateways.js +1 -0
- package/dist/sdk/container/index.d.ts +5 -0
- package/dist/sdk/container/index.js +5 -0
- package/dist/sdk/container/live/container-gateway.d.ts +17 -0
- package/dist/sdk/container/live/container-gateway.js +114 -0
- package/dist/sdk/factories/build.d.ts +66 -0
- package/dist/sdk/factories/build.js +98 -0
- package/dist/sdk/factories/definition.d.ts +28 -0
- package/dist/sdk/factories/definition.js +16 -0
- package/dist/sdk/factories/definitions.d.ts +166 -0
- package/dist/sdk/factories/definitions.js +235 -0
- package/dist/sdk/factories/gateways.d.ts +25 -0
- package/dist/sdk/factories/gateways.js +1 -0
- package/dist/sdk/factories/index.d.ts +5 -0
- package/dist/sdk/factories/index.js +5 -0
- package/dist/sdk/factories/live/factory-gateway.d.ts +10 -0
- package/dist/sdk/factories/live/factory-gateway.js +29 -0
- package/dist/sdk/index.d.ts +7 -0
- package/dist/sdk/index.js +15 -0
- package/dist/sdk/payload/index.d.ts +2 -0
- package/dist/sdk/payload/index.js +4 -0
- package/dist/sdk/payload/payload.d.ts +47 -0
- package/dist/sdk/payload/payload.js +74 -0
- package/dist/sdk/payload/test-events.d.ts +102 -0
- package/dist/sdk/payload/test-events.js +59 -0
- package/dist/sdk/proxy/exchange.d.ts +58 -0
- package/dist/sdk/proxy/exchange.js +173 -0
- package/dist/sdk/proxy/faulted-exchange.d.ts +10 -0
- package/dist/sdk/proxy/faulted-exchange.js +106 -0
- package/dist/sdk/proxy/faults.d.ts +133 -0
- package/dist/sdk/proxy/faults.js +147 -0
- package/dist/sdk/proxy/index.d.ts +3 -0
- package/dist/sdk/proxy/index.js +3 -0
- package/dist/sdk/proxy/proxy.d.ts +93 -0
- package/dist/sdk/proxy/proxy.js +99 -0
- package/dist/sdk/proxy/records.d.ts +56 -0
- package/dist/sdk/proxy/records.js +56 -0
- package/dist/sdk/records/body.d.ts +89 -0
- package/dist/sdk/records/body.js +236 -0
- package/dist/sdk/records/index.d.ts +2 -0
- package/dist/sdk/records/index.js +4 -0
- package/dist/sdk/records/records.d.ts +49 -0
- package/dist/sdk/records/records.js +16 -0
- package/dist/sdk/seed/index.d.ts +1 -0
- package/dist/sdk/seed/index.js +3 -0
- package/dist/sdk/seed/seed.d.ts +221 -0
- package/dist/sdk/seed/seed.js +171 -0
- package/dist/sdk/testserver/clock.d.ts +8 -0
- package/dist/sdk/testserver/clock.js +10 -0
- package/dist/sdk/testserver/failure.d.ts +73 -0
- package/dist/sdk/testserver/failure.js +61 -0
- package/dist/sdk/testserver/index.d.ts +5 -0
- package/dist/sdk/testserver/index.js +8 -0
- package/dist/sdk/testserver/live/connect-failure.d.ts +7 -0
- package/dist/sdk/testserver/live/connect-failure.js +30 -0
- package/dist/sdk/testserver/live/request.d.ts +69 -0
- package/dist/sdk/testserver/live/request.js +89 -0
- package/dist/sdk/testserver/service-ids.d.ts +19 -0
- package/dist/sdk/testserver/service-ids.js +77 -0
- package/dist/sdk/testserver/test-id.d.ts +15 -0
- package/dist/sdk/testserver/test-id.js +28 -0
- package/dist/story/align.d.ts +37 -0
- package/dist/story/align.js +39 -0
- package/dist/story/artifact.d.ts +60 -0
- package/dist/story/artifact.js +93 -0
- package/dist/story/definition.d.ts +52 -0
- package/dist/story/definition.js +9 -0
- package/dist/story/diff.d.ts +9 -0
- package/dist/story/diff.js +97 -0
- package/dist/story/errors.d.ts +14 -0
- package/dist/story/errors.js +21 -0
- package/dist/story/gateways.d.ts +74 -0
- package/dist/story/gateways.js +3 -0
- package/dist/story/host.d.ts +27 -0
- package/dist/story/host.js +97 -0
- package/dist/story/index.d.ts +7 -0
- package/dist/story/index.js +9 -0
- package/dist/story/json.d.ts +16 -0
- package/dist/story/json.js +59 -0
- package/dist/story/live/artifact-gateway.d.ts +2 -0
- package/dist/story/live/artifact-gateway.js +82 -0
- package/dist/story/mode.d.ts +17 -0
- package/dist/story/mode.js +21 -0
- package/dist/story/orphans.d.ts +17 -0
- package/dist/story/orphans.js +15 -0
- package/dist/story/report.d.ts +30 -0
- package/dist/story/report.js +118 -0
- package/dist/story/run.d.ts +49 -0
- package/dist/story/run.js +160 -0
- package/dist/story/sequence.d.ts +30 -0
- package/dist/story/sequence.js +74 -0
- package/dist/story/settle.d.ts +94 -0
- package/dist/story/settle.js +70 -0
- package/dist/time/duration.d.ts +19 -0
- package/dist/time/duration.js +37 -0
- package/dist/time/index.d.ts +2 -0
- package/dist/time/index.js +4 -0
- package/dist/time/time.d.ts +15 -0
- package/dist/time/time.js +23 -0
- package/dist/vercel-cli/ansi.d.ts +13 -0
- package/dist/vercel-cli/ansi.js +32 -0
- package/dist/vercel-cli/arguments.d.ts +25 -0
- package/dist/vercel-cli/arguments.js +78 -0
- package/dist/vercel-cli/auth-config.d.ts +43 -0
- package/dist/vercel-cli/auth-config.js +36 -0
- package/dist/vercel-cli/clock.d.ts +9 -0
- package/dist/vercel-cli/clock.js +10 -0
- package/dist/vercel-cli/config-files.d.ts +24 -0
- package/dist/vercel-cli/config-files.js +40 -0
- package/dist/vercel-cli/context.d.ts +12 -0
- package/dist/vercel-cli/context.js +12 -0
- package/dist/vercel-cli/driver.d.ts +218 -0
- package/dist/vercel-cli/driver.js +364 -0
- package/dist/vercel-cli/entry.d.ts +8 -0
- package/dist/vercel-cli/entry.js +13 -0
- package/dist/vercel-cli/environment.d.ts +33 -0
- package/dist/vercel-cli/environment.js +72 -0
- package/dist/vercel-cli/errors.d.ts +8 -0
- package/dist/vercel-cli/errors.js +8 -0
- package/dist/vercel-cli/gateways.d.ts +103 -0
- package/dist/vercel-cli/gateways.js +4 -0
- package/dist/vercel-cli/index.d.ts +10 -0
- package/dist/vercel-cli/index.js +15 -0
- package/dist/vercel-cli/invocation.d.ts +234 -0
- package/dist/vercel-cli/invocation.js +397 -0
- package/dist/vercel-cli/keys.d.ts +14 -0
- package/dist/vercel-cli/keys.js +12 -0
- package/dist/vercel-cli/live/config-files.d.ts +28 -0
- package/dist/vercel-cli/live/config-files.js +66 -0
- package/dist/vercel-cli/live/process-gateway.d.ts +14 -0
- package/dist/vercel-cli/live/process-gateway.js +178 -0
- package/dist/vercel-cli/redaction.d.ts +13 -0
- package/dist/vercel-cli/redaction.js +22 -0
- package/dist/vercel-cli/report.d.ts +22 -0
- package/dist/vercel-cli/report.js +110 -0
- package/dist/vercel-cli/verbose.d.ts +7 -0
- package/dist/vercel-cli/verbose.js +24 -0
- package/dist/version.d.ts +20 -0
- package/dist/version.js +57 -0
- package/dist/vitest/config.d.ts +51 -0
- package/dist/vitest/config.js +61 -0
- package/dist/vitest/container-scope.d.ts +108 -0
- package/dist/vitest/container-scope.js +234 -0
- package/dist/vitest/diagnostics.d.ts +146 -0
- package/dist/vitest/diagnostics.js +306 -0
- package/dist/vitest/fixtures.d.ts +64 -0
- package/dist/vitest/fixtures.js +172 -0
- package/dist/vitest/gateways.d.ts +47 -0
- package/dist/vitest/gateways.js +3 -0
- package/dist/vitest/index.d.ts +3 -0
- package/dist/vitest/index.js +9 -0
- package/dist/vitest/list-output.d.ts +3 -0
- package/dist/vitest/list-output.js +19 -0
- package/dist/vitest/live/list-gateway.d.ts +7 -0
- package/dist/vitest/live/list-gateway.js +60 -0
- package/dist/vitest/ownership.d.ts +29 -0
- package/dist/vitest/ownership.js +68 -0
- package/dist/vitest/plan.d.ts +33 -0
- package/dist/vitest/plan.js +73 -0
- package/dist/vitest/sandbox.d.ts +16 -0
- package/dist/vitest/sandbox.js +35 -0
- package/dist/vitest/test-events.d.ts +41 -0
- package/dist/vitest/test-events.js +92 -0
- package/dist/vitest/test-results.d.ts +84 -0
- package/dist/vitest/test-results.js +160 -0
- package/dist/vitest/types.d.ts +68 -0
- package/dist/vitest/types.js +4 -0
- package/package.json +123 -4
- package/skills/overview.md +32 -0
- package/skills/read-run-output.md +65 -0
- package/README.md +0 -3
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import { type CommandBuilder } from "@vercel/clinkr";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import type { StormApp } from "../../context.ts";
|
|
4
|
+
/**
|
|
5
|
+
* Runs the command after `--`, with the run payload in `STORM_RUN` and the host variables each resource names
|
|
6
|
+
* removed (`TESTSERVER_BASES`/`TESTSERVER_BASE` for the Testserver pool), waits for it, and prints a waterfall. With a Testserver side it first leases usable Testserver sandboxes
|
|
7
|
+
* from the pool, creates the rest, and prints the sandbox list, and releases the leases once the command ends. The
|
|
8
|
+
* process exits with the command's code, or `128 + n` when signal `n` ended it: `bin/storm.ts` applies the
|
|
9
|
+
* status this records in `app.exit`, which Clinkr's 0 or 1 can't carry.
|
|
10
|
+
*
|
|
11
|
+
* A run holds a resource when `storm.config.ts` has it under `resources` or a `--set
|
|
12
|
+
* resources.<name>.<option>=<value>` names one of its options. A run has a Testserver side when it holds the
|
|
13
|
+
* Testserver pool resource; without one, the run payload names no Testserver sandbox.
|
|
14
|
+
*
|
|
15
|
+
* Signals: before the command starts, the first signal stops the run at its next step, lets creates in flight
|
|
16
|
+
* settle, releases its leases, and cancels (exit `128 + n`). While the command runs, Ctrl+C and a closed terminal
|
|
17
|
+
* reach it directly through its process group, so only SIGTERM is passed on; either way the run waits for the
|
|
18
|
+
* command. A second signal makes Clinkr's host exit at once with `128 + n`, leaving the leases for the next run
|
|
19
|
+
* to reclaim, since their holder is gone.
|
|
20
|
+
*
|
|
21
|
+
* `scope` and `project` come from `--scope` and `--project`, else `storm.config.ts` (found from the working
|
|
22
|
+
* directory and checked whole); they have no default, so one of the two must give them when the run mints. Each
|
|
23
|
+
* resource's options come from `--set resources.<name>.<option>=<value>`, which may repeat, else the file's section,
|
|
24
|
+
* else the option's default (the registry's resource configs, `src/resources.ts`). An unknown key path, a key path
|
|
25
|
+
* given twice, or a value its option's rule refuses is a usage error. Options that don't fit together once merged,
|
|
26
|
+
* such as a TTL not longer than `minTimeLeft`, or a `--set` of the TTL under `noCreate`, are
|
|
27
|
+
* `invalid_resource_options`, which names each value's source.
|
|
28
|
+
*
|
|
29
|
+
* By default the command runs in a runner sandbox, from the `runner` recipe of `storm.config.ts`, which only a
|
|
30
|
+
* runner run reads: `missing_runner` without one. `--local` (no config key) runs it on this machine instead. The
|
|
31
|
+
* runner's local checks (`prepareRunner`) run before anything is minted, leased or created. A runner run always
|
|
32
|
+
* mints, for the runner sandbox, so it needs `scope` and `project` whatever resources it holds. In a runner run, the
|
|
33
|
+
* first SIGINT, SIGTERM or SIGHUP stops the run in any phase: the remote command is killed, every sandbox the run
|
|
34
|
+
* started is stopped and deleted, the leases are released, and the run cancels. `--rebuild-snapshot` (no config key,
|
|
35
|
+
* not with `--local`) builds a runner snapshot whatever the cache holds.
|
|
36
|
+
*
|
|
37
|
+
* `--credential` (no config key) picks the credential source: `mint`, the default, or `github-actions`, which requests
|
|
38
|
+
* a GitHub Actions OIDC token instead and so needs no `--scope` or `--project`; any given are unused. A runner run
|
|
39
|
+
* needs the mint, so `--credential github-actions` without `--local` is a usage error. The registry says whether a
|
|
40
|
+
* held resource takes the credential (`RESOURCE_COMMANDS.takesCredential`): the Testserver pool does unless `noCreate`. A
|
|
41
|
+
* `--credential` given to a run where none does is `credential_unused`.
|
|
42
|
+
*
|
|
43
|
+
* Progress shows by the app's presentation (`presentation.ts`): a live view on a terminal a person watches, plain
|
|
44
|
+
* lines elsewhere, folded for GitHub Actions, nothing under `--json`. `--show-output` (no config key, not with
|
|
45
|
+
* `--local`) prints the runner's step output above the live view. `--verbose` (no config key) prints each create's
|
|
46
|
+
* progress messages and the runner's step output, and sets `verbose` in the run payload. Every run, `--json`
|
|
47
|
+
* included, writes a run directory (`core/run-directory.ts`), and a run that can't make one goes on without it; the
|
|
48
|
+
* waterfall names it and the `storm runs show` command that reads the run back by its run id, which a ran outcome
|
|
49
|
+
* carries as `runId`, and in a GitHub Actions step with a job summary the run appends a Markdown summary there.
|
|
50
|
+
*
|
|
51
|
+
* Each resource is a provider (the registry, `src/resources.ts`, lists them), whose folder under `src/resources/` says
|
|
52
|
+
* what the run does with it, and whose command half settles it (`RESOURCE_COMMANDS.settle`). The run refuses in this order:
|
|
53
|
+
* `invalid_config`, `invalid_resource_options`, `credential_unused`; in a runner run `missing_runner`, then
|
|
54
|
+
* `missing_target`; in a local run where a resource takes the credential, `missing_target` for the mint; then each
|
|
55
|
+
* resource's settle, in provider order. A resource's secrets, such as a token, are hidden as `<token>` in the run's
|
|
56
|
+
* progress, its run directory, its job summary, its outcome, and its command's output, in either kind of run.
|
|
57
|
+
*/
|
|
58
|
+
export declare function command(cmd: CommandBuilder<StormApp>): import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
59
|
+
set: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
60
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
61
|
+
project: z.ZodOptional<z.ZodString>;
|
|
62
|
+
credential: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
"github-actions": "github-actions";
|
|
64
|
+
mint: "mint";
|
|
65
|
+
}>>;
|
|
66
|
+
local: z.ZodDefault<z.ZodBoolean>;
|
|
67
|
+
rebuildSnapshot: z.ZodDefault<z.ZodBoolean>;
|
|
68
|
+
showOutput: z.ZodDefault<z.ZodBoolean>;
|
|
69
|
+
keepSandbox: z.ZodOptional<z.ZodString>;
|
|
70
|
+
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
71
|
+
command: z.ZodArray<z.ZodString>;
|
|
72
|
+
}, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
|
|
73
|
+
ran: z.ZodObject<{
|
|
74
|
+
version: z.ZodString;
|
|
75
|
+
commit: z.ZodNullable<z.ZodString>;
|
|
76
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
77
|
+
resources: z.ZodType<import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>, import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>, z.core.$ZodTypeInternals<import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>, import("../../core/resource.ts").ResourceRanFacts<import("../../resources.ts").Resources>>>;
|
|
78
|
+
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
79
|
+
command: z.ZodObject<{
|
|
80
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
81
|
+
signal: z.ZodNullable<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
runner: z.ZodNullable<z.ZodObject<{
|
|
84
|
+
snapshotId: z.ZodString;
|
|
85
|
+
base: z.ZodString;
|
|
86
|
+
built: z.ZodBoolean;
|
|
87
|
+
vcpus: z.ZodNumber;
|
|
88
|
+
region: z.ZodString;
|
|
89
|
+
runtime: z.ZodString;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
timeline: z.ZodObject<{
|
|
92
|
+
startedAt: z.ZodString;
|
|
93
|
+
totalMs: z.ZodNumber;
|
|
94
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
95
|
+
name: z.ZodEnum<{
|
|
96
|
+
cleanup: "cleanup";
|
|
97
|
+
mint: "mint";
|
|
98
|
+
runner: "runner";
|
|
99
|
+
tests: "tests";
|
|
100
|
+
testserver: "testserver";
|
|
101
|
+
}>;
|
|
102
|
+
startMs: z.ZodNumber;
|
|
103
|
+
endMs: z.ZodNumber;
|
|
104
|
+
outcome: z.ZodEnum<{
|
|
105
|
+
done: "done";
|
|
106
|
+
failed: "failed";
|
|
107
|
+
stopped: "stopped";
|
|
108
|
+
unfinished: "unfinished";
|
|
109
|
+
}>;
|
|
110
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
111
|
+
name: z.ZodEnum<{
|
|
112
|
+
[x: string]: string;
|
|
113
|
+
}>;
|
|
114
|
+
startMs: z.ZodNumber;
|
|
115
|
+
endMs: z.ZodNumber;
|
|
116
|
+
outcome: z.ZodEnum<{
|
|
117
|
+
done: "done";
|
|
118
|
+
failed: "failed";
|
|
119
|
+
stopped: "stopped";
|
|
120
|
+
unfinished: "unfinished";
|
|
121
|
+
}>;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
idleMs: z.ZodNumber;
|
|
124
|
+
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
built: "built";
|
|
126
|
+
reused: "reused";
|
|
127
|
+
}>>;
|
|
128
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
reused: z.ZodNumber;
|
|
130
|
+
created: z.ZodNumber;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
criticalPath: z.ZodArray<z.ZodEnum<{
|
|
134
|
+
cleanup: "cleanup";
|
|
135
|
+
mint: "mint";
|
|
136
|
+
runner: "runner";
|
|
137
|
+
tests: "tests";
|
|
138
|
+
testserver: "testserver";
|
|
139
|
+
}>>;
|
|
140
|
+
}, z.core.$strip>;
|
|
141
|
+
runId: z.ZodNullable<z.ZodString>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
}, {
|
|
144
|
+
ran: unknown;
|
|
145
|
+
}, {
|
|
146
|
+
credentialUnused: z.ZodObject<{
|
|
147
|
+
flags: z.ZodArray<z.ZodString>;
|
|
148
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
missingRunner: z.ZodObject<{
|
|
151
|
+
configFile: z.ZodNullable<z.ZodString>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
noBaseRef: z.ZodObject<{
|
|
154
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
155
|
+
ref: z.ZodString;
|
|
156
|
+
reason: z.ZodEnum<{
|
|
157
|
+
missing: "missing";
|
|
158
|
+
unrelated: "unrelated";
|
|
159
|
+
}>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
submodulesRefused: z.ZodObject<{
|
|
163
|
+
paths: z.ZodArray<z.ZodString>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
snapshotGone: z.ZodObject<{
|
|
166
|
+
snapshotId: z.ZodString;
|
|
167
|
+
base: z.ZodString;
|
|
168
|
+
removal: z.ZodNullable<z.ZodObject<{
|
|
169
|
+
path: z.ZodString;
|
|
170
|
+
message: z.ZodString;
|
|
171
|
+
}, z.core.$strip>>;
|
|
172
|
+
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
runnerFailed: z.ZodObject<{
|
|
175
|
+
failure: z.ZodUnion<readonly [z.ZodObject<{
|
|
176
|
+
kind: z.ZodEnum<{
|
|
177
|
+
"apply-failed": "apply-failed";
|
|
178
|
+
"build-failed": "build-failed";
|
|
179
|
+
"install-failed": "install-failed";
|
|
180
|
+
"snapshot-build-step-failed": "snapshot-build-step-failed";
|
|
181
|
+
}>;
|
|
182
|
+
label: z.ZodString;
|
|
183
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
184
|
+
tail: z.ZodArray<z.ZodString>;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
kind: z.ZodLiteral<"sandbox-api-failed">;
|
|
187
|
+
operation: z.ZodString;
|
|
188
|
+
status: z.ZodNullable<z.ZodNumber>;
|
|
189
|
+
message: z.ZodString;
|
|
190
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
191
|
+
kind: z.ZodLiteral<"checkout-failed">;
|
|
192
|
+
message: z.ZodString;
|
|
193
|
+
command: z.ZodNullable<z.ZodString>;
|
|
194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
195
|
+
kind: z.ZodLiteral<"credential-claims-missing">;
|
|
196
|
+
team: z.ZodString;
|
|
197
|
+
project: z.ZodString;
|
|
198
|
+
}, z.core.$strip>]>;
|
|
199
|
+
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
spawnFailed: z.ZodObject<{
|
|
202
|
+
executable: z.ZodString;
|
|
203
|
+
message: z.ZodString;
|
|
204
|
+
cleanup: z.ZodType<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts, z.core.$ZodTypeInternals<import("./cleanup.ts").StormCleanupFacts, import("./cleanup.ts").StormCleanupFacts>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
credentialRejected: import("@vercel/clinkr").SharedError<"credential_rejected", [{
|
|
207
|
+
origin: {
|
|
208
|
+
source: "mint";
|
|
209
|
+
team: string;
|
|
210
|
+
project: string;
|
|
211
|
+
} | {
|
|
212
|
+
source: "github-actions";
|
|
213
|
+
claims: {
|
|
214
|
+
aud: string;
|
|
215
|
+
repository: string;
|
|
216
|
+
} | null;
|
|
217
|
+
};
|
|
218
|
+
fix: string;
|
|
219
|
+
status: number;
|
|
220
|
+
vercelId: string | null;
|
|
221
|
+
ttlMinutes: number;
|
|
222
|
+
failedCreates: {
|
|
223
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
224
|
+
detail: string | null;
|
|
225
|
+
}[];
|
|
226
|
+
unpooled: {
|
|
227
|
+
testserverUrl: string;
|
|
228
|
+
path: string;
|
|
229
|
+
message: string;
|
|
230
|
+
}[];
|
|
231
|
+
sandboxMayExist: boolean;
|
|
232
|
+
} & {
|
|
233
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
234
|
+
}]>;
|
|
235
|
+
githubFixtureRepoUnavailable: import("@vercel/clinkr").SharedError<"github_fixture_repo_unavailable", [{
|
|
236
|
+
repo: string;
|
|
237
|
+
status: number | null;
|
|
238
|
+
message: string;
|
|
239
|
+
} & {
|
|
240
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
241
|
+
}]>;
|
|
242
|
+
githubTokenMissing: import("@vercel/clinkr").SharedError<"github_token_missing", [data: {
|
|
243
|
+
tokenEnv: string;
|
|
244
|
+
repo: string;
|
|
245
|
+
configFile: string | null;
|
|
246
|
+
requiredBy: "config" | "set";
|
|
247
|
+
}]>;
|
|
248
|
+
invalidConfig: import("@vercel/clinkr").SharedError<"invalid_config", [data: {
|
|
249
|
+
file: string;
|
|
250
|
+
problems: {
|
|
251
|
+
key: string | null;
|
|
252
|
+
location: {
|
|
253
|
+
line: number;
|
|
254
|
+
column: number | null;
|
|
255
|
+
} | null;
|
|
256
|
+
problem: string;
|
|
257
|
+
}[];
|
|
258
|
+
}]>;
|
|
259
|
+
invalidResourceOptions: import("@vercel/clinkr").SharedError<"invalid_resource_options", [data: {
|
|
260
|
+
configFile: string | null;
|
|
261
|
+
problems: {
|
|
262
|
+
key: string;
|
|
263
|
+
problem: string;
|
|
264
|
+
values: {
|
|
265
|
+
key: string;
|
|
266
|
+
value: string;
|
|
267
|
+
source: "default" | "file" | "flag";
|
|
268
|
+
}[];
|
|
269
|
+
}[];
|
|
270
|
+
}]>;
|
|
271
|
+
mintFailed: import("@vercel/clinkr").SharedError<"mint_failed", [data: {
|
|
272
|
+
team: string;
|
|
273
|
+
project: string;
|
|
274
|
+
cause: string;
|
|
275
|
+
fix: string;
|
|
276
|
+
runner: boolean;
|
|
277
|
+
cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
278
|
+
}]>;
|
|
279
|
+
missingTarget: import("@vercel/clinkr").SharedError<"missing_target", [data: {
|
|
280
|
+
missing: ("project" | "scope")[];
|
|
281
|
+
}]>;
|
|
282
|
+
noSandboxes: import("@vercel/clinkr").SharedError<"no_sandboxes", [{
|
|
283
|
+
requested: number;
|
|
284
|
+
ttlMinutes: number;
|
|
285
|
+
failedCreates: {
|
|
286
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
287
|
+
detail: string | null;
|
|
288
|
+
}[];
|
|
289
|
+
sandboxMayExist: boolean;
|
|
290
|
+
} & {
|
|
291
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
292
|
+
}]>;
|
|
293
|
+
noUsableSandboxes: import("@vercel/clinkr").SharedError<"no_usable_sandboxes", [{
|
|
294
|
+
requested: number;
|
|
295
|
+
build: string;
|
|
296
|
+
} & {
|
|
297
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
298
|
+
}]>;
|
|
299
|
+
poolUnavailable: import("@vercel/clinkr").SharedError<"pool_unavailable", [data: {
|
|
300
|
+
path: string;
|
|
301
|
+
message: string;
|
|
302
|
+
}]>;
|
|
303
|
+
poolUnreadable: import("@vercel/clinkr").SharedError<"pool_unreadable", [{
|
|
304
|
+
path: string;
|
|
305
|
+
message: string;
|
|
306
|
+
} & {
|
|
307
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
308
|
+
}]>;
|
|
309
|
+
tokenRequestFailed: import("@vercel/clinkr").SharedError<"token_request_failed", [{
|
|
310
|
+
cause: "request-failed" | "variables-missing";
|
|
311
|
+
missing: ("ACTIONS_ID_TOKEN_REQUEST_TOKEN" | "ACTIONS_ID_TOKEN_REQUEST_URL")[] | null;
|
|
312
|
+
status: number | null;
|
|
313
|
+
said: string | null;
|
|
314
|
+
detail: string;
|
|
315
|
+
fix: string;
|
|
316
|
+
ttlMinutes: number;
|
|
317
|
+
failedCreates: {
|
|
318
|
+
kind: "connect-failed" | "dropped" | "http-error" | "malformed" | "stream-ended" | "stream-error" | "timeout";
|
|
319
|
+
detail: string | null;
|
|
320
|
+
}[];
|
|
321
|
+
sandboxMayExist: boolean;
|
|
322
|
+
} & {
|
|
323
|
+
readonly cleanup: import("./cleanup.ts").StormCleanupFacts;
|
|
324
|
+
}]>;
|
|
325
|
+
}>, StormApp, false>;
|
|
326
|
+
/** How long a runner sandbox keeps running once its run ends, when neither the flag nor the recipe says. */
|
|
327
|
+
export declare const DEFAULT_KEEP_SANDBOX_MINUTES = 30;
|