Compare commits

...

3 Commits

Author SHA1 Message Date
5204415fea Bump coverage to 7.16.1
Some checks failed
dependency freshness / dependencies on newest stable (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Tests / test (push) Has been cancelled
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SS8M5wk88nJTXxDWz61KKk
2026-09-14 21:37:19 +02:00
230706d686 Bump @testing-library/dom to 10.4.2
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SS8M5wk88nJTXxDWz61KKk
2026-09-14 21:36:36 +02:00
0f5d234ee0 Pass SDL_JOYSTICK_HIDAPI_LG4FF=0 to Steam so the G29 keeps force feedback
SDL3's HIDAPI lg4ff driver advertises an effect-status query it cannot
answer; BeamNG.drive 0.39 native treats the failed query as a dead effect
and the wheel goes limp (12k "Failed to get joystick3 FFB effect status"
lines per session). Steam's environment on this box is exactly this
allowlist, so the hint has to live here, not in /etc/environment.

The narrow hint only demotes the Logitech wheel to the kernel driver;
gamepads keep HIDAPI (rumble, LEDs over Bluetooth).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SS8M5wk88nJTXxDWz61KKk
2026-09-14 21:35:15 +02:00
6 changed files with 387 additions and 466 deletions

View File

@ -4,7 +4,7 @@
aiohttp==3.14.3
bandit==1.9.4
codespell==2.4.3
coverage==7.16.0
coverage==7.16.1
howlongtobeatpy==1.0.23
mcp==2.2.0
mypy==2.3.1

View File

@ -77,6 +77,13 @@ def desktop_env_args(user: str, uid: int) -> list[str]:
# Steam still keeps its own logs/console-linux.txt; this only stops
# the copy into journald.
"SRT_LOGGER_USE_JOURNAL=0",
# SDL3's HIDAPI lg4ff driver has no effect-status query; BeamNG 0.39
# native treats the failed query as a dead effect and the G29 goes
# limp (12k "Failed to get joystick3 FFB effect status" lines per
# session). Narrow hint so gamepads keep HIDAPI (rumble/LEDs); only
# the Logitech wheel falls back to the kernel driver. Name verified
# against BeamNG's SDL 3.4.12 strings, 2026-09-14.
"SDL_JOYSTICK_HIDAPI_LG4FF=0",
]

View File

@ -65,6 +65,16 @@ class TestDesktopEnvArgs:
args = desktop_env_args("bob", 1000)
assert _env_value(args, "SRT_LOGGER_USE_JOURNAL") == "0"
def test_logitech_wheel_uses_kernel_driver_not_sdl_hidapi(self) -> None:
"""Every SDL3 game must see SDL_JOYSTICK_HIDAPI_LG4FF=0.
SDL3's hidapi lg4ff driver cannot answer effect-status queries, which
BeamNG 0.39 native reads as a dead effect: zero force on the G29. The
narrow hint keeps HIDAPI for gamepads and only demotes the wheel.
"""
args = desktop_env_args("bob", 1000)
assert _env_value(args, "SDL_JOYSTICK_HIDAPI_LG4FF") == "0"
def test_dbus_address_defaults_to_uid_path(self) -> None:
"""DBUS falls back to the uid-derived socket when unset."""
env_copy = os.environ.copy()

804
web/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,7 +18,7 @@
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@testing-library/dom": "10.4.1",
"@testing-library/dom": "10.4.2",
"@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3",
"@testing-library/user-event": "14.6.7",

View File

@ -19,17 +19,17 @@ importers:
specifier: 10.0.1
version: 10.0.1(eslint@10.10.0(supports-color@7.2.0))
'@testing-library/dom':
specifier: 10.4.1
version: 10.4.1
specifier: 10.4.2
version: 10.4.2
'@testing-library/jest-dom':
specifier: 7.0.1
version: 7.0.1(@testing-library/dom@10.4.1)(vitest@5.0.0)
version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.0)
'@testing-library/react':
specifier: 16.3.3
version: 16.3.3(@testing-library/dom@10.4.1)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
version: 16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)
'@testing-library/user-event':
specifier: 14.6.7
version: 14.6.7(@testing-library/dom@10.4.1)
version: 14.6.7(@testing-library/dom@10.4.2)
'@types/node':
specifier: 26.5.1
version: 26.5.1
@ -405,8 +405,8 @@ packages:
'@rolldown/pluginutils@1.0.1':
resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==}
'@testing-library/dom@10.4.1':
resolution: {integrity: sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==}
'@testing-library/dom@10.4.2':
resolution: {integrity: sha512-yzr2S9HyAIdhz2/6qHgbs665Q7PKVcDF05vsOlHPxG1mo36gKVesdYVeDLnXgfjJ03CrKRk08knc6+E/9m8v2Q==}
engines: {node: '>=18'}
'@testing-library/jest-dom@7.0.1':
@ -1660,7 +1660,7 @@ snapshots:
'@rolldown/pluginutils@1.0.1': {}
'@testing-library/dom@10.4.1':
'@testing-library/dom@10.4.2':
dependencies:
'@babel/code-frame': 7.29.7
'@babel/runtime': 7.29.7
@ -1671,10 +1671,10 @@ snapshots:
picocolors: 1.1.1
pretty-format: 27.5.1
'@testing-library/jest-dom@7.0.1(@testing-library/dom@10.4.1)(vitest@5.0.0)':
'@testing-library/jest-dom@7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.0)':
dependencies:
'@adobe/css-tools': 4.5.0
'@testing-library/dom': 10.4.1
'@testing-library/dom': 10.4.2
aria-query: 5.3.2
css.escape: 1.5.1
dom-accessibility-api: 0.6.3
@ -1683,19 +1683,19 @@ snapshots:
optionalDependencies:
vitest: 5.0.0(@types/node@26.5.1)(@vitest/coverage-v8@5.0.0)(jsdom@30.0.1)(vite@8.3.0(@types/node@26.5.1))
'@testing-library/react@16.3.3(@testing-library/dom@10.4.1)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)':
'@testing-library/react@16.3.3(@testing-library/dom@10.4.2)(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)':
dependencies:
'@babel/runtime': 7.29.7
'@testing-library/dom': 10.4.1
'@testing-library/dom': 10.4.2
react: 19.3.0
react-dom: 19.3.0(react@19.3.0)
optionalDependencies:
'@types/react': 19.3.0
'@types/react-dom': 19.3.0(@types/react@19.3.0)
'@testing-library/user-event@14.6.7(@testing-library/dom@10.4.1)':
'@testing-library/user-event@14.6.7(@testing-library/dom@10.4.2)':
dependencies:
'@testing-library/dom': 10.4.1
'@testing-library/dom': 10.4.2
'@types/aria-query@5.0.4': {}