Skip to content

refactor: replace remaining Bun APIs (zstd, mmap, CryptoHasher, file writer) #4535

refactor: replace remaining Bun APIs (zstd, mmap, CryptoHasher, file writer)

refactor: replace remaining Bun APIs (zstd, mmap, CryptoHasher, file writer) #4535

Triggered via pull request May 20, 2026 15:38
Status Failure
Total duration 5m 46s
Artifacts 6

ci.yml

on: pull_request
Detect Changes
8s
Detect Changes
Lint & Typecheck
36s
Lint & Typecheck
Validate generated files
18s
Validate generated files
Matrix: build-binary
Matrix: build-npm
Generate Delta Patches
0s
Generate Delta Patches
Build Docs
32s
Build Docs
Publish Nightly to GHCR
0s
Publish Nightly to GHCR
CI Status
3s
CI Status
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
E2E Tests
Process completed with exit code 1.
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:244:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:222:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:198:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:178:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:162:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:152:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:144:30)
error: Node exited 1.: test/e2e/library.test.ts#L64
stderr: node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type function. Received undefined at promisify (node:internal/util:409:3) at /home/runner/work/cli/cli/dist/index.cjs:241:3790 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:258:1138 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:508418 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at /home/runner/work/cli/cli/dist/index.cjs:406:3803 at /home/runner/work/cli/cli/dist/index.cjs:1:313 at Object.<anonymous> (/home/runner/work/cli/cli/dist/index.cjs:4578:15840) { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.20.2 at runNodeScriptOk (/home/runner/work/cli/cli/test/e2e/library.test.ts:64:15) at async <anonymous> (/home/runner/work/cli/cli/test/e2e/library.test.ts:136:30)
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/
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/
Unit Tests
❌ Patch coverage check failed: 79.31% < target 80%
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 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 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-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-refactor-remove-bun-apis-group-d-test-unit
338 KB
sha256:97eb805b62eeafd750b4a1a786bd10b410a5b9555e118dbea148db91de96a5f1
codecov-test-results-refactor-remove-bun-apis-group-d-test-unit
228 Bytes
sha256:891eb27be0c586527ee6c2f732c57742589ba4d5bfb32e21cae02f6e443ad900
gh-pages
1.84 MB
sha256:6c5c6fbb2de7da7134f61110c154d28253dc195816c73d1923739c809a6aed07
npm-package
1.49 MB
sha256:8789bdad10eb1087bd54eb243a89922334b608ebb772187eb5c8d5f69e9171df
sentry-linux-x64
31.8 MB
sha256:6f3f2fa88dada5d5c2814ef4d013bba404e3b06e5246bd0ced55bf94f118e3a9
sentry-linux-x64-musl
30 MB
sha256:1a298c5922592e62cf4f9d0551efac60bcd0826d206b52e2ca31250c51f7fdf0