Skip to content

Commit fb175f7

Browse files
committed
test(ci): skip the --exit guardrail vitest for this probe branch only
1 parent e36382b commit fb175f7

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

src/tests/backend-new/specs/backend-tests-flake-mitigation.test.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,17 @@ describe('backend-tests flake mitigation (PR #7748)', () => {
4545
.toBe(runStepCount);
4646
});
4747

48-
it('Windows backend-test steps invoke pnpm test with --exit', () => {
49-
// --exit is the Windows-only mitigation. Linux still runs natural-drain
50-
// so leaked-handle regressions stay visible there.
48+
it.skip('Windows backend-test steps invoke pnpm test with --exit (PROBE: temporarily disabled)', () => {
49+
// PROBE branch only — see PR #7856. The original assertion enforced
50+
// that the post-suite-drain mitigation from PR #7748 stays in place.
51+
// This probe deliberately drops --exit to see whether (a) the original
52+
// post-suite hard-kill bug still reproduces on current Node 24.x, or
53+
// (b) --exit was also masking signal from the mid-suite silent flake.
54+
// The .skip is REQUIRED for the probe branch to run; if this is in a
55+
// PR targeted at develop, revert it before merge.
5156
const exitCount = (workflow.match(/pnpm test -- --exit/g) || []).length;
5257
expect(exitCount, 'Windows × 2 jobs must pass --exit to pnpm test')
5358
.toBe(2);
54-
// Negative check: Linux jobs must NOT use --exit so handle-leak
55-
// detection stays alive on the natural-drain platforms.
5659
expect(workflow.includes('runs-on: ubuntu-latest'),
5760
'workflow no longer has any Linux jobs (sanity check)').toBe(true);
5861
});

0 commit comments

Comments
 (0)