Skip to content

feat(scripts): Args type for script arguments #34308

feat(scripts): Args type for script arguments

feat(scripts): Args type for script arguments #34308

Triggered via pull request February 5, 2025 19:51
Status Cancelled
Total duration 7m 30s
Artifacts 1

ci.yml

on: pull_request
πŸ” Detect changes
7s
πŸ” Detect changes
πŸ“ Check formatting (prettier)
1m 40s
πŸ“ Check formatting (prettier)
βœ… Check constraints, dependencies, and package.json's
1m 15s
βœ… 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
3m 59s
🌲 Tutorial E2E / node 20 latest
🌲 Create Redwood App
2m 19s
🌲 Create Redwood App
Server tests
1m 54s
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

17 errors and 57 warnings
src/commands/generate/script/__tests__/script.test.ts > creates a JavaScript function to execute: packages/cli/src/commands/generate/script/__tests__/script.test.ts#L23
Error: Snapshot `creates a JavaScript function to execute 1` mismatched - Expected + Received "// To access your database // Append api/* to import from api and web/* to import from web import { db } from 'api/src/lib/db' + interface Args { + _: string[] + [key: string]: unknown + } - export default async ({ args }) => { + export default async ({ args }: Args) => { // Your script here... console.log(':: Executing script with args ::') console.log(args) } " ❯ src/commands/generate/script/__tests__/script.test.ts:23:38
src/commands/generate/script/__tests__/script.test.ts > creates a TypeScript function to execute: packages/cli/src/commands/generate/script/__tests__/script.test.ts#L41
Error: Snapshot `creates a TypeScript function to execute 1` mismatched - Expected + Received "// To access your database // Append api/* to import from api and web/* to import from web import { db } from 'api/src/lib/db' + interface Args { + _: string[] + [key: string]: unknown + } - export default async ({ args }) => { + export default async ({ args }: Args) => { // Your script here... console.log(':: Executing script with args ::') console.log(args) } " ❯ src/commands/generate/script/__tests__/script.test.ts:41:38
πŸ— Build, lint, test / ubuntu-latest / node 20 latest
Process completed with exit code 1.
πŸ— Build, lint, test / windows-latest / node 20 latest
The job was canceled because "ubuntu-latest" failed.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Process completed with exit code 1.
πŸ”„ CLI smoke tests / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βš™οΈ CI-refs/pull/11946/merge' exists
πŸ”„ CLI smoke tests / windows-latest / node 20 latest
The operation was canceled.
πŸ”­ Telemetry check / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βš™οΈ CI-refs/pull/11946/merge' exists
πŸ”­ Telemetry check / windows-latest / node 20 latest
The operation was canceled.
πŸ“„ Fragments Smoke tests / windows-latest
Canceling since a higher priority waiting request for 'βš™οΈ CI-refs/pull/11946/merge' exists
πŸ“„ Fragments Smoke tests / windows-latest
The operation was canceled.
πŸ”„ Smoke tests React 18 / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βš™οΈ CI-refs/pull/11946/merge' exists
πŸ”„ Smoke tests React 18 / windows-latest / node 20 latest
The operation was canceled.
πŸ”„ Smoke tests / windows-latest / node 20 latest
Canceling since a higher priority waiting request for 'βš™οΈ CI-refs/pull/11946/merge' exists
πŸ”„ Smoke tests / windows-latest / node 20 latest
The operation was canceled.
Background jobs E2E test / windows-latest
Canceling since a higher priority waiting request for 'βš™οΈ CI-refs/pull/11946/merge' exists
Background jobs E2E test / windows-latest
The operation was canceled.
πŸ”­ Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”­ Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”­ Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”­ Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”­ Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”­ Telemetry check / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Server tests
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Create Redwood App
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
Background jobs E2E test / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ— Build, lint, test / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ— Build, lint, test / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ— Build, lint, test / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ CLI smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
🌲 Tutorial E2E / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ“„ Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ“„ Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ“„ Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ“„ Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ“„ Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ“„ Fragments Smoke tests / ubuntu-latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
πŸ”„ Smoke tests React 18 / ubuntu-latest / node 20 latest
Input 'save-always' has been deprecated with message: save-always does not work as intended and will be removed in a future release. A separate `actions/cache/restore` step should be used instead. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.

Artifacts

Produced during runtime
Name Size
logs
2.61 KB