fix(storage): stream S3 reads without memory buffering and seek video thumbnails via presigned URL #28
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
crapougnax
added 1 commit 2026-11-11 14:38:32 +00:00
All checks were successful
Quatrain Core Sovereign CI / Monorepo Build, Tests & Quality Audit (pull_request) Successful in 4m48s
Details
Quatrain Core Sovereign CI / Publish Changed Packages to npm (pull_request) Has been skipped
Details
Merge pull request 'fix(storage): stream S3 reads without memory buffering and seek video thumbnails via presigned URL' (#28) from fix/s3-stream-video-thumbnails into develop
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
qa:preview
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quatrain/core!28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/s3-stream-video-thumbnails"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?