Skip to content

WH-077: Avoid OOM in storage pixel-bomb test on CI - #3

Merged
msaouab merged 1 commit into
mainfrom
wh-077-ci-storage-oom
Oct 18, 2026
Merged

msaouab merged 1 commit into
mainfrom
wh-077-ci-storage-oom

Conversation

@msaouab

@msaouab msaouab commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • First main CI run failed on @work-hub/storage:test when the pixel-bomb fixture allocated a 12k×12k image under parallel quality.
  • Replace it with a tiny PNG that only claims oversized IHDR dimensions so limitInputPixels still rejects without OOM.

Test plan

  • pnpm nx test storage locally
  • CI Quality + integration green on this PR
  • CI Playwright e2e green on this PR
  • Squash-merge to main and confirm both jobs green on main

Made with Cursor

The fixture used sharp.create at 12k×12k, which OOMs when quality runs
tests in parallel on GitHub. Claim oversized IHDR dimensions in a tiny
PNG instead so limitInputPixels still rejects without allocating.

Co-authored-by: Cursor <cursoragent@cursor.com>
@msaouab
msaouab merged commit e9608e2 into main Oct 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant