Fix flaky typecheck: enforce serial execution to prevent OOM

This commit is contained in:
MohammedMutee 2026-01-09 10:40:43 +05:30
parent 1c24a05ce1
commit 53d94b06b9

View file

@ -39,8 +39,8 @@ if [[ $# == 0 ]]; then
fi
ret=0
TYPECHECK_SERIAL="${TYPECHECK_SERIAL:-false}"
go run ./test/typecheck "$@" "--serial=$TYPECHECK_SERIAL" || ret=$?
TYPECHECK_SERIAL="${TYPECHECK_SERIAL:-true}"
go run ./test/typecheck "--serial=$TYPECHECK_SERIAL" "$@" || ret=$?
if [[ $ret -ne 0 ]]; then
echo "!!! Typecheck has failed. This may cause cross platform build failures." >&2