Skip to content

refactor: Replace Node.js Buffer operations with Web-standard APIs for convex v8 #27

refactor: Replace Node.js Buffer operations with Web-standard APIs for convex v8

refactor: Replace Node.js Buffer operations with Web-standard APIs for convex v8 #27

Triggered via pull request January 17, 2026 11:40
Status Failure
Total duration 2m 4s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Run Tests
Process completed with exit code 1.
convex/lib/crypto.test.ts > crypto > transforms valid hex key correctly: convex/lib/crypto.ts#L124
TypeError: Failed to execute 'importKey' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView. ❯ getEncryptionKey convex/lib/crypto.ts:124:37 ❯ encryptApiKey convex/lib/crypto.ts:148:23 ❯ convex/lib/crypto.test.ts:22:33 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }