Skip to content

fix: address low-priority review items from Bun→Node migration #4573

fix: address low-priority review items from Bun→Node migration

fix: address low-priority review items from Bun→Node migration #4573

Triggered via pull request May 20, 2026 19:57
Status Failure
Total duration 5m 37s
Artifacts 5

ci.yml

on: pull_request
Detect Changes
6s
Detect Changes
Lint & Typecheck
41s
Lint & Typecheck
Validate generated files
21s
Validate generated files
Matrix: build-binary
Matrix: build-npm
Generate Delta Patches
0s
Generate Delta Patches
Build Docs
37s
Build Docs
Publish Nightly to GHCR
0s
Publish Nightly to GHCR
CI Status
4s
CI Status
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 12 warnings
Build npm Package (Node 22)
Process completed with exit code 1.
Build npm Package (Node 24)
Process completed with exit code 1.
E2E Tests
Process completed with exit code 1.
error: cannot run library tests: test/e2e/library.test.ts#L99
cannot run library tests at <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:99:17)
error: [ERROR] Could not resolve "bun:sqlite": test/e2e/bundle.test.ts#L38
src/lib/db/sqlite.ts:78:19: return require("bun:sqlite").Database; ~~~~~~~~~~~~ You can mark the path "bun:sqlite" as external to exclude it from the bundle, which will remove this error and leave the unresolved path in the bundle. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time. 1462 | let { file, line, column } = e.location; 1463 | let pluginText = e.pluginName ? `[plugin: ${e.pluginName}] ` : ""; 1464 | return ` 1465 | ${file}:${line}:${column}: ERROR: ${pluginText}${e.text}`; 1466 | }).join(""); 1467 | let error = new Error(text); ^ error: Build failed with 1 error: src/lib/db/sqlite.ts:78:19: ERROR: Could not resolve "bun:sqlite" at failureErrorWithLog (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1467:19) at <anonymous> (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:926:25) at <anonymous> (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1345:9) Bun v1.3.13 (Linux x64) at <anonymous> (/home/runner/work/cli/cli/test/e2e/bundle.test.ts:38:17)
CI Status
Process completed with exit code 1.
CI Status
CI failed
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/
Build npm Package (Node 22)
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/
Build npm Package (Node 24)
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/
Build Binary (linux-x64)
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/
Build Binary (linux-x64-musl)
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/
Build Docs
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/
E2E 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/

Artifacts

Produced during runtime
Name Size Digest
codecov-coverage-results-byk-cleanup-bun-node-migration-test-unit
339 KB
sha256:1d8c5046de0fada692993691ae37cb61df4754a92e4ebc34dba2c8a29e306b96
codecov-test-results-byk-cleanup-bun-node-migration-test-unit
228 Bytes
sha256:e12b938142c76399e66ab0558c91da2aab18aec9c29a3bb74ac06963e945e8e6
gh-pages
1.84 MB
sha256:c3d78ba010a9e2f1b01ec8bb826f516f5c4537aacc4c9a7cfe14c6fa4806351d
sentry-linux-x64
31.8 MB
sha256:e17a50da7d236bf77c928799a0010de526959f58fabc31c99d1b45d9a16723da
sentry-linux-x64-musl
30 MB
sha256:ec027f36f70c46d0c6895e54286001a548df61c746ebcd94b6c6a15a13c63d0a