Compare commits

..

No commits in common. "5204415feaf8630a0a9ae6cf0bd6ba8f19af53ff" and "f38332527629c68c50af1b599d08cd85f4f3d45d" have entirely different histories.

6 changed files with 466 additions and 387 deletions

View File

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

View File

@ -77,13 +77,6 @@ def desktop_env_args(user: str, uid: int) -> list[str]:
# Steam still keeps its own logs/console-linux.txt; this only stops # Steam still keeps its own logs/console-linux.txt; this only stops
# the copy into journald. # the copy into journald.
"SRT_LOGGER_USE_JOURNAL=0", "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,16 +65,6 @@ class TestDesktopEnvArgs:
args = desktop_env_args("bob", 1000) args = desktop_env_args("bob", 1000)
assert _env_value(args, "SRT_LOGGER_USE_JOURNAL") == "0" 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: def test_dbus_address_defaults_to_uid_path(self) -> None:
"""DBUS falls back to the uid-derived socket when unset.""" """DBUS falls back to the uid-derived socket when unset."""
env_copy = os.environ.copy() 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": { "devDependencies": {
"@eslint/js": "10.0.1", "@eslint/js": "10.0.1",
"@testing-library/dom": "10.4.2", "@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "7.0.1", "@testing-library/jest-dom": "7.0.1",
"@testing-library/react": "16.3.3", "@testing-library/react": "16.3.3",
"@testing-library/user-event": "14.6.7", "@testing-library/user-event": "14.6.7",

View File

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