mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-30 20:04:15 +01:00
Let a repo keep server-backed Playwright tests out of the local pre-merge run (GST-3553) (#4885)
A repo can list folders as `"local_skip": ["apps/web/e2e/**"]` in `.gstack/pregate.json`, and /gstack-ship leaves the Playwright tests under them out of the run on this machine, prints how many it left out, and still expects them from CI. Why: Playwright suites outside `test/` that need dev servers failed green branches (#4709); only files Playwright plainly owns are ever left out, so a too-wide folder never skips a unit test. Nothing to do unless your repo has such a suite. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: s11/outside-voice#1 reader=outside-voice Review-Finding: s11/outside-voice#2 reader=outside-voice Review-Finding: s11/adversarial-native#1 reader=adversarial-native Review-Finding: s11/adversarial-native#2 reader=adversarial-native
This commit is contained in:
1 parent
adba58aa28
commit
942a12c618
9 files changed
+300
-55
No files matched your search
@@ -79,6 +79,7 @@ export const KNOWN_WINDOWS_INCOMPATIBLE: Array<{ file: string; reason: string }>
|
||||
{ file: 'test/pregate-docs-lane-review.test.ts', reason: 'spawns bin/gstack-pregate through test/helpers/pregate-fixture.ts runBin (shebang via CreateProcess); the docs-lane selection rules it drives are POSIX-run like the other pregate fixtures' },
|
||||
{ file: 'test/pregate-dart.test.ts', reason: 'its dart, flutter and fvm stand-ins are bash scripts on a colon-joined PATH, which Bun.which and CreateProcess cannot use on Windows, and its containment case needs a POSIX symlink; the Dart lane code it drives is POSIX-run like the other pregate fixtures' },
|
||||
{ file: 'test/pregate-non-js.test.ts', reason: 'spawns bin/gstack-pregate through test/helpers/pregate-fixture.ts runBin and expects the Linux-host lanes verdict, like test/pregate-docs-lane-review.test.ts and test/pregate-selection.test.ts' },
|
||||
{ file: 'test/pregate-local-skip.test.ts', reason: 'spawns bin/gstack-pregate through test/helpers/pregate-fixture.ts runBin with a POSIX sh npx/pnpm shim on PATH and BASH_ENV, and expects the Linux-host lanes verdict, like test/pregate-declared-test-tree.test.ts' },
|
||||
{ file: 'test/pregate-declared-test-tree.test.ts', reason: 'spawns bin/gstack-pregate through test/helpers/pregate-fixture.ts runBin and expects the Linux-host lanes verdict (the outside test runs in the local lane), like test/pregate-selection.test.ts' },
|
||||
{ file: 'test/pregate-remote-gbrain.test.ts', reason: 'spawns bin/gstack-pregate through test/helpers/pregate-fixture.ts runBin (shebang via CreateProcess) and runs the gbrain-shaped ci:ubicloud package script through the POSIX lane runner, like test/pregate-remote.test.ts' },
|
||||
{ file: 'test/pregate-remote-stamp-only.test.ts', reason: 'expects the Linux-host lanes verdict like test/pregate-remote.test.ts (on Windows the fixture\'s Linux lane is a requires-remote obligation) and skips itself on win32 (describe.skipIf), so the curated lane would run an empty file (#3485, #3486)' },
|
||||
|
||||
Reference in new issue
Block a user