feat(streaming): support nested workflow outputs #29710
ci.yml
on: pull_request
Detect Version
0s
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
1m 16s
Test and Build
/
Build App
2m 32s
Check Docs Changes
0s
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
Desktop Release
/
Build, Sign, Notarize
Annotations
4 errors and 9 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
sim#test: command (/home/runner/_work/sim/sim/packages/sim-cli) /home/runner/.bun/bin/bun run test exited (1)
|
|
src/runtime/build.test.ts > commands parsed through commander > runs a workflow without input and keeps output selection distinct from rendering:
packages/sim-cli/src/runtime/build.test.ts#L775
AssertionError: expected 'Usage: sim workflows run [options] <w…' to contain 'blockName.field'
- Expected
+ Received
- blockName.field
+ Usage: sim workflows run [options] <workflowId>
+
+ Run a deployed workflow or execute saved state manually
+
+ Arguments:
+ workflowId Unique workflow identifier.
+
+ Options:
+ --input <json|@file> Trigger input as JSON (JSON, or @path /
+ @- to read a file or stdin)
+ --async Queue the run and return immediately
+ --execution-timeout-seconds <value> Requested server-side timeout for an
+ asynchronous run, in seconds. An upper
+ bound, not the effective timeout: the
+ run uses the smaller of this value and
+ the plan's execution timeout, so
+ requesting more than the plan allows
+ silently yields the plan timeout.
+ Rejected with `400` unless `async` is
+ true.
+ --select-output <value...> Return streamed outputs as
+ blockName.path or
+ childWorkflowId.blockName.path;
+ selecting a child workflow applies to
+ every invocation, requires --follow
+ (space-separated, or @path / @- with one
+ value per line; @@value for a literal
+ leading @)
+ --include-file-base64 Inline eligible output files as base64
+ content. Rejected when `async` is true.
+ --no-include-file-base64 Send --include-file-base64 as false
+ --base64-max-bytes <value> Maximum total bytes of file content to
+ inline as base64, lowering but never
+ raising the server limit of 16 MiB.
+ Rejected when `async` is true.
+ --run-id <value> One-shot identifier for this run; NOT an
+ idempotency key — reusing a claimed
+ value fails with RUN_ID_CONFLICT instead
+ of replaying the first result, and a
+ fresh value starts another run
+ -h, --help display help for command
+
❯ src/runtime/build.test.ts:775:18
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
- Step: unknown (failed)
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|