Skip to content

Commit af5f73b

Browse files
committed
ci: Disable GPU for CI ui-tests
1 parent 5527a63 commit af5f73b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.agents/codebase-insights.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@
3838
- `!tup_preserve` only mirrors files relative to the directory containing the Tupfile; after moving Tupfiles into `src/build` we copy assets with the new `!cp_preserve` helper so files can originate from the original `src/` tree without confusing tup.
3939
- `!cp_preserve` replaces symlink sources with fresh links pointing at the original target (using `readlink -f`) so mirrored assets stay valid when their relative paths shift.
4040
- `ct_wrapper` resolves `ct_paths.json` by honouring `CODETRACER_CT_PATHS` and otherwise searching upward from both the binary location and the current working directory, so it no longer assumes the wrapper lives at a specific depth in the checkout.
41+
- The posix `wrapElectron` path (used when `CODETRACER_WRAP_ELECTRON=1`) now forwards `CODETRACER_ELECTRON_ARGS`, so CI overrides like `--no-sandbox` reach Electron even when we re-exec the wrapper.

ci/test/ui-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CODETRACER_E2E_CT_PATH="$(pwd)/src/build/bin/ct"
2727
LINKS_PATH_DIR="$(pwd)/src/build"
2828
NIX_CODETRACER_EXE_DIR="$(pwd)/src/build"
2929
CODETRACER_LINKS_PATH="$(pwd)/src/build"
30-
CODETRACER_ELECTRON_ARGS="--no-sandbox"
30+
CODETRACER_ELECTRON_ARGS="--no-sandbox --disable-gpu"
3131

3232
export CODETRACER_E2E_CT_PATH
3333
export LINKS_PATH_DIR

0 commit comments

Comments
 (0)