Skip to content

fix(cli): add --flat to KNOWN_FLAGS so spawn list --flat works #3088

fix(cli): add --flat to KNOWN_FLAGS so spawn list --flat works

fix(cli): add --flat to KNOWN_FLAGS so spawn list --flat works #3088

Triggered via pull request March 31, 2026 12:35
Status Failure
Total duration 33s
Artifacts

test.yml

on: pull_request
Mock Tests
27s
Mock Tests
Unit Tests
8s
Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
Mock Tests
Process completed with exit code 1.
error: expect(received).toContain(expected): packages/cli/src/__tests__/unknown-flags.test.ts#L242
Expected to contain: "--flat" Received: [ "--help", "-h", "--version", "-v", "-V", "--prompt", "-p", "--prompt-file", "-f", "--dry-run", "-n", "--debug", "--headless", "--output", "--name", "--default", "-a", "-c", "--agent", "--cloud", "--clear", "--custom", "--reauth", "--zone", "--region", "--machine-type", "--size", "--prune", "--json", "--beta", "--model", "-m", "--config", "--steps", "--fast", "--user", "-u", "--yes", "-y" ] at <anonymous> (/home/runner/work/spawn/spawn/packages/cli/src/__tests__/unknown-flags.test.ts:242:24)
Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Mock Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/