Add a way to voluntarily crash on stack overflow in CI

This commit is contained in:
Jarred Sumner
2025-07-30 20:56:15 -07:00
parent 2b5a59cae1
commit c3f02df42f
4 changed files with 15 additions and 0 deletions

View File

@@ -1040,6 +1040,7 @@ async function spawnBun(execPath, { args, cwd, timeout, env, stdout, stderr }) {
SHELL: shellPath,
FORCE_COLOR: "1",
BUN_FEATURE_FLAG_INTERNAL_FOR_TESTING: "1",
BUN_FEATURE_FLAG_CRASH_ON_STACK_OVERFLOW: "1",
BUN_DEBUG_QUIET_LOGS: "1",
BUN_GARBAGE_COLLECTOR_LEVEL: "1",
BUN_JSC_randomIntegrityAuditRate: "1.0",