From 4a7ecfef5f59c4ea9ed0e1c4e63659bd181ff44f Mon Sep 17 00:00:00 2001 From: auyua9 Date: Mon, 14 Sep 2026 07:10:52 +0800 Subject: [PATCH] test(publish): register rc-guard test in the cross-platform suite The rc-guard regression test spawns the POSIX-only bash executable, so per the suite's own policy it must run on the Windows/macOS matrix rather than only the Ubuntu full suite. Register it in SPAWN_CLI. --- gitnexus/scripts/cross-platform-tests.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitnexus/scripts/cross-platform-tests.ts b/gitnexus/scripts/cross-platform-tests.ts index 07b10fe25..a69fac087 100644 --- a/gitnexus/scripts/cross-platform-tests.ts +++ b/gitnexus/scripts/cross-platform-tests.ts @@ -267,6 +267,10 @@ const SPAWN_CLI = [ // tree-sitter grammars at import time. The offender regexes match grammar // paths with either separator, which only the Windows runner proves. 'test/integration/optional-grammars/registry-import-closure.test.ts', + // Spawns `bash` to exercise the rc-guard release-subject regex under real + // nocasematch semantics; bash availability/behavior differs on Windows and + // macOS runners, so the suite must cover it beyond the Ubuntu full run. + 'test/unit/publish-rc-guard.test.ts', ]; // Worker threads tests — exercise real worker_threads which have