From e16781352c7ea56a75a1f7a482a00f963dfdd575 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 23 Aug 2022 17:46:17 +0800 Subject: [PATCH] Build: Force exit generate-repros --- scripts/next-repro-generators/generate-repros.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/next-repro-generators/generate-repros.ts b/scripts/next-repro-generators/generate-repros.ts index 0e5adaa879ef..a2e532aca5f6 100755 --- a/scripts/next-repro-generators/generate-repros.ts +++ b/scripts/next-repro-generators/generate-repros.ts @@ -150,6 +150,11 @@ const runGenerators = async ( controller.abort(); console.log(`✅ Stopped`); } + + // FIXME: Kill dangling processes. For some reason in CI, + // the abort signal gets executed but the child process kill + // does not succeed?!? + process.exit(0); }; const generate = async ({