OOMKill is hidden during docker-based next build, build appears successful but isn't. #67097
Labels
bug
Issue was opened via the bug report template.
Developer Experience
Issues related to Next.js logs, Error overlay, etc.
Link to the code that reproduces this issue
https://github.com/henricook/next-build-silent-crash
To Reproduce
Current vs. Expected behavior
Build crashes due to OOMKill, but with a success exit code (0)
As a result the Docker build continues, and it shouldn't
Provide environment information
Which area(s) are affected? (Select all that apply)
Developer Experience
Which stage(s) are affected? (Select all that apply)
next build (local)
Additional context
I'm about to open an MR with a proposed fix for this.
Example 'successful failure' during docker build:
The text was updated successfully, but these errors were encountered: