Skip to content

refactor: migrate test runner from bun:test to vitest (WIP) #4599

refactor: migrate test runner from bun:test to vitest (WIP)

refactor: migrate test runner from bun:test to vitest (WIP) #4599

Triggered via pull request May 21, 2026 13:19
Status Failure
Total duration 3m 3s
Artifacts

ci.yml

on: pull_request
Detect Changes
10s
Detect Changes
Lint & Typecheck
41s
Lint & Typecheck
Validate generated files
26s
Validate generated files
Matrix: build-binary
Matrix: build-npm
Generate Delta Patches
Generate Delta Patches
E2E Tests
E2E Tests
Build Docs
Build Docs
Publish Nightly to GHCR
0s
Publish Nightly to GHCR
CI Status
3s
CI Status
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
Unit Tests
Process completed with exit code 1.
test/lib/sentryclirc-import.test.ts: test/lib/sentryclirc-import.test.ts#L9
Error: Cannot find package 'bun:test' imported from /home/runner/work/cli/cli/test/lib/sentryclirc-import.test.ts ❯ test/lib/sentryclirc-import.test.ts:9:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
test/lib/sentryclirc-import.property.test.ts: test/lib/sentryclirc-import.property.test.ts#L12
Error: Cannot find package 'bun:test' imported from /home/runner/work/cli/cli/test/lib/sentryclirc-import.property.test.ts ❯ test/lib/sentryclirc-import.property.test.ts:12:1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_MODULE_NOT_FOUND' }
CI Status
Process completed with exit code 1.
CI Status
CI failed - upstream job failed causing test-e2e to be skipped
Validate generated files
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/
Validate generated files
Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Validate generated files
Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Lint & Typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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 & Typecheck
Patch version mismatch:@stricli/core: patch targets 1.2.5, installed 1.2.7 — regenerate with: pnpm patch @stricli/core
Unit Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: 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/