fix: increase type-check memory limit to 12GB (#26853)
* fix: detect OOM errors in type-check CI workflow Turborepo has a known bug where tasks killed by signals (like OOM) are incorrectly marked as successful because the exit code is -1, and Turborepo takes max(-1, 0) = 0. This fix captures the type-check output and explicitly checks for OOM error patterns, failing the job if detected. See: https://github.com/vercel/turbo/issues/4227 Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com> * fix: increase type-check memory limit to 6144MB and add OOM detection Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com> * fix: increase type-check memory limit to 12GB Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent
dd7b647715
commit
9bfd11a36a
@@ -2,7 +2,7 @@ name: Check types
|
||||
on:
|
||||
workflow_call:
|
||||
env:
|
||||
NODE_OPTIONS: --max-old-space-size=4096
|
||||
NODE_OPTIONS: --max-old-space-size=12288
|
||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user