Skip to content

clean things up

clean things up #2926

Triggered via pull request March 30, 2026 10:21
Status Failure
Total duration 5m 33s
Artifacts

ci.yml

on: pull_request
Matrix: test
preview-release
26s
preview-release
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 6 warnings, and 1 notice
[addons] tests/devtools-json/test.ts > devtools-json 'kit-ts': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/devtools-json/test.ts > devtools-json 'kit-ts': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/devtools-json/test.ts > devtools-json 'kit-ts': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/devtools-json/test.ts > devtools-json 'kit-js': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/devtools-json/test.ts > devtools-json 'kit-js': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/devtools-json/test.ts > devtools-json 'kit-js': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/devtools-json/test.ts > devtools-json 'kit-js': packages/sv/src/addons/tests/devtools-json/test.ts#L20
Error: expect(received).toContain(expected) // indexOf Expected substring: "import devtoolsJson from" Received string: "import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite';· export default defineConfig({ plugins: [sveltekit()] }); " ❯ Proxy.<anonymous> ../../../../node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/lib/matchers/expect.js:213:24 ❯ tests/devtools-json/test.ts:20:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\n\nExpected substring: "import devtoolsJson from"\nReceived string: "import { sveltekit } from \'@sveltejs/kit/vite\';\nimport { defineConfig } from \'vite\';·\nexport default defineConfig({\n\tplugins: [sveltekit()]\n});\n"', pass: false } }
[addons] tests/better-auth/test.ts: packages/sv/src/core/engine.ts#L246
Error: Add-on 'better-auth' failed during run: Unable to process 'drizzle.config.js'. Reason: Failed to detect DB dialect in your `drizzle.config.[js|ts]` file Please report this issue: https://github.com/sveltejs/cli/issues ❯ runAddon ../core/engine.ts:246:9 ❯ applyAddons ../core/engine.ts:98:59 ❯ add ../core/engine.ts:58:9 ❯ ../testing.ts:329:39 Caused by: Caused by: Error: Unable to process 'drizzle.config.js'. Reason: Failed to detect DB dialect in your `drizzle.config.[js|ts]` file ❯ better-auth.ts:82:12 ❯ ../../../sv-utils/dist/index.mjs:37858:8 ❯ Object.file ../core/engine.ts:184:27 ❯ Object.run better-auth.ts:55:6 ❯ runAddon ../core/engine.ts:236:15 ❯ applyAddons ../core/engine.ts:98:59 ❯ add ../core/engine.ts:58:9 ❯ ../testing.ts:329:39
[cli] tests/cli.ts > cli > should create a new project with name '@my-org/sv': packages/sv/src/cli/tests/cli.ts#L147
AssertionError: Error addon test: 'run,test' -> { "stderr": "\n\u001b[31m⎯⎯⎯⎯⎯⎯⎯\u001b[39m\u001b[1m\u001b[41m Failed Tests 2 \u001b[49m\u001b[22m\u001b[31m⎯⎯⎯⎯⎯⎯⎯\u001b[39m\n\n\u001b[41m\u001b[1m FAIL \u001b[22m\u001b[49m tests/addon.test.js\u001b[2m > \u001b[22m@my-org/sv 'default' 'kit-js'\n\u001b[41m\u001b[1m FAIL \u001b[22m\u001b[49m tests/addon.test.js\u001b[2m > \u001b[22m@my-org/sv 'default' 'kit-ts'\n\u001b[31m\u001b[1mError\u001b[22m: expect(received).toContain(expected) // indexOf\n\nExpected substring: \"This is a text file made by the Community Addon Template demo for the add-on: '@my-org/sv'!\"\nReceived string: \"\"\u001b[39m\n\u001b[90m \u001b[2m❯\u001b[22m Proxy.<anonymous> node_modules/playwright/lib/matchers/expect.js:\u001b[2m213:24\u001b[22m\u001b[39m\n\u001b[36m \u001b[2m❯\u001b[22m tests/addon.test.js:\u001b[2m31:26\u001b[22m\u001b[39m\n \u001b[90m 29|\u001b[39m\n \u001b[90m 30|\u001b[39m \u001b[90m// Check if we have the imports\u001b[39m\n \u001b[90m 31|\u001b[39m \u001b[34mexpect\u001b[39m(contentContent)\u001b[33m.\u001b[39m\u001b[34mtoContain\u001b[39m(msg)\u001b[33m;\u001b[39m\n \u001b[90m |\u001b[39m \u001b[31m^\u001b[39m\n \u001b[90m 32|\u001b[39m\n \u001b[90m 33|\u001b[39m \u001b[90m// For browser testing\u001b[39m\n\n\u001b[31m\u001b[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯\u001b[22m\u001b[39m\n\n", "stdout": "\n> @my-org/sv@0.0.1 test\n> vitest run\n\n\n\u001b[1m\u001b[46m RUN \u001b[49m\u001b[22m \u001b[36mv4.1.2 \u001b[39m\u001b[90m/home/runner/work/cli/cli/packages/sv/.test-output/cli/@my-org/sv\u001b[39m\n\n \u001b[31m❯\u001b[39m tests/addon.test.js \u001b[2m(\u001b[22m\u001b[2m2 tests\u001b[22m\u001b[2m | \u001b[22m\u001b[31m2 failed\u001b[39m\u001b[2m)\u001b[22m\u001b[33m 14599\u001b[2mms\u001b[22m\u001b[39m\n\u001b[31m \u001b[31m×\u001b[31m @my-org/sv 'default' 'kit-js'\u001b[39m\u001b[32m 23\u001b[2mms\u001b[22m\u001b[39m\n\u001b[31m \u001b[31m×\u001b[31m @my-org/sv 'default' 'kit-ts'\u001b[39m\u001b[32m 19\u001b[2mms\u001b[22m\u001b[39m\n\n\u001b[2m Test Files \u001b[22m \u001b[1m\u001b[31m1 failed\u001b[39m\u001b[22m\u001b[90m (1)\u001b[39m\n\u001b[2m Tests \u001b[22m \u001b[1m\u001b[31m2 failed\u001b[39m\u001b[22m\u001b[90m (2)\u001b[39m\n\u001b[2m Start at \u001b[22m 10:25:19\n\u001b[2m Duration \u001b[22m 23.14s\u001b[2m (transform 2.29s, setup 0ms, import 4.67s, tests 14.60s, environment 0ms)\u001b[22m\n\n\n::error file=/home/runner/work/cli/cli/packages/sv/.test-output/cli/@my-org/sv/tests/addon.test.js,title=tests/addon.test.js > @my-org/sv 'default' 'kit-js',line=31,column=26::Error: expect(received).toContain(expected) // indexOf%0A%0AExpected substring: \"This is a text file made by the Community Addon Template demo for the add-on: '@my-org/sv'!\"%0AReceived string: \"\"%0A ❯ Proxy.<anonymous> node_modules/playwright/lib/matchers/expect.js:213:24%0A ❯ tests/addon.test.js:31:26%0A%0A⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯%0ASerialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\\n\\nExpected substring: \"This is a text file made by the Community Addon Template demo for the add-on: \\'@my-org/sv\\'!\"\\nReceived string: \"\"', pass: false } }%0A\n\n::error file=/home/runner/work/cli/cli/packages/sv/.test-output/cli/@my-org/sv/tests/addon.test.js,title=tests/addon.test.js > @my-org/sv 'default' 'kit-ts',line=31,column=26::Error: expect(received).toContain(expected) // indexOf%0A%0AExpected substring: \"This is a text file made by the Community Addon Template demo for the add-on: '@my-org/sv'!\"%0AReceived string: \"\"%0A ❯ Proxy.<anonymous> node_modules/playwright/lib/matchers/expect.js:213:24%0A ❯ tests/addon.test.js:31:26%0A%0A⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯%0ASerialized Error: { matcherResult: { message: 'expect(received).toContain(expected) // indexOf\\n\\nEx
[cli] tests/cli.ts > cli > should create a new project with name 'create-with-all-addons': packages/sv/src/cli/tests/cli.ts#L116
Error: Snapshot `cli > should create a new project with name 'create-with-all-addons' > file ".env.example" does not match snapshot 1` mismatched - Expected + Received - # Drizzle - DATABASE_URL=file:local.db - - ORIGIN="" - - # Better Auth - # For production use 32 characters and generated with high entropy - # https://www.better-auth.com/docs/installation - BETTER_AUTH_SECRET="" - # GitHub OAuth - # https://www.better-auth.com/docs/authentication/github - GITHUB_CLIENT_ID="" - GITHUB_CLIENT_SECRET="" + ❯ tests/cli.ts:116:5
test (windows-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
test (windows-latest)
The operation was canceled.
test (macOS-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
test (macOS-latest)
The operation was canceled.
check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. 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/
lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. 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/
preview-release
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. 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/
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. 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/
test (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. 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/
test (macOS-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. 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/
preview-release
{ "workflowData": { "owner": "sveltejs", "repo": "cli", "sha": "5f82a720adfb657c5f9fdc993ad039a3d6913eff", "ref": "1014" }, "key": "BvFpclqeMI", "runId": 23739863161, "webhookDebug": { "action": "requested", "head_branch": "transforms-api-patch-1", "head_repository_full_name": "sacrosanctic/cli", "full_name": "sveltejs/cli", "isPullRequest": true, "prNumber": 1014, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "sacrosanctic/cli:transforms-api-patch-1", "oldPrDataHash": "kdmlgHIe7Z", "lookupKey": "sacrosanctic/cli:transforms-api-patch-1", "data": { "owner": "sveltejs", "repo": "cli", "sha": "5f82a720adfb657c5f9fdc993ad039a3d6913eff", "ref": "1014" } } }