Fix React compiler warnings #231
security.yml
on: pull_request
security-tests
5m 37s
native-helper-security
4m 25s
secret-scanning
23s
Annotations
11 errors and 3 warnings
|
native-helper-security
Process completed with exit code 2.
|
|
tests/unit/audio/beatOnsetAnalysisGenerator.test.ts > BeatOnsetAnalysisGenerator > creates compact analysis refs for both event artifacts:
src/services/audio/BeatOnsetAnalysisGenerator.ts#L792
BeatOnsetAnalysisGeneratorError: Beat/onset analysis beat-onset-job-refs failed: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ BeatOnsetAnalysisGenerator.generate src/services/audio/BeatOnsetAnalysisGenerator.ts:792:11
❯ tests/unit/audio/beatOnsetAnalysisGenerator.test.ts:121:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'artifact-store-failed', jobId: 'beat-onset-job-refs', recoverable: true }
Caused by: Caused by: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ AudioArtifactStore.putPayload src/services/audio/AudioArtifactStore.ts:90:20
❯ BeatOnsetAnalysisGenerator.generate src/services/audio/BeatOnsetAnalysisGenerator.ts:635:31
❯ tests/unit/audio/beatOnsetAnalysisGenerator.test.ts:121:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/audio/beatOnsetAnalysisGenerator.test.ts > BeatOnsetAnalysisGenerator > stores onset-map and beat-grid artifacts from spectral flux:
src/services/audio/BeatOnsetAnalysisGenerator.ts#L792
BeatOnsetAnalysisGeneratorError: Beat/onset analysis beat-onset-job-1 failed: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ BeatOnsetAnalysisGenerator.generate src/services/audio/BeatOnsetAnalysisGenerator.ts:792:11
❯ tests/unit/audio/beatOnsetAnalysisGenerator.test.ts:59:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'artifact-store-failed', jobId: 'beat-onset-job-1', recoverable: true }
Caused by: Caused by: TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ AudioArtifactStore.putPayload src/services/audio/AudioArtifactStore.ts:90:20
❯ BeatOnsetAnalysisGenerator.generate src/services/audio/BeatOnsetAnalysisGenerator.ts:635:31
❯ tests/unit/audio/beatOnsetAnalysisGenerator.test.ts:59:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/audio/audioArtifactStore.test.ts > AudioArtifactStore > can read stored payload bytes by ref:
src/artifacts/hash.ts#L45
TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ AudioArtifactStore.putPayload src/services/audio/AudioArtifactStore.ts:90:20
❯ tests/unit/audio/audioArtifactStore.test.ts:181:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/audio/audioArtifactStore.test.ts > AudioArtifactStore > stores waveform payloads and a typed analysis manifest through Signal artifacts:
src/artifacts/hash.ts#L45
TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ AudioArtifactStore.putPayload src/services/audio/AudioArtifactStore.ts:90:20
❯ tests/unit/audio/audioArtifactStore.test.ts:59:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/artifacts/projectDBStorageAdapter.test.ts > ProjectDBArtifactStorageAdapter > stores artifact manifests and bytes durably in ProjectDB:
src/artifacts/hash.ts#L45
TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ tests/unit/artifacts/projectDBStorageAdapter.test.ts:58:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/artifacts/artifactStore.test.ts > ArtifactStore > stores real File data and deletes the artifact by hash:
src/artifacts/hash.ts#L45
TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ tests/unit/artifacts/artifactStore.test.ts:82:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/artifacts/artifactStore.test.ts > ArtifactStore > deduplicates ArrayBuffer content and merges source refs:
src/artifacts/hash.ts#L45
TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ tests/unit/artifacts/artifactStore.test.ts:57:19
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/unit/artifacts/artifactStore.test.ts > ArtifactStore > stores and reads a Blob as a SHA-256-addressed artifact:
src/artifacts/hash.ts#L45
TypeError: Failed to execute 'digest' on 'SubtleCrypto': 2nd argument is not instance of ArrayBuffer, Buffer, TypedArray, or DataView.
❯ sha256ArrayBuffer src/artifacts/hash.ts:45:49
❯ ArtifactStore.putArtifact src/artifacts/ArtifactStore.ts:62:24
❯ tests/unit/artifacts/artifactStore.test.ts:27:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ERR_INVALID_ARG_TYPE' }
|
|
tests/stores/mediaStore/fileImportSignalSlice.test.ts > fileImportSlice Signal imports > keeps unknown files as binary SignalAssets instead of rejecting them:
tests/stores/mediaStore/fileImportSignalSlice.test.ts#L145
AssertionError: expected undefined to match object { name: 'part.step', …(2) }
- Expected:
{
"name": "part.step",
"providerId": "masterselects.import.binary-fallback",
"type": "signal",
}
+ Received:
undefined
❯ tests/stores/mediaStore/fileImportSignalSlice.test.ts:145:25
|
|
tests/stores/mediaStore/fileImportSignalSlice.test.ts > fileImportSlice Signal imports > imports CSV files through the universal signal route:
tests/stores/mediaStore/fileImportSignalSlice.test.ts#L113
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ tests/stores/mediaStore/fileImportSignalSlice.test.ts:113:27
|
|
secret-scanning
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, gitleaks/gitleaks-action@v2. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
native-helper-security
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 will be forced to run with Node.js 24 by default starting June 16th, 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/
|
|
security-tests
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. Actions will be forced to run with Node.js 24 by default starting June 16th, 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/
|