From 5dc3f967435d3fd7321ab28674de2988b5e1eed5 Mon Sep 17 00:00:00 2001 From: affaan-m <124439313+affaan-m@users.noreply.github.com> Date: Mon, 28 Sep 2026 03:59:37 -0400 Subject: [PATCH] test(release): fail when the asynchronous check queue cannot complete Preserve contributor history while applying the exact reviewed current-main repair. Source-PR: https://github.com/affaan-m/ECC/pull/3195 Source-Parent: f36b5d1fda114eabe75b13ea4a318d0c98580371 Review-Manifest-SHA256: ac156e1ed28f771f5ddb00913804dbdc79d96c13dc2090bc86f10e0fec7f5636 --- tests/ci/release-packed-artifact-workflow.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/ci/release-packed-artifact-workflow.test.js b/tests/ci/release-packed-artifact-workflow.test.js index fd6082d13..fd17a7d72 100644 --- a/tests/ci/release-packed-artifact-workflow.test.js +++ b/tests/ci/release-packed-artifact-workflow.test.js @@ -19,6 +19,9 @@ const { } = require('../../scripts/ci/verify-release-gates.js'); const lifecycleRunnerSource = load('tests/ci/packed-artifact-lifecycle.js'); +// A pending Promise alone does not keep Node alive. Only a completed queue +// may report success, including when a deadline regression leaves it unsettled. +process.exitCode = 1; let passed = 0; let failed = 0; let pendingTests = Promise.resolve();