@cnc-tools/storm 0.14.1 → 0.15.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.js +3 -1
- package/dist/bin/storm.js +18 -8
- package/dist/build-info.js +1 -1
- package/dist/chunks/chunk-4U4DZ7VG.js +40 -0
- package/dist/chunks/{chunk-GSC6SRTW.js → chunk-5CCP36QQ.js} +1 -1
- package/dist/chunks/chunk-5GBMR4HM.js +966 -0
- package/dist/chunks/{chunk-43MWZLJR.js → chunk-5VXBKPW6.js} +1 -1
- package/dist/chunks/{chunk-RA4L2ACU.js → chunk-AWBSONHB.js} +88 -34
- package/dist/chunks/{chunk-BRUIATTR.js → chunk-CN4EFA5J.js} +59 -12
- package/dist/chunks/{chunk-27P2QSIM.js → chunk-CXAT7ZKP.js} +2 -2
- package/dist/chunks/chunk-E4PJNZVG.js +783 -0
- package/dist/chunks/{chunk-T6AZIDZD.js → chunk-F6N34UWB.js} +12 -244
- package/dist/chunks/{chunk-ZH5R7W4A.js → chunk-KC4KDJ5K.js} +147 -26
- package/dist/chunks/{chunk-5ED3IDUJ.js → chunk-L36GBUBB.js} +1652 -681
- package/dist/chunks/{chunk-QBR5VHJ7.js → chunk-OX7X4B2L.js} +7 -2
- package/dist/chunks/{chunk-Z5OXOZD3.js → chunk-PN5ULTTH.js} +140 -130
- package/dist/chunks/chunk-QUHY6FGN.js +108 -0
- package/dist/chunks/chunk-QVS7HRU7.js +74 -0
- package/dist/chunks/{chunk-UC6DULWY.js → chunk-R7XVBZOY.js} +130 -39
- package/dist/chunks/{chunk-YBPTMJUM.js → chunk-RAQEXKL6.js} +1120 -465
- package/dist/chunks/{chunk-RKONDLPS.js → chunk-SZEURWRS.js} +446 -52
- package/dist/chunks/chunk-TJNFVNKR.js +246 -0
- package/dist/chunks/{chunk-BW2ADH7U.js → chunk-VUPZH7J2.js} +1 -1
- package/dist/chunks/{chunk-XPCUINWS.js → chunk-XEVHP5ZW.js} +2 -2
- package/dist/chunks/{chunk-5TMHYH7G.js → chunk-YV7GE6EV.js} +638 -80
- package/dist/chunks/{chunk-GQIL3AHY.js → chunk-ZG3WQ4UF.js} +1 -1
- package/dist/chunks/{live-app-FBVWUUMT.js → live-app-PI3BAN6Y.js} +37 -26
- package/dist/command-tree.d.ts +2 -2
- package/dist/command-tree.js +2 -2
- package/dist/commands/exec/across-sandboxes-outcomes.d.ts +364 -0
- package/dist/commands/exec/across-sandboxes-outcomes.js +229 -0
- package/dist/commands/exec/across-sandboxes-run.d.ts +180 -0
- package/dist/commands/exec/across-sandboxes-run.js +339 -0
- package/dist/commands/exec/command.d.ts +577 -75
- package/dist/commands/exec/command.js +165 -32
- package/dist/commands/exec/driver-plan.d.ts +8 -2
- package/dist/commands/exec/driver-plan.js +13 -3
- package/dist/commands/exec/exec-words.d.ts +17 -3
- package/dist/commands/exec/exec-words.js +27 -16
- package/dist/commands/exec/live-view.d.ts +3 -4
- package/dist/commands/exec/live-view.js +37 -28
- package/dist/commands/exec/metadata.js +2 -2
- package/dist/commands/exec/mint-failed.d.ts +4 -4
- package/dist/commands/exec/mint-failed.js +6 -6
- package/dist/commands/exec/outcomes.d.ts +530 -73
- package/dist/commands/exec/outcomes.js +202 -66
- package/dist/commands/exec/plan-only.d.ts +10 -0
- package/dist/commands/exec/plan-only.js +46 -0
- package/dist/commands/exec/plan-run.d.ts +54 -35
- package/dist/commands/exec/plan-run.js +81 -38
- package/dist/commands/exec/planned-outcome.d.ts +15 -0
- package/dist/commands/exec/planned-outcome.js +35 -0
- package/dist/commands/exec/progress.d.ts +2 -2
- package/dist/commands/exec/progress.js +35 -18
- package/dist/commands/exec/resource-refusals.d.ts +2 -2
- package/dist/commands/exec/resource-refusals.js +3 -3
- package/dist/commands/exec/run-bin.d.ts +1 -1
- package/dist/commands/exec/run-bin.js +2 -2
- package/dist/commands/exec/run-command.d.ts +345 -63
- package/dist/commands/exec/run-command.js +308 -258
- package/dist/commands/exec/run-metadata.d.ts +42 -8
- package/dist/commands/exec/run-metadata.js +40 -21
- package/dist/commands/exec/run-planned.d.ts +20 -0
- package/dist/commands/exec/run-planned.js +22 -0
- package/dist/commands/exec/sandbox-lines.d.ts +42 -0
- package/dist/commands/exec/sandbox-lines.js +59 -0
- package/dist/commands/exec/sandbox-progress.d.ts +30 -0
- package/dist/commands/exec/sandbox-progress.js +232 -0
- package/dist/commands/exec/sandbox-view.d.ts +19 -0
- package/dist/commands/exec/sandbox-view.js +72 -0
- package/dist/commands/exec/view.d.ts +3 -2
- package/dist/commands/exec/view.js +10 -6
- package/dist/commands/runs/facts.d.ts +51 -9
- package/dist/commands/runs/facts.js +49 -29
- package/dist/commands/runs/list/command.d.ts +80 -4
- package/dist/commands/runs/list/command.js +11 -10
- package/dist/commands/runs/list/metadata.js +1 -1
- package/dist/commands/runs/list/outcomes.d.ts +40 -2
- package/dist/commands/runs/logs/command.d.ts +103 -8
- package/dist/commands/runs/logs/command.js +139 -24
- package/dist/commands/runs/logs/metadata.d.ts +4 -0
- package/dist/commands/runs/logs/metadata.js +14 -7
- package/dist/commands/runs/logs/outcomes.d.ts +49 -2
- package/dist/commands/runs/logs/outcomes.js +110 -6
- package/dist/commands/runs/past-run.d.ts +77 -6
- package/dist/commands/runs/past-run.js +133 -4
- package/dist/commands/runs/show/command.d.ts +568 -10
- package/dist/commands/runs/show/command.js +634 -119
- package/dist/commands/runs/show/metadata.d.ts +17 -0
- package/dist/commands/runs/show/metadata.js +48 -7
- package/dist/commands/runs/show/outcomes.d.ts +276 -5
- package/dist/commands/runs/show/outcomes.js +484 -96
- package/dist/commands/snapshots/build/command.d.ts +109 -18
- package/dist/commands/snapshots/build/command.js +72 -36
- package/dist/commands/snapshots/build/metadata.d.ts +4 -0
- package/dist/commands/snapshots/build/metadata.js +5 -1
- package/dist/commands/snapshots/build/outcomes.d.ts +53 -8
- package/dist/commands/snapshots/build/outcomes.js +26 -3
- package/dist/commands/snapshots/list/command.d.ts +72 -7
- package/dist/commands/snapshots/list/command.js +57 -24
- package/dist/commands/snapshots/list/metadata.d.ts +4 -0
- package/dist/commands/snapshots/list/metadata.js +4 -0
- package/dist/commands/snapshots/list/outcomes.d.ts +31 -0
- package/dist/commands/snapshots/list/outcomes.js +25 -2
- package/dist/commands/suites/list/command.d.ts +129 -0
- package/dist/commands/suites/list/command.js +162 -0
- package/dist/commands/suites/list/metadata.d.ts +11 -0
- package/dist/commands/suites/list/metadata.js +15 -0
- package/dist/commands/suites/list/outcomes.d.ts +91 -0
- package/dist/commands/suites/list/outcomes.js +122 -0
- package/dist/commands/suites/metadata.js +8 -0
- package/dist/commands/test/command.d.ts +1389 -0
- package/dist/commands/test/command.js +583 -0
- package/dist/commands/test/metadata.js +8 -0
- package/dist/commands/test/outcomes.d.ts +765 -0
- package/dist/commands/test/outcomes.js +140 -0
- package/dist/commands/test/plan.d.ts +92 -0
- package/dist/commands/test/plan.js +128 -0
- package/dist/commands/test/test-words.d.ts +12 -0
- package/dist/commands/test/test-words.js +42 -0
- package/dist/config/check-resources.d.ts +14 -0
- package/dist/config/check-resources.js +98 -0
- package/dist/config/check-runner.d.ts +13 -0
- package/dist/config/check-runner.js +54 -0
- package/dist/config/check-suites.d.ts +14 -0
- package/dist/config/check-suites.js +99 -0
- package/dist/config/gateways.d.ts +24 -0
- package/dist/config/index.d.ts +6 -3
- package/dist/config/index.js +3 -1
- package/dist/config/live/file-lists-file-gateway.d.ts +4 -0
- package/dist/config/live/file-lists-file-gateway.js +27 -0
- package/dist/config/load.d.ts +11 -10
- package/dist/config/load.js +35 -103
- package/dist/config/recipe-run.d.ts +8 -1
- package/dist/config/recipe-run.js +2 -1
- package/dist/config/resolve.d.ts +3 -2
- package/dist/config/resolve.js +6 -3
- package/dist/config/resolver.d.ts +20 -6
- package/dist/config/resolver.js +11 -8
- package/dist/config/runner.d.ts +24 -0
- package/dist/config/runner.js +4 -0
- package/dist/config/schema.d.ts +26 -18
- package/dist/config/schema.js +41 -9
- package/dist/config/settings-file.d.ts +9 -3
- package/dist/config/settings-file.js +41 -4
- package/dist/config/suite.d.ts +39 -0
- package/dist/config/suite.js +5 -0
- package/dist/config-file/define.d.ts +49 -18
- package/dist/config-file/define.js +9 -8
- package/dist/config-file/runner.d.ts +12 -0
- package/dist/config-file/runner.js +9 -0
- package/dist/context.d.ts +13 -8
- package/dist/context.js +13 -4
- package/dist/core/across-sandboxes.d.ts +43 -0
- package/dist/core/across-sandboxes.js +319 -0
- package/dist/core/before-run.d.ts +5 -3
- package/dist/core/before-run.js +12 -1
- package/dist/core/events.d.ts +62 -6
- package/dist/core/events.js +14 -0
- package/dist/core/index.d.ts +4 -2
- package/dist/core/index.js +3 -1
- package/dist/core/payload.d.ts +7 -4
- package/dist/core/payload.js +10 -4
- package/dist/core/presentations.js +1 -1
- package/dist/core/resource.d.ts +1 -1
- package/dist/core/resources.d.ts +56 -6
- package/dist/core/resources.js +81 -5
- package/dist/core/run-state.js +9 -0
- package/dist/core/run.d.ts +77 -15
- package/dist/core/run.js +150 -86
- package/dist/core/sandbox-end.d.ts +64 -0
- package/dist/core/sandbox-end.js +128 -0
- package/dist/core/timeline.d.ts +4 -4
- package/dist/core/timeline.js +3 -3
- package/dist/credential/live/vercel-cli-gateway.d.ts +7 -0
- package/dist/credential/live/vercel-cli-gateway.js +14 -1
- package/dist/extensions/github/context.d.ts +1 -1
- package/dist/extensions/github/definition.d.ts +11 -9
- package/dist/extensions/github/definition.js +8 -6
- package/dist/extensions/github/extension.d.ts +3 -3
- package/dist/extensions/github/fixture-repo.d.ts +21 -2
- package/dist/extensions/github/fixture-repo.js +31 -2
- package/dist/extensions/github/index.d.ts +2 -2
- package/dist/extensions/github/index.js +2 -2
- package/dist/extensions/github/lifecycle.d.ts +16 -6
- package/dist/extensions/github/lifecycle.js +42 -25
- package/dist/extensions/github/options.d.ts +17 -11
- package/dist/extensions/github/options.js +14 -13
- package/dist/extensions/github/refusals.d.ts +23 -6
- package/dist/extensions/github/refusals.js +34 -12
- package/dist/extensions/github/resource.d.ts +21 -12
- package/dist/extensions/github/resource.js +16 -8
- package/dist/extensions/github/run/payload.d.ts +6 -6
- package/dist/extensions/github/run/payload.js +3 -5
- package/dist/extensions/github/split.d.ts +10 -0
- package/dist/extensions/github/split.js +12 -0
- package/dist/extensions/playwright/driver.js +6 -26
- package/dist/extensions/playwright/extension.js +1 -1
- package/dist/extensions/testserver/commands/pool/create/command.js +8 -8
- package/dist/extensions/testserver/commands/pool/list/command.js +4 -4
- package/dist/extensions/testserver/definition.d.ts +4 -4
- package/dist/extensions/testserver/definition.js +41 -31
- package/dist/extensions/testserver/extension.d.ts +4 -5
- package/dist/extensions/testserver/extension.js +14 -41
- package/dist/extensions/testserver/index.d.ts +1 -1
- package/dist/extensions/testserver/index.js +1 -1
- package/dist/extensions/testserver/lifecycle.d.ts +10 -2
- package/dist/extensions/testserver/lifecycle.js +29 -6
- package/dist/extensions/testserver/options/rules.d.ts +5 -5
- package/dist/extensions/testserver/options/rules.js +10 -8
- package/dist/extensions/testserver/options/sandboxes.d.ts +4 -2
- package/dist/extensions/testserver/options/sandboxes.js +8 -3
- package/dist/extensions/testserver/pool/gateways.d.ts +29 -4
- package/dist/extensions/testserver/pool/index.d.ts +2 -2
- package/dist/extensions/testserver/pool/index.js +1 -1
- package/dist/extensions/testserver/pool/lease.d.ts +10 -0
- package/dist/extensions/testserver/pool/lease.js +21 -0
- package/dist/extensions/testserver/pool/live/pool-store-gateway.js +38 -3
- package/dist/extensions/testserver/refusals.d.ts +12 -0
- package/dist/extensions/testserver/refusals.js +18 -0
- package/dist/extensions/testserver/release.d.ts +16 -0
- package/dist/extensions/testserver/release.js +56 -4
- package/dist/extensions/testserver/resource.d.ts +4 -4
- package/dist/extensions/testserver/resource.js +1 -1
- package/dist/extensions/testserver/split.d.ts +9 -0
- package/dist/extensions/testserver/split.js +22 -0
- package/dist/extensions/testserver/vitest/fixtures.d.ts +5 -5
- package/dist/extensions/testserver/vitest/fixtures.js +9 -38
- package/dist/extensions/vitest/driver.d.ts +7 -0
- package/dist/extensions/vitest/driver.js +33 -37
- package/dist/extensions/vitest/extension.js +1 -1
- package/dist/extensions/vitest/plan/plan-over.d.ts +8 -1
- package/dist/extensions/vitest/plan/plan-over.js +16 -2
- package/dist/extensions.d.ts +17 -16
- package/dist/extensions.js +5 -4
- package/dist/forward-sigterm.js +1 -1
- package/dist/launcher-resolvers/local-services.d.ts +1 -1
- package/dist/live-app.d.ts +3 -1
- package/dist/live-app.js +9 -5
- package/dist/local-services.js +1 -1
- package/dist/planning/driver-file-lists.d.ts +61 -0
- package/dist/planning/driver-file-lists.js +66 -0
- package/dist/{commands/exec → planning}/driver-refusals.d.ts +11 -10
- package/dist/{commands/exec → planning}/driver-refusals.js +18 -14
- package/dist/planning/file-lists-file.d.ts +58 -0
- package/dist/planning/file-lists-file.js +105 -0
- package/dist/planning/file-lists.d.ts +28 -0
- package/dist/planning/file-lists.js +52 -0
- package/dist/{commands/exec → planning}/final-results.d.ts +1 -1
- package/dist/{commands/exec → planning}/final-results.js +6 -6
- package/dist/planning/plan-only.d.ts +81 -0
- package/dist/planning/plan-only.js +83 -0
- package/dist/{commands/exec → planning}/redaction.d.ts +2 -2
- package/dist/{commands/exec → planning}/redaction.js +5 -4
- package/dist/{commands/exec → planning}/resource-flags.d.ts +5 -12
- package/dist/{commands/exec → planning}/resource-flags.js +6 -16
- package/dist/planning/run-kind-flags.d.ts +20 -0
- package/dist/planning/run-kind-flags.js +48 -0
- package/dist/planning/run-plan.d.ts +30 -0
- package/dist/planning/run-plan.js +4 -0
- package/dist/planning/sandbox-placeholders.d.ts +22 -0
- package/dist/planning/sandbox-placeholders.js +60 -0
- package/dist/planning/suite-not-found.d.ts +37 -0
- package/dist/planning/suite-not-found.js +36 -0
- package/dist/planning/suites.d.ts +43 -0
- package/dist/planning/suites.js +89 -0
- package/dist/{commands/exec → planning}/test-plan.d.ts +8 -3
- package/dist/{commands/exec → planning}/test-plan.js +32 -4
- package/dist/playwright/reporter.d.ts +20 -8
- package/dist/playwright/reporter.js +195 -15
- package/dist/presentation.d.ts +10 -6
- package/dist/presentation.js +13 -15
- package/dist/run-directory/gateways.d.ts +60 -4
- package/dist/run-directory/index.d.ts +4 -4
- package/dist/run-directory/index.js +2 -1
- package/dist/run-directory/live/run-directory-gateway.js +92 -16
- package/dist/run-directory/plan.d.ts +35 -2
- package/dist/run-directory/plan.js +44 -7
- package/dist/run-directory/reader.d.ts +26 -5
- package/dist/run-directory/reader.js +24 -1
- package/dist/run-directory/recording.d.ts +75 -49
- package/dist/run-directory/recording.js +214 -28
- package/dist/run-directory/run-directory.d.ts +22 -1
- package/dist/run-directory/run-directory.js +24 -0
- package/dist/run-directory/run-record.d.ts +144 -21
- package/dist/run-directory/run-record.js +118 -19
- package/dist/run-directory/timeline-facts.js +4 -4
- package/dist/runner/build-snapshots.d.ts +7 -7
- package/dist/runner/build-snapshots.js +12 -16
- package/dist/runner/events.d.ts +29 -8
- package/dist/runner/gateways.d.ts +59 -8
- package/dist/runner/index.d.ts +6 -4
- package/dist/runner/index.js +3 -2
- package/dist/runner/live/sandbox-gateway.js +177 -33
- package/dist/runner/live/terminal.d.ts +15 -3
- package/dist/runner/live/terminal.js +25 -3
- package/dist/runner/network-policy.d.ts +55 -0
- package/dist/runner/network-policy.js +46 -0
- package/dist/runner/policy-writes.d.ts +40 -0
- package/dist/runner/policy-writes.js +124 -0
- package/dist/runner/prepare.d.ts +6 -7
- package/dist/runner/ready.d.ts +39 -10
- package/dist/runner/ready.js +59 -47
- package/dist/runner/recipe-check.d.ts +6 -0
- package/dist/runner/recipe-check.js +29 -0
- package/dist/runner/recipe-secrets.d.ts +67 -0
- package/dist/runner/recipe-secrets.js +230 -0
- package/dist/runner/recipe.d.ts +118 -28
- package/dist/runner/recipe.js +147 -154
- package/dist/runner/sandboxed-command.d.ts +24 -10
- package/dist/runner/sandboxed-command.js +37 -12
- package/dist/runner/scope.d.ts +107 -21
- package/dist/runner/scope.js +274 -54
- package/dist/runner/secrets.d.ts +42 -31
- package/dist/runner/secrets.js +62 -40
- package/dist/runner/session.d.ts +59 -26
- package/dist/runner/session.js +82 -41
- package/dist/runner/snapshot-build.d.ts +7 -4
- package/dist/runner/snapshot-build.js +48 -28
- package/dist/runner/snapshot-choice.d.ts +37 -0
- package/dist/runner/snapshot-choice.js +38 -0
- package/dist/runner/snapshot-key.d.ts +16 -14
- package/dist/runner/snapshot-key.js +24 -18
- package/dist/runner/steps.d.ts +13 -5
- package/dist/runner/steps.js +34 -4
- package/dist/runner/time-limit.d.ts +10 -0
- package/dist/runner/time-limit.js +43 -0
- package/dist/sdk/extension/commands.d.ts +1 -7
- package/dist/sdk/extension/driver.d.ts +39 -46
- package/dist/sdk/extension/driver.js +6 -6
- package/dist/sdk/extension/index.d.ts +3 -3
- package/dist/sdk/extension/index.js +3 -4
- package/dist/sdk/extension/lifecycle.d.ts +52 -9
- package/dist/sdk/extension/lifecycle.js +1 -1
- package/dist/sdk/extension/resource-definition.d.ts +13 -10
- package/dist/sdk/extension/resource-definition.js +7 -2
- package/dist/sdk/extension/resource.d.ts +2 -2
- package/dist/sdk/extension/secret-source.d.ts +58 -0
- package/dist/sdk/extension/secret-source.js +78 -0
- package/dist/sdk/index.d.ts +2 -2
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/run/launcher.d.ts +1 -1
- package/dist/sdk/run/launcher.js +1 -1
- package/dist/sdk/run/payload.d.ts +16 -1
- package/dist/sdk/run/payload.js +17 -2
- package/dist/sdk/run/redact.js +2 -2
- package/dist/sdk/run/test-events.d.ts +23 -6
- package/dist/sdk/run/test-events.js +6 -4
- package/dist/sdk/run/test-result-writer.d.ts +8 -3
- package/dist/sdk/run/test-result-writer.js +22 -2
- package/dist/{commands/exec → shared}/cleanup.d.ts +3 -3
- package/dist/{commands/exec → shared}/cleanup.js +11 -6
- package/dist/shared/job-summary.d.ts +19 -0
- package/dist/{commands/exec → shared}/job-summary.js +17 -0
- package/dist/shared/sandbox-table.d.ts +48 -0
- package/dist/shared/sandbox-table.js +109 -0
- package/dist/{commands/exec → shared}/snapshot-text.d.ts +1 -1
- package/dist/{commands/exec → shared}/tests-summary.d.ts +22 -6
- package/dist/{commands/exec → shared}/tests-summary.js +74 -31
- package/dist/{commands/exec → shared}/text.d.ts +7 -2
- package/dist/{commands/exec → shared}/text.js +9 -1
- package/dist/{commands/exec → shared}/waterfall.d.ts +8 -6
- package/dist/{commands/exec → shared}/waterfall.js +71 -24
- package/dist/shared/worker-chart.d.ts +172 -0
- package/dist/shared/worker-chart.js +623 -0
- package/dist/vitest/config.d.ts +35 -11
- package/dist/vitest/config.js +47 -14
- package/dist/vitest/index.d.ts +1 -1
- package/dist/vitest/index.js +3 -3
- package/dist/vitest/sequencer.d.ts +23 -0
- package/dist/vitest/sequencer.js +73 -0
- package/dist/vitest/setup.d.ts +1 -0
- package/dist/vitest/setup.js +34 -0
- package/dist/vitest/test-events.d.ts +32 -6
- package/dist/vitest/test-events.js +25 -5
- package/dist/vitest/test-results.d.ts +8 -3
- package/dist/vitest/test-results.js +6 -0
- package/package.json +7 -2
- package/skills/overview.md +21 -17
- package/skills/plan-runs.md +67 -0
- package/skills/read-run-output.md +51 -19
- package/dist/chunks/chunk-BFLYGMG3.js +0 -607
- package/dist/chunks/chunk-HOKDKP5A.js +0 -49
- package/dist/chunks/chunk-IVRRGGCD.js +0 -201
- package/dist/chunks/chunk-NMVODY3P.js +0 -19
- package/dist/commands/exec/define-run-command.d.ts +0 -671
- package/dist/commands/exec/define-run-command.js +0 -91
- package/dist/commands/exec/job-summary.d.ts +0 -10
- package/dist/commands/exec/worker-chart.d.ts +0 -87
- package/dist/commands/exec/worker-chart.js +0 -343
- package/dist/commands/playwright/command.d.ts +0 -661
- package/dist/commands/playwright/command.js +0 -31
- package/dist/commands/playwright/metadata.js +0 -8
- package/dist/commands/vitest/command.d.ts +0 -662
- package/dist/commands/vitest/command.js +0 -31
- package/dist/commands/vitest/metadata.js +0 -8
- package/dist/sdk/extension/ci.d.ts +0 -2
- package/dist/sdk/extension/ci.js +0 -6
- package/dist/chunks/{chunk-YM6TZV4L.js → chunk-VL7WFTVQ.js} +52 -52
- package/dist/commands/{playwright → suites}/metadata.d.ts +1 -1
- package/dist/commands/{vitest → test}/metadata.d.ts +1 -1
- /package/dist/{commands → shared}/dashboard.d.ts +0 -0
- /package/dist/{commands → shared}/dashboard.js +0 -0
- /package/dist/{commands/exec → shared}/snapshot-text.js +0 -0
|
@@ -2,13 +2,27 @@ import { z } from "zod";
|
|
|
2
2
|
/**
|
|
3
3
|
* Shows a past run: run `id`, or without one the newest finished run of the config file found from the working
|
|
4
4
|
* directory, or of every run with `--all` or when none is found. It reads the run's `run.json`, its `timeline.json`,
|
|
5
|
-
* its `tests.jsonl`, which the run writes redacted once it is over, and which run logs it has, and changes nothing.
|
|
6
|
-
* `--
|
|
5
|
+
* its `tests.jsonl`, which the run writes redacted once it is over, and which run logs it has, and changes nothing.
|
|
6
|
+
* `--workers` expands the waterfall under `command` to show every worker lane, and `--slowest` sorts the test list by
|
|
7
|
+
* duration descending. `--failed`, `--test`, and `--worker` select only the matching tests, with each one's
|
|
8
|
+
* deduplicated errors and test output, and omit non-matching tests and files. A run across runner sandboxes shows its
|
|
9
|
+
* runner sandbox records, from its `run.json`, and each runner sandbox entry's timeline, workers, and run logs;
|
|
10
|
+
* `--sandbox` limits the tests, the test files, the workers, and the waterfalls to one runner sandbox, and `--failed`
|
|
11
|
+
* omits passed runner sandbox entries and shows each runner sandbox that did not pass. Each runner sandbox has its own
|
|
12
|
+
* worker indexes from 0, so on such a run `--worker` needs `--sandbox`, and each test's duration and worker come from
|
|
13
|
+
* its own runner sandbox's test events. It leaves a runner sandbox's `tail` out, as
|
|
14
|
+
* null, when the runner sandbox's command failed (`failedStage === "command"`) and its tests' final results hold a
|
|
15
|
+
* failed test, which says why. The handler alone decides that, and the view reads it.
|
|
7
16
|
*/
|
|
8
17
|
declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
9
18
|
id: z.ZodOptional<z.ZodString>;
|
|
10
19
|
failed: z.ZodDefault<z.ZodBoolean>;
|
|
20
|
+
summary: z.ZodDefault<z.ZodBoolean>;
|
|
11
21
|
test: z.ZodOptional<z.ZodString>;
|
|
22
|
+
workers: z.ZodDefault<z.ZodBoolean>;
|
|
23
|
+
worker: z.ZodOptional<z.ZodString>;
|
|
24
|
+
slowest: z.ZodDefault<z.ZodBoolean>;
|
|
25
|
+
sandbox: z.ZodOptional<z.ZodNumber>;
|
|
12
26
|
all: z.ZodDefault<z.ZodBoolean>;
|
|
13
27
|
}, z.core.$strip>, import("@vercel/clinkr").Outcomes<{
|
|
14
28
|
shown: z.ZodObject<{
|
|
@@ -20,9 +34,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
20
34
|
configFile: z.ZodNullable<z.ZodString>;
|
|
21
35
|
argv: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
22
36
|
where: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
|
-
kind: z.ZodLiteral<"
|
|
37
|
+
kind: z.ZodLiteral<"launch-machine">;
|
|
24
38
|
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
kind: z.ZodLiteral<"
|
|
39
|
+
kind: z.ZodLiteral<"vercel-sandbox">;
|
|
26
40
|
team: z.ZodString;
|
|
27
41
|
project: z.ZodString;
|
|
28
42
|
region: z.ZodString;
|
|
@@ -53,6 +67,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
53
67
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
54
68
|
signal: z.ZodNullable<z.ZodString>;
|
|
55
69
|
ms: z.ZodNullable<z.ZodNumber>;
|
|
70
|
+
wallMs: z.ZodNullable<z.ZodNumber>;
|
|
56
71
|
tests: z.ZodNullable<z.ZodObject<{
|
|
57
72
|
passed: z.ZodNumber;
|
|
58
73
|
failed: z.ZodNumber;
|
|
@@ -65,9 +80,48 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
65
80
|
}, z.core.$strip>>>;
|
|
66
81
|
resourceRows: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>], null>>;
|
|
67
82
|
}, z.core.$strip>>;
|
|
83
|
+
driver: z.ZodNullable<z.ZodString>;
|
|
84
|
+
suite: z.ZodNullable<z.ZodString>;
|
|
85
|
+
sandboxes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
86
|
+
sandbox: z.ZodNumber;
|
|
87
|
+
argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
88
|
+
files: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
89
|
+
state: z.ZodEnum<{
|
|
90
|
+
canceled: "canceled";
|
|
91
|
+
failed: "failed";
|
|
92
|
+
"not-started": "not-started";
|
|
93
|
+
passed: "passed";
|
|
94
|
+
pending: "pending";
|
|
95
|
+
}>;
|
|
96
|
+
failedStage: z.ZodNullable<z.ZodEnum<{
|
|
97
|
+
apply: "apply";
|
|
98
|
+
build: "build";
|
|
99
|
+
checkout: "checkout";
|
|
100
|
+
command: "command";
|
|
101
|
+
install: "install";
|
|
102
|
+
mint: "mint";
|
|
103
|
+
resource: "resource";
|
|
104
|
+
snapshot: "snapshot";
|
|
105
|
+
start: "start";
|
|
106
|
+
storm: "storm";
|
|
107
|
+
upload: "upload";
|
|
108
|
+
}>>;
|
|
109
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
110
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
111
|
+
name: z.ZodNullable<z.ZodString>;
|
|
112
|
+
keptUntil: z.ZodNullable<z.ZodString>;
|
|
113
|
+
preparedMs: z.ZodNullable<z.ZodNumber>;
|
|
114
|
+
commandMs: z.ZodNullable<z.ZodNumber>;
|
|
115
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
116
|
+
passed: z.ZodNumber;
|
|
117
|
+
failed: z.ZodNumber;
|
|
118
|
+
skipped: z.ZodNumber;
|
|
119
|
+
}, z.core.$strip>>;
|
|
120
|
+
tail: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
121
|
+
}, z.core.$strip>>>;
|
|
68
122
|
plan: z.ZodNullable<z.ZodObject<{
|
|
69
123
|
tests: z.ZodOptional<z.ZodNumber>;
|
|
70
|
-
files: z.ZodNumber
|
|
124
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
71
125
|
options: z.ZodArray<z.ZodObject<{
|
|
72
126
|
path: z.ZodString;
|
|
73
127
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -77,6 +131,18 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
77
131
|
flag: "flag";
|
|
78
132
|
}>;
|
|
79
133
|
}, z.core.$strip>>;
|
|
134
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
count: z.ZodNumber;
|
|
136
|
+
from: z.ZodEnum<{
|
|
137
|
+
default: "default";
|
|
138
|
+
"file-lists": "file-lists";
|
|
139
|
+
flag: "flag";
|
|
140
|
+
}>;
|
|
141
|
+
max: z.ZodNumber;
|
|
142
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
}, z.core.$strip>>;
|
|
80
146
|
}, z.core.$strip>>;
|
|
81
147
|
finished: z.ZodBoolean;
|
|
82
148
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -132,33 +198,201 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
132
198
|
resource: z.ZodNullable<z.ZodString>;
|
|
133
199
|
}, z.core.$strip>>;
|
|
134
200
|
}, z.core.$strip>>;
|
|
201
|
+
workerView: z.ZodEnum<{
|
|
202
|
+
lanes: "lanes";
|
|
203
|
+
sparkline: "sparkline";
|
|
204
|
+
}>;
|
|
205
|
+
slowest: z.ZodBoolean;
|
|
206
|
+
parallelism: z.ZodNullable<z.ZodObject<{
|
|
207
|
+
workerCount: z.ZodNumber;
|
|
208
|
+
testsWallMs: z.ZodNumber;
|
|
209
|
+
totalActiveMs: z.ZodNumber;
|
|
210
|
+
avgConcurrency: z.ZodNumber;
|
|
211
|
+
peakConcurrency: z.ZodNumber;
|
|
212
|
+
singleWorkerTailMs: z.ZodNumber;
|
|
213
|
+
attemptMs: z.ZodNumber;
|
|
214
|
+
waitedOn: z.ZodObject<{
|
|
215
|
+
worker: z.ZodNumber;
|
|
216
|
+
file: z.ZodString;
|
|
217
|
+
fileDurationMs: z.ZodNumber;
|
|
218
|
+
fileCount: z.ZodNumber;
|
|
219
|
+
durationMs: z.ZodNumber;
|
|
220
|
+
setupMs: z.ZodNumber;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
workers: z.ZodArray<z.ZodObject<{
|
|
224
|
+
worker: z.ZodNumber;
|
|
225
|
+
startMs: z.ZodNumber;
|
|
226
|
+
endMs: z.ZodNumber;
|
|
227
|
+
durationMs: z.ZodNumber;
|
|
228
|
+
setupMs: z.ZodNumber;
|
|
229
|
+
tests: z.ZodNumber;
|
|
230
|
+
files: z.ZodArray<z.ZodObject<{
|
|
231
|
+
file: z.ZodString;
|
|
232
|
+
startMs: z.ZodNumber;
|
|
233
|
+
endMs: z.ZodNumber;
|
|
234
|
+
durationMs: z.ZodNumber;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
237
|
+
label: z.ZodString;
|
|
238
|
+
resource: z.ZodString;
|
|
239
|
+
startMs: z.ZodNumber;
|
|
240
|
+
endMs: z.ZodNumber;
|
|
241
|
+
durationMs: z.ZodNumber;
|
|
242
|
+
setupMs: z.ZodNullable<z.ZodNumber>;
|
|
243
|
+
warmupMs: z.ZodNullable<z.ZodNumber>;
|
|
244
|
+
ok: z.ZodBoolean;
|
|
245
|
+
}, z.core.$strip>>;
|
|
246
|
+
}, z.core.$strip>>;
|
|
247
|
+
sandboxEntries: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
248
|
+
sandbox: z.ZodNumber;
|
|
249
|
+
path: z.ZodString;
|
|
250
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
251
|
+
step: z.ZodEnum<{
|
|
252
|
+
apply: "apply";
|
|
253
|
+
build: "build";
|
|
254
|
+
command: "command";
|
|
255
|
+
install: "install";
|
|
256
|
+
snapshot: "snapshot";
|
|
257
|
+
}>;
|
|
258
|
+
path: z.ZodString;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
timeline: z.ZodNullable<z.ZodObject<{
|
|
261
|
+
startedAt: z.ZodString;
|
|
262
|
+
totalMs: z.ZodNumber;
|
|
263
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
264
|
+
name: z.ZodString;
|
|
265
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
266
|
+
label: z.ZodString;
|
|
267
|
+
startMs: z.ZodNumber;
|
|
268
|
+
endMs: z.ZodNumber;
|
|
269
|
+
outcome: z.ZodEnum<{
|
|
270
|
+
done: "done";
|
|
271
|
+
failed: "failed";
|
|
272
|
+
stopped: "stopped";
|
|
273
|
+
unfinished: "unfinished";
|
|
274
|
+
}>;
|
|
275
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
276
|
+
name: z.ZodString;
|
|
277
|
+
startMs: z.ZodNumber;
|
|
278
|
+
endMs: z.ZodNumber;
|
|
279
|
+
outcome: z.ZodEnum<{
|
|
280
|
+
done: "done";
|
|
281
|
+
failed: "failed";
|
|
282
|
+
stopped: "stopped";
|
|
283
|
+
unfinished: "unfinished";
|
|
284
|
+
}>;
|
|
285
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
idleMs: z.ZodNumber;
|
|
288
|
+
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
289
|
+
built: "built";
|
|
290
|
+
reused: "reused";
|
|
291
|
+
}>>;
|
|
292
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
293
|
+
reused: z.ZodNumber;
|
|
294
|
+
created: z.ZodNumber;
|
|
295
|
+
}, z.core.$strip>>;
|
|
296
|
+
}, z.core.$strip>>;
|
|
297
|
+
criticalPath: z.ZodArray<z.ZodObject<{
|
|
298
|
+
name: z.ZodString;
|
|
299
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
300
|
+
}, z.core.$strip>>;
|
|
301
|
+
}, z.core.$strip>>;
|
|
302
|
+
parallelism: z.ZodNullable<z.ZodObject<{
|
|
303
|
+
workerCount: z.ZodNumber;
|
|
304
|
+
testsWallMs: z.ZodNumber;
|
|
305
|
+
totalActiveMs: z.ZodNumber;
|
|
306
|
+
avgConcurrency: z.ZodNumber;
|
|
307
|
+
peakConcurrency: z.ZodNumber;
|
|
308
|
+
singleWorkerTailMs: z.ZodNumber;
|
|
309
|
+
attemptMs: z.ZodNumber;
|
|
310
|
+
waitedOn: z.ZodObject<{
|
|
311
|
+
worker: z.ZodNumber;
|
|
312
|
+
file: z.ZodString;
|
|
313
|
+
fileDurationMs: z.ZodNumber;
|
|
314
|
+
fileCount: z.ZodNumber;
|
|
315
|
+
durationMs: z.ZodNumber;
|
|
316
|
+
setupMs: z.ZodNumber;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
workers: z.ZodArray<z.ZodObject<{
|
|
320
|
+
worker: z.ZodNumber;
|
|
321
|
+
startMs: z.ZodNumber;
|
|
322
|
+
endMs: z.ZodNumber;
|
|
323
|
+
durationMs: z.ZodNumber;
|
|
324
|
+
setupMs: z.ZodNumber;
|
|
325
|
+
tests: z.ZodNumber;
|
|
326
|
+
files: z.ZodArray<z.ZodObject<{
|
|
327
|
+
file: z.ZodString;
|
|
328
|
+
startMs: z.ZodNumber;
|
|
329
|
+
endMs: z.ZodNumber;
|
|
330
|
+
durationMs: z.ZodNumber;
|
|
331
|
+
}, z.core.$strip>>;
|
|
332
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
333
|
+
label: z.ZodString;
|
|
334
|
+
resource: z.ZodString;
|
|
335
|
+
startMs: z.ZodNumber;
|
|
336
|
+
endMs: z.ZodNumber;
|
|
337
|
+
durationMs: z.ZodNumber;
|
|
338
|
+
setupMs: z.ZodNullable<z.ZodNumber>;
|
|
339
|
+
warmupMs: z.ZodNullable<z.ZodNumber>;
|
|
340
|
+
ok: z.ZodBoolean;
|
|
341
|
+
}, z.core.$strip>>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
}, z.core.$strip>>>;
|
|
135
344
|
selection: z.ZodObject<{
|
|
136
345
|
failed: z.ZodBoolean;
|
|
346
|
+
summary: z.ZodBoolean;
|
|
137
347
|
test: z.ZodNullable<z.ZodString>;
|
|
348
|
+
worker: z.ZodNullable<z.ZodNumber>;
|
|
349
|
+
sandbox: z.ZodNullable<z.ZodNumber>;
|
|
138
350
|
}, z.core.$strip>;
|
|
351
|
+
totalTests: z.ZodNumber;
|
|
139
352
|
tests: z.ZodArray<z.ZodObject<{
|
|
140
353
|
id: z.ZodString;
|
|
141
354
|
file: z.ZodString;
|
|
142
355
|
test: z.ZodString;
|
|
356
|
+
sandbox: z.ZodNullable<z.ZodNumber>;
|
|
143
357
|
state: z.ZodEnum<{
|
|
144
358
|
fail: "fail";
|
|
145
359
|
pass: "pass";
|
|
146
360
|
skip: "skip";
|
|
147
361
|
}>;
|
|
362
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
363
|
+
worker: z.ZodNullable<z.ZodNumber>;
|
|
148
364
|
retryCount: z.ZodNumber;
|
|
149
365
|
flaky: z.ZodBoolean;
|
|
366
|
+
selected: z.ZodBoolean;
|
|
150
367
|
errors: z.ZodArray<z.ZodObject<{
|
|
151
368
|
name: z.ZodString;
|
|
152
369
|
message: z.ZodString;
|
|
153
370
|
stack: z.ZodNullable<z.ZodString>;
|
|
154
371
|
diff: z.ZodNullable<z.ZodString>;
|
|
372
|
+
occurrences: z.ZodNumber;
|
|
155
373
|
}, z.core.$strip>>;
|
|
156
|
-
selected: z.ZodBoolean;
|
|
157
374
|
output: z.ZodNullable<z.ZodObject<{
|
|
158
375
|
text: z.ZodString;
|
|
159
376
|
droppedChars: z.ZodNumber;
|
|
160
377
|
}, z.core.$strip>>;
|
|
161
378
|
}, z.core.$strip>>;
|
|
379
|
+
files: z.ZodArray<z.ZodObject<{
|
|
380
|
+
file: z.ZodString;
|
|
381
|
+
sandbox: z.ZodNullable<z.ZodNumber>;
|
|
382
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
383
|
+
finishedAt: z.ZodNullable<z.ZodString>;
|
|
384
|
+
ms: z.ZodNullable<z.ZodNumber>;
|
|
385
|
+
tests: z.ZodObject<{
|
|
386
|
+
passed: z.ZodNumber;
|
|
387
|
+
failed: z.ZodNumber;
|
|
388
|
+
skipped: z.ZodNumber;
|
|
389
|
+
}, z.core.$strip>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
fileListMismatches: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
392
|
+
sandbox: z.ZodNumber;
|
|
393
|
+
missing: z.ZodArray<z.ZodString>;
|
|
394
|
+
extra: z.ZodArray<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>>>;
|
|
162
396
|
}, z.core.$strip>;
|
|
163
397
|
}, {
|
|
164
398
|
shown: unknown;
|
|
@@ -170,6 +404,16 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
170
404
|
runNotFound: z.ZodObject<{
|
|
171
405
|
id: z.ZodString;
|
|
172
406
|
}, z.core.$strip>;
|
|
407
|
+
unknownSandbox: z.ZodObject<{
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
sandbox: z.ZodNumber;
|
|
410
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
411
|
+
}, z.core.$strip>;
|
|
412
|
+
workerNeedsSandbox: z.ZodObject<{
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
worker: z.ZodNumber;
|
|
415
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
416
|
+
}, z.core.$strip>;
|
|
173
417
|
noRuns: z.ZodObject<{
|
|
174
418
|
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
175
419
|
kind: z.ZodLiteral<"config">;
|
|
@@ -215,6 +459,48 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
215
459
|
}[];
|
|
216
460
|
};
|
|
217
461
|
};
|
|
462
|
+
readonly unknownSandbox: {
|
|
463
|
+
readonly exitCode: 2;
|
|
464
|
+
readonly description: "The run has no runner sandbox with the runner sandbox index given to --sandbox, or the run is not a run across runner sandboxes.";
|
|
465
|
+
readonly schema: z.ZodObject<{
|
|
466
|
+
id: z.ZodString;
|
|
467
|
+
sandbox: z.ZodNumber;
|
|
468
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
469
|
+
}, z.core.$strip>;
|
|
470
|
+
readonly render: ({ id, sandbox, sandboxes }: {
|
|
471
|
+
id: string;
|
|
472
|
+
sandbox: number;
|
|
473
|
+
sandboxes: number[];
|
|
474
|
+
}) => {
|
|
475
|
+
message: string;
|
|
476
|
+
next: {
|
|
477
|
+
type: "command";
|
|
478
|
+
argv: string[];
|
|
479
|
+
label: string;
|
|
480
|
+
}[];
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
readonly workerNeedsSandbox: {
|
|
484
|
+
readonly exitCode: 2;
|
|
485
|
+
readonly description: "--worker on a run across runner sandboxes without --sandbox: each runner sandbox has its own worker indexes, so a worker index names no one worker.";
|
|
486
|
+
readonly schema: z.ZodObject<{
|
|
487
|
+
id: z.ZodString;
|
|
488
|
+
worker: z.ZodNumber;
|
|
489
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
490
|
+
}, z.core.$strip>;
|
|
491
|
+
readonly render: ({ id, worker, sandboxes }: {
|
|
492
|
+
id: string;
|
|
493
|
+
worker: number;
|
|
494
|
+
sandboxes: number[];
|
|
495
|
+
}) => {
|
|
496
|
+
message: string;
|
|
497
|
+
next: {
|
|
498
|
+
type: "command";
|
|
499
|
+
argv: string[];
|
|
500
|
+
label: string;
|
|
501
|
+
}[];
|
|
502
|
+
};
|
|
503
|
+
};
|
|
218
504
|
readonly noRuns: {
|
|
219
505
|
readonly exitCode: 1;
|
|
220
506
|
readonly description: "Without an id, no run in the scope has finished.";
|
|
@@ -263,9 +549,9 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
263
549
|
configFile: z.ZodNullable<z.ZodString>;
|
|
264
550
|
argv: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
265
551
|
where: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
266
|
-
kind: z.ZodLiteral<"
|
|
552
|
+
kind: z.ZodLiteral<"launch-machine">;
|
|
267
553
|
}, z.core.$strip>, z.ZodObject<{
|
|
268
|
-
kind: z.ZodLiteral<"
|
|
554
|
+
kind: z.ZodLiteral<"vercel-sandbox">;
|
|
269
555
|
team: z.ZodString;
|
|
270
556
|
project: z.ZodString;
|
|
271
557
|
region: z.ZodString;
|
|
@@ -296,6 +582,7 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
296
582
|
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
297
583
|
signal: z.ZodNullable<z.ZodString>;
|
|
298
584
|
ms: z.ZodNullable<z.ZodNumber>;
|
|
585
|
+
wallMs: z.ZodNullable<z.ZodNumber>;
|
|
299
586
|
tests: z.ZodNullable<z.ZodObject<{
|
|
300
587
|
passed: z.ZodNumber;
|
|
301
588
|
failed: z.ZodNumber;
|
|
@@ -308,9 +595,48 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
308
595
|
}, z.core.$strip>>>;
|
|
309
596
|
resourceRows: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>], null>>;
|
|
310
597
|
}, z.core.$strip>>;
|
|
598
|
+
driver: z.ZodNullable<z.ZodString>;
|
|
599
|
+
suite: z.ZodNullable<z.ZodString>;
|
|
600
|
+
sandboxes: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
601
|
+
sandbox: z.ZodNumber;
|
|
602
|
+
argv: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
603
|
+
files: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
604
|
+
state: z.ZodEnum<{
|
|
605
|
+
canceled: "canceled";
|
|
606
|
+
failed: "failed";
|
|
607
|
+
"not-started": "not-started";
|
|
608
|
+
passed: "passed";
|
|
609
|
+
pending: "pending";
|
|
610
|
+
}>;
|
|
611
|
+
failedStage: z.ZodNullable<z.ZodEnum<{
|
|
612
|
+
apply: "apply";
|
|
613
|
+
build: "build";
|
|
614
|
+
checkout: "checkout";
|
|
615
|
+
command: "command";
|
|
616
|
+
install: "install";
|
|
617
|
+
mint: "mint";
|
|
618
|
+
resource: "resource";
|
|
619
|
+
snapshot: "snapshot";
|
|
620
|
+
start: "start";
|
|
621
|
+
storm: "storm";
|
|
622
|
+
upload: "upload";
|
|
623
|
+
}>>;
|
|
624
|
+
exitCode: z.ZodNullable<z.ZodNumber>;
|
|
625
|
+
cause: z.ZodNullable<z.ZodString>;
|
|
626
|
+
name: z.ZodNullable<z.ZodString>;
|
|
627
|
+
keptUntil: z.ZodNullable<z.ZodString>;
|
|
628
|
+
preparedMs: z.ZodNullable<z.ZodNumber>;
|
|
629
|
+
commandMs: z.ZodNullable<z.ZodNumber>;
|
|
630
|
+
tests: z.ZodNullable<z.ZodObject<{
|
|
631
|
+
passed: z.ZodNumber;
|
|
632
|
+
failed: z.ZodNumber;
|
|
633
|
+
skipped: z.ZodNumber;
|
|
634
|
+
}, z.core.$strip>>;
|
|
635
|
+
tail: z.ZodNullable<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
636
|
+
}, z.core.$strip>>>;
|
|
311
637
|
plan: z.ZodNullable<z.ZodObject<{
|
|
312
638
|
tests: z.ZodOptional<z.ZodNumber>;
|
|
313
|
-
files: z.ZodNumber
|
|
639
|
+
files: z.ZodOptional<z.ZodNumber>;
|
|
314
640
|
options: z.ZodArray<z.ZodObject<{
|
|
315
641
|
path: z.ZodString;
|
|
316
642
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
@@ -320,6 +646,18 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
320
646
|
flag: "flag";
|
|
321
647
|
}>;
|
|
322
648
|
}, z.core.$strip>>;
|
|
649
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
650
|
+
count: z.ZodNumber;
|
|
651
|
+
from: z.ZodEnum<{
|
|
652
|
+
default: "default";
|
|
653
|
+
"file-lists": "file-lists";
|
|
654
|
+
flag: "flag";
|
|
655
|
+
}>;
|
|
656
|
+
max: z.ZodNumber;
|
|
657
|
+
default: z.ZodOptional<z.ZodNumber>;
|
|
658
|
+
requested: z.ZodOptional<z.ZodNumber>;
|
|
659
|
+
leftOut: z.ZodOptional<z.ZodNumber>;
|
|
660
|
+
}, z.core.$strip>>;
|
|
323
661
|
}, z.core.$strip>>;
|
|
324
662
|
finished: z.ZodBoolean;
|
|
325
663
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -375,33 +713,201 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
375
713
|
resource: z.ZodNullable<z.ZodString>;
|
|
376
714
|
}, z.core.$strip>>;
|
|
377
715
|
}, z.core.$strip>>;
|
|
716
|
+
workerView: z.ZodEnum<{
|
|
717
|
+
lanes: "lanes";
|
|
718
|
+
sparkline: "sparkline";
|
|
719
|
+
}>;
|
|
720
|
+
slowest: z.ZodBoolean;
|
|
721
|
+
parallelism: z.ZodNullable<z.ZodObject<{
|
|
722
|
+
workerCount: z.ZodNumber;
|
|
723
|
+
testsWallMs: z.ZodNumber;
|
|
724
|
+
totalActiveMs: z.ZodNumber;
|
|
725
|
+
avgConcurrency: z.ZodNumber;
|
|
726
|
+
peakConcurrency: z.ZodNumber;
|
|
727
|
+
singleWorkerTailMs: z.ZodNumber;
|
|
728
|
+
attemptMs: z.ZodNumber;
|
|
729
|
+
waitedOn: z.ZodObject<{
|
|
730
|
+
worker: z.ZodNumber;
|
|
731
|
+
file: z.ZodString;
|
|
732
|
+
fileDurationMs: z.ZodNumber;
|
|
733
|
+
fileCount: z.ZodNumber;
|
|
734
|
+
durationMs: z.ZodNumber;
|
|
735
|
+
setupMs: z.ZodNumber;
|
|
736
|
+
}, z.core.$strip>;
|
|
737
|
+
}, z.core.$strip>>;
|
|
738
|
+
workers: z.ZodArray<z.ZodObject<{
|
|
739
|
+
worker: z.ZodNumber;
|
|
740
|
+
startMs: z.ZodNumber;
|
|
741
|
+
endMs: z.ZodNumber;
|
|
742
|
+
durationMs: z.ZodNumber;
|
|
743
|
+
setupMs: z.ZodNumber;
|
|
744
|
+
tests: z.ZodNumber;
|
|
745
|
+
files: z.ZodArray<z.ZodObject<{
|
|
746
|
+
file: z.ZodString;
|
|
747
|
+
startMs: z.ZodNumber;
|
|
748
|
+
endMs: z.ZodNumber;
|
|
749
|
+
durationMs: z.ZodNumber;
|
|
750
|
+
}, z.core.$strip>>;
|
|
751
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
752
|
+
label: z.ZodString;
|
|
753
|
+
resource: z.ZodString;
|
|
754
|
+
startMs: z.ZodNumber;
|
|
755
|
+
endMs: z.ZodNumber;
|
|
756
|
+
durationMs: z.ZodNumber;
|
|
757
|
+
setupMs: z.ZodNullable<z.ZodNumber>;
|
|
758
|
+
warmupMs: z.ZodNullable<z.ZodNumber>;
|
|
759
|
+
ok: z.ZodBoolean;
|
|
760
|
+
}, z.core.$strip>>;
|
|
761
|
+
}, z.core.$strip>>;
|
|
762
|
+
sandboxEntries: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
763
|
+
sandbox: z.ZodNumber;
|
|
764
|
+
path: z.ZodString;
|
|
765
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
766
|
+
step: z.ZodEnum<{
|
|
767
|
+
apply: "apply";
|
|
768
|
+
build: "build";
|
|
769
|
+
command: "command";
|
|
770
|
+
install: "install";
|
|
771
|
+
snapshot: "snapshot";
|
|
772
|
+
}>;
|
|
773
|
+
path: z.ZodString;
|
|
774
|
+
}, z.core.$strip>>;
|
|
775
|
+
timeline: z.ZodNullable<z.ZodObject<{
|
|
776
|
+
startedAt: z.ZodString;
|
|
777
|
+
totalMs: z.ZodNumber;
|
|
778
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
779
|
+
name: z.ZodString;
|
|
780
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
781
|
+
label: z.ZodString;
|
|
782
|
+
startMs: z.ZodNumber;
|
|
783
|
+
endMs: z.ZodNumber;
|
|
784
|
+
outcome: z.ZodEnum<{
|
|
785
|
+
done: "done";
|
|
786
|
+
failed: "failed";
|
|
787
|
+
stopped: "stopped";
|
|
788
|
+
unfinished: "unfinished";
|
|
789
|
+
}>;
|
|
790
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
791
|
+
name: z.ZodString;
|
|
792
|
+
startMs: z.ZodNumber;
|
|
793
|
+
endMs: z.ZodNumber;
|
|
794
|
+
outcome: z.ZodEnum<{
|
|
795
|
+
done: "done";
|
|
796
|
+
failed: "failed";
|
|
797
|
+
stopped: "stopped";
|
|
798
|
+
unfinished: "unfinished";
|
|
799
|
+
}>;
|
|
800
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
801
|
+
}, z.core.$strip>>;
|
|
802
|
+
idleMs: z.ZodNumber;
|
|
803
|
+
snapshot: z.ZodOptional<z.ZodEnum<{
|
|
804
|
+
built: "built";
|
|
805
|
+
reused: "reused";
|
|
806
|
+
}>>;
|
|
807
|
+
sandboxes: z.ZodOptional<z.ZodObject<{
|
|
808
|
+
reused: z.ZodNumber;
|
|
809
|
+
created: z.ZodNumber;
|
|
810
|
+
}, z.core.$strip>>;
|
|
811
|
+
}, z.core.$strip>>;
|
|
812
|
+
criticalPath: z.ZodArray<z.ZodObject<{
|
|
813
|
+
name: z.ZodString;
|
|
814
|
+
resource: z.ZodNullable<z.ZodString>;
|
|
815
|
+
}, z.core.$strip>>;
|
|
816
|
+
}, z.core.$strip>>;
|
|
817
|
+
parallelism: z.ZodNullable<z.ZodObject<{
|
|
818
|
+
workerCount: z.ZodNumber;
|
|
819
|
+
testsWallMs: z.ZodNumber;
|
|
820
|
+
totalActiveMs: z.ZodNumber;
|
|
821
|
+
avgConcurrency: z.ZodNumber;
|
|
822
|
+
peakConcurrency: z.ZodNumber;
|
|
823
|
+
singleWorkerTailMs: z.ZodNumber;
|
|
824
|
+
attemptMs: z.ZodNumber;
|
|
825
|
+
waitedOn: z.ZodObject<{
|
|
826
|
+
worker: z.ZodNumber;
|
|
827
|
+
file: z.ZodString;
|
|
828
|
+
fileDurationMs: z.ZodNumber;
|
|
829
|
+
fileCount: z.ZodNumber;
|
|
830
|
+
durationMs: z.ZodNumber;
|
|
831
|
+
setupMs: z.ZodNumber;
|
|
832
|
+
}, z.core.$strip>;
|
|
833
|
+
}, z.core.$strip>>;
|
|
834
|
+
workers: z.ZodArray<z.ZodObject<{
|
|
835
|
+
worker: z.ZodNumber;
|
|
836
|
+
startMs: z.ZodNumber;
|
|
837
|
+
endMs: z.ZodNumber;
|
|
838
|
+
durationMs: z.ZodNumber;
|
|
839
|
+
setupMs: z.ZodNumber;
|
|
840
|
+
tests: z.ZodNumber;
|
|
841
|
+
files: z.ZodArray<z.ZodObject<{
|
|
842
|
+
file: z.ZodString;
|
|
843
|
+
startMs: z.ZodNumber;
|
|
844
|
+
endMs: z.ZodNumber;
|
|
845
|
+
durationMs: z.ZodNumber;
|
|
846
|
+
}, z.core.$strip>>;
|
|
847
|
+
setups: z.ZodArray<z.ZodObject<{
|
|
848
|
+
label: z.ZodString;
|
|
849
|
+
resource: z.ZodString;
|
|
850
|
+
startMs: z.ZodNumber;
|
|
851
|
+
endMs: z.ZodNumber;
|
|
852
|
+
durationMs: z.ZodNumber;
|
|
853
|
+
setupMs: z.ZodNullable<z.ZodNumber>;
|
|
854
|
+
warmupMs: z.ZodNullable<z.ZodNumber>;
|
|
855
|
+
ok: z.ZodBoolean;
|
|
856
|
+
}, z.core.$strip>>;
|
|
857
|
+
}, z.core.$strip>>;
|
|
858
|
+
}, z.core.$strip>>>;
|
|
378
859
|
selection: z.ZodObject<{
|
|
379
860
|
failed: z.ZodBoolean;
|
|
861
|
+
summary: z.ZodBoolean;
|
|
380
862
|
test: z.ZodNullable<z.ZodString>;
|
|
863
|
+
worker: z.ZodNullable<z.ZodNumber>;
|
|
864
|
+
sandbox: z.ZodNullable<z.ZodNumber>;
|
|
381
865
|
}, z.core.$strip>;
|
|
866
|
+
totalTests: z.ZodNumber;
|
|
382
867
|
tests: z.ZodArray<z.ZodObject<{
|
|
383
868
|
id: z.ZodString;
|
|
384
869
|
file: z.ZodString;
|
|
385
870
|
test: z.ZodString;
|
|
871
|
+
sandbox: z.ZodNullable<z.ZodNumber>;
|
|
386
872
|
state: z.ZodEnum<{
|
|
387
873
|
fail: "fail";
|
|
388
874
|
pass: "pass";
|
|
389
875
|
skip: "skip";
|
|
390
876
|
}>;
|
|
877
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
878
|
+
worker: z.ZodNullable<z.ZodNumber>;
|
|
391
879
|
retryCount: z.ZodNumber;
|
|
392
880
|
flaky: z.ZodBoolean;
|
|
881
|
+
selected: z.ZodBoolean;
|
|
393
882
|
errors: z.ZodArray<z.ZodObject<{
|
|
394
883
|
name: z.ZodString;
|
|
395
884
|
message: z.ZodString;
|
|
396
885
|
stack: z.ZodNullable<z.ZodString>;
|
|
397
886
|
diff: z.ZodNullable<z.ZodString>;
|
|
887
|
+
occurrences: z.ZodNumber;
|
|
398
888
|
}, z.core.$strip>>;
|
|
399
|
-
selected: z.ZodBoolean;
|
|
400
889
|
output: z.ZodNullable<z.ZodObject<{
|
|
401
890
|
text: z.ZodString;
|
|
402
891
|
droppedChars: z.ZodNumber;
|
|
403
892
|
}, z.core.$strip>>;
|
|
404
893
|
}, z.core.$strip>>;
|
|
894
|
+
files: z.ZodArray<z.ZodObject<{
|
|
895
|
+
file: z.ZodString;
|
|
896
|
+
sandbox: z.ZodNullable<z.ZodNumber>;
|
|
897
|
+
startedAt: z.ZodNullable<z.ZodString>;
|
|
898
|
+
finishedAt: z.ZodNullable<z.ZodString>;
|
|
899
|
+
ms: z.ZodNullable<z.ZodNumber>;
|
|
900
|
+
tests: z.ZodObject<{
|
|
901
|
+
passed: z.ZodNumber;
|
|
902
|
+
failed: z.ZodNumber;
|
|
903
|
+
skipped: z.ZodNumber;
|
|
904
|
+
}, z.core.$strip>;
|
|
905
|
+
}, z.core.$strip>>;
|
|
906
|
+
fileListMismatches: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
907
|
+
sandbox: z.ZodNumber;
|
|
908
|
+
missing: z.ZodArray<z.ZodString>;
|
|
909
|
+
extra: z.ZodArray<z.ZodString>;
|
|
910
|
+
}, z.core.$strip>>>;
|
|
405
911
|
}, z.core.$strip>;
|
|
406
912
|
}, {
|
|
407
913
|
shown: unknown;
|
|
@@ -413,6 +919,16 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
413
919
|
runNotFound: z.ZodObject<{
|
|
414
920
|
id: z.ZodString;
|
|
415
921
|
}, z.core.$strip>;
|
|
922
|
+
unknownSandbox: z.ZodObject<{
|
|
923
|
+
id: z.ZodString;
|
|
924
|
+
sandbox: z.ZodNumber;
|
|
925
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
926
|
+
}, z.core.$strip>;
|
|
927
|
+
workerNeedsSandbox: z.ZodObject<{
|
|
928
|
+
id: z.ZodString;
|
|
929
|
+
worker: z.ZodNumber;
|
|
930
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
931
|
+
}, z.core.$strip>;
|
|
416
932
|
noRuns: z.ZodObject<{
|
|
417
933
|
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
418
934
|
kind: z.ZodLiteral<"config">;
|
|
@@ -458,6 +974,48 @@ declare const _default: import("@vercel/clinkr").CommandDefinition<z.ZodObject<{
|
|
|
458
974
|
}[];
|
|
459
975
|
};
|
|
460
976
|
};
|
|
977
|
+
readonly unknownSandbox: {
|
|
978
|
+
readonly exitCode: 2;
|
|
979
|
+
readonly description: "The run has no runner sandbox with the runner sandbox index given to --sandbox, or the run is not a run across runner sandboxes.";
|
|
980
|
+
readonly schema: z.ZodObject<{
|
|
981
|
+
id: z.ZodString;
|
|
982
|
+
sandbox: z.ZodNumber;
|
|
983
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
984
|
+
}, z.core.$strip>;
|
|
985
|
+
readonly render: ({ id, sandbox, sandboxes }: {
|
|
986
|
+
id: string;
|
|
987
|
+
sandbox: number;
|
|
988
|
+
sandboxes: number[];
|
|
989
|
+
}) => {
|
|
990
|
+
message: string;
|
|
991
|
+
next: {
|
|
992
|
+
type: "command";
|
|
993
|
+
argv: string[];
|
|
994
|
+
label: string;
|
|
995
|
+
}[];
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
readonly workerNeedsSandbox: {
|
|
999
|
+
readonly exitCode: 2;
|
|
1000
|
+
readonly description: "--worker on a run across runner sandboxes without --sandbox: each runner sandbox has its own worker indexes, so a worker index names no one worker.";
|
|
1001
|
+
readonly schema: z.ZodObject<{
|
|
1002
|
+
id: z.ZodString;
|
|
1003
|
+
worker: z.ZodNumber;
|
|
1004
|
+
sandboxes: z.ZodArray<z.ZodNumber>;
|
|
1005
|
+
}, z.core.$strip>;
|
|
1006
|
+
readonly render: ({ id, worker, sandboxes }: {
|
|
1007
|
+
id: string;
|
|
1008
|
+
worker: number;
|
|
1009
|
+
sandboxes: number[];
|
|
1010
|
+
}) => {
|
|
1011
|
+
message: string;
|
|
1012
|
+
next: {
|
|
1013
|
+
type: "command";
|
|
1014
|
+
argv: string[];
|
|
1015
|
+
label: string;
|
|
1016
|
+
}[];
|
|
1017
|
+
};
|
|
1018
|
+
};
|
|
461
1019
|
readonly noRuns: {
|
|
462
1020
|
readonly exitCode: 1;
|
|
463
1021
|
readonly description: "Without an id, no run in the scope has finished.";
|