fix(storage): stream S3 reads without memory buffering and seek video thumbnails via presigned URL #28

Merged
crapougnax merged 1 commit from fix/s3-stream-video-thumbnails into develop 2026-11-11 14:38:43 +00:00
Owner
  • Return native Node.js Readable stream directly in S3StorageAdapter.getReadable() instead of buffering entire objects via transformToByteArray()
  • Stream downloads to disk via node:stream/promises pipeline() and pipe directly to Writable targets in S3StorageAdapter.stream()
  • Seek video frames via presigned HTTP(S) URLs (-ss before -i) once into a single PNG frame before sharp resizing, falling back to streaming download for local/mock adapters
  • Ensure temporary thumbnail workspaces are cleaned up in finally blocks across image, video, and document thumbnail generators
  • Add unit tests for S3StorageAdapter streaming and presigned video thumbnail seeking, and exclude tests from published npm tarballs
- Return native Node.js Readable stream directly in S3StorageAdapter.getReadable() instead of buffering entire objects via transformToByteArray() - Stream downloads to disk via node:stream/promises pipeline() and pipe directly to Writable targets in S3StorageAdapter.stream() - Seek video frames via presigned HTTP(S) URLs (-ss before -i) once into a single PNG frame before sharp resizing, falling back to streaming download for local/mock adapters - Ensure temporary thumbnail workspaces are cleaned up in finally blocks across image, video, and document thumbnail generators - Add unit tests for S3StorageAdapter streaming and presigned video thumbnail seeking, and exclude tests from published npm tarballs
fix(storage): stream S3 reads without memory buffering and seek video thumbnails via presigned URL
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m48s
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
9db9cb313b
- Return native Node.js Readable stream directly in S3StorageAdapter.getReadable() instead of buffering entire objects via transformToByteArray()
- Stream downloads to disk via node:stream/promises pipeline() and pipe directly to Writable targets in S3StorageAdapter.stream()
- Seek video frames via presigned HTTP(S) URLs (-ss before -i) once into a single PNG frame before sharp resizing, falling back to streaming download for local/mock adapters
- Ensure temporary thumbnail workspaces are cleaned up in finally blocks across image, video, and document thumbnail generators
- Add unit tests for S3StorageAdapter streaming and presigned video thumbnail seeking, and exclude tests from published npm tarballs
crapougnax merged commit 700d953244 into develop 2026-11-11 14:38:43 +00:00
crapougnax deleted branch fix/s3-stream-video-thumbnails 2026-11-11 14:38:43 +00:00
Sign in to join this conversation.
No description provided.