fix(games): let the GUI Add-game dialog link a launcher & log folder #47

Merged
jessey merged 3 commits from feat/gpu-stress-and-drive-health into main 2026-05-29 15:00:00 +00:00
Owner
No description provided.
jessey added 3 commits 2026-05-29 14:59:43 +00:00
The "Add game…" button only prompted for a name (single-field QInputDialog), so a
custom game couldn't be given its launch command or log dir from the GUI. Replace it
with a proper dialog: name + an optional launch command/script (with a file browser)
+ an optional log folder (auto-detected from the script's folder when left blank).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Two diagnostics for the load-correlated GPU crashes and for storage wear.

GPU stress (`rigdoctor stress` + a System Health "Stress test…" dialog): drive a GPU
load and sample sensors at high rate, then report per-metric min/avg/peak, time spent
above each temp threshold, power vs limit, throttling (decoded from the NVML
clocks-event bitmask), and any GPU fault (Xid / VA-space freeze / query-timeout hang)
in the window. Load source: explicit --command, an auto-detected loader, or
monitor-only (you launch the game). Analysis is a pure, unit-tested function.

Drive health (core/drives.py): parse full `smartctl --json` per drive into prioritized
findings — SMART verdict, derived life-left % (NVMe percentage_used or SATA
wear-leveling), power-on hours, TBW, temperature, and failure predictors
(reallocated/pending/offline sectors, NVMe media errors, low spare). Replaces the old
pass/fail-only check_smart; runs through the same elevated path (collect-priv / sudo),
degrading to "needs root" notes unprivileged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chore(release): v0.43.0
tests / core (pull_request) Successful in 13s
tests / gui-smoke (pull_request) Successful in 31s
8f4824f576
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jessey scheduled this pull request to auto merge when all checks succeed 2026-05-29 14:59:49 +00:00
jessey merged commit 5996fbdc30 into main 2026-05-29 15:00:00 +00:00
jessey deleted branch feat/gpu-stress-and-drive-health 2026-05-29 15:00:00 +00:00
Sign in to join this conversation.