Skip to content

fix: wsl disable-gpu for tests, add is_wsl environment#43

Merged
iloveitaly merged 1 commit intoiloveitaly:masterfrom
T04STER:fix/wsl-gpu-tests
Feb 19, 2026
Merged

fix: wsl disable-gpu for tests, add is_wsl environment#43
iloveitaly merged 1 commit intoiloveitaly:masterfrom
T04STER:fix/wsl-gpu-tests

Conversation

@T04STER
Copy link
Contributor

@T04STER T04STER commented Feb 19, 2026

Motivation

Enabled GPU for playwright, makes some of integration tests unstable, and thus failing randomly

Description

  • adds --disable-gpu flag if running playwright tests on wsl
  • adds is_wsl function in environments.py


# Auto-disable GPU if we detect we are inside WSL
# As GPU acceleration in WSL can be unstable and cause test failures,
# we disable it for better stability.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nit: # we disable it for better stability. this is self-evident, we could have kept this comment shorter.

@iloveitaly iloveitaly merged commit 904ac78 into iloveitaly:master Feb 19, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments