fix(vtimeline): drop dead PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH export

Playwright never reads this variable. Verified: no reference to it anywhere
in playwright-core, unsetting it leaves the suite green, and pointing
PLAYWRIGHT_BROWSERS_PATH at an empty directory fails the suite even while
the variable is set. The browsers.json-derived symlink farm is the only
mechanism that selects the nixpkgs chromium.

The old comment claimed the variable was "honoured by older Playwright and
the channel code path", which is false. That claim risked a future editor
deciding the symlink farm was secondary and breaking a working setup.

Replaced it with a note recording why the export must not come back.
Suite re-verified after the change: 15/15 passed.
This commit is contained in:
oqyude committed 2026-10-12 15:16:57 +03:00
1 parent fe08c0290e
commit df02a71c03
1 file changed
+6 -3
+6 -3
View File
@@ -40,9 +40,12 @@ shellHook = ''
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
export NIX_CHROMIUM=${pkgs.chromium}/bin/chromium
# Direct executable-path override (honoured by older Playwright and
# the `channel: "chromium"` code path).
export PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH="$NIX_CHROMIUM"
# NOTE: there is deliberately no PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH
# export. Playwright never reads that variable — verified 2026-10-12:
# no reference to it anywhere in playwright-core, and pointing
# PLAYWRIGHT_BROWSERS_PATH at an empty directory fails the suite even
# while the variable is set. The symlink farm below is the only thing
# that makes Playwright use the nixpkgs chromium. Don't re-add it.
export PLAYWRIGHT_BROWSERS_PATH="$HOME/.cache/vtimeline-pw-browsers"
mkdir -p "$PLAYWRIGHT_BROWSERS_PATH"