Skip to content

fix(cli): explicitly set the version so --version works #33309

fix(cli): explicitly set the version so --version works

fix(cli): explicitly set the version so --version works #33309

Triggered via pull request September 6, 2024 21:57
Status Failure
Total duration 13m 8s
Artifacts 1

ci.yml

on: pull_request
🔍 Detect changes
8s
🔍 Detect changes
📝 Check formatting (prettier)
1m 35s
📝 Check formatting (prettier)
✅ Check constraints, dependencies, and package.json's
1m 12s
✅ Check constraints, dependencies, and package.json's
✅ Check constraints, dependencies, and package.json's
0s
✅ Check constraints, dependencies, and package.json's
🌲 Tutorial E2E / node 20 latest
0s
🌲 Tutorial E2E / node 20 latest
🌲 Create Redwood App
0s
🌲 Create Redwood App
Server tests
0s
Server tests
Matrix: background-jobs-e2e-skip
Matrix: build-lint-test-skip
Matrix: cli-smoke-tests-skip
Matrix: fragments-smoke-tests-skip
Matrix: rsc-smoke-tests-skip
Matrix: smoke-tests-react-18-skip
Matrix: smoke-tests-skip
Matrix: ssr-smoke-tests-skip
Matrix: telemetry-check-skip
Matrix: rsc-smoke-tests
Matrix: ssr-smoke-tests
🌲 Tutorial E2E / node 20 latest
4m 2s
🌲 Tutorial E2E / node 20 latest
🌲 Create Redwood App
2m 26s
🌲 Create Redwood App
Server tests
2m 4s
Server tests
Matrix: background-jobs-e2e
Matrix: build-lint-test
Matrix: cli-smoke-tests
Matrix: fragments-smoke-tests
Matrix: smoke-tests-react-18
Matrix: smoke-tests
Matrix: telemetry-check
Fit to window
Zoom out
Zoom in

Annotations

5 errors
bothServer.test.mts > rw serve > has help configured: tasks/server-tests/bothServer.test.mts#L9
Error: Snapshot `rw serve > has help configured 1` mismatched - Expected + Received @@ -6,18 +6,18 @@ rw serve Start a server for serving the api and web sides [default] rw serve api Start a server for serving the api side rw serve web Start a server for serving the web side Options: - --version Show version number [boolean] --cwd Working directory to use (where `redwood.toml` is located) --load-env-files Load additional .env files. Values defined in files specified later override earlier ones. [array] --telemetry Whether to send anonymous usage telemetry to RedwoodJS [boolean] + --version Show version number [boolean] --webPort, --web-port The port for the web server to listen on [number] --webHost, --web-host The host for the web server to listen on. Note that you most likely want this to be '0.0.0.0' in ❯ bothServer.test.mts:9:20
bothServer.test.mts > rw serve > errors out on unknown args: tasks/server-tests/bothServer.test.mts#L57
Error: Snapshot `rw serve > errors out on unknown args 1` mismatched - Expected + Received @@ -6,18 +6,18 @@ rw serve Start a server for serving the api and web sides [default] rw serve api Start a server for serving the api side rw serve web Start a server for serving the web side Options: - --version Show version number [boolean] --cwd Working directory to use (where `redwood.toml` is located) --load-env-files Load additional .env files. Values defined in files specified later override earlier ones. [array] --telemetry Whether to send anonymous usage telemetry to RedwoodJS [boolean] + --version Show version number [boolean] --webPort, --web-port The port for the web server to listen on [number] --webHost, --web-host The host for the web server to listen on. Note that you most likely want this to be '0.0.0.0' in ❯ bothServer.test.mts:57:24
Server tests
Process completed with exit code 1.
🔄 CLI smoke tests / ubuntu-latest / node 20 latest
Process completed with exit code 1.
🔄 CLI smoke tests / windows-latest / node 20 latest
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
logs Expired
2.55 KB