Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Run T3 Code desktop on Fedora Linux (reproduced on 0.1.5 AppImage).
- Open Settings → Maintenance → Diagnostics.
- Leave the resource monitor sampling.
The host has live sysfs data:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq=cpuinfo_max_freq(100% advertised cap)/sys/class/thermal/thermal_zone7(x86_pkg_temp) around 51°C- AC power, unlocked session, native monitor HEALTHY
Expected behavior
CPU SPEED LIMIT shows the OS advertised cap as a percent (100 when scaling_max_freq == cpuinfo_max_freq). Thermal shows a real state (nominal / fair / serious / critical) derived from thermal-zone temps and trip points. Background policy can then treat serious/critical as thermal pressure.
Actual behavior
Those tiles stay Unknown / unknown thermal state. Host state Thermal and Low power mode are also unknown. Power source, idle, lock, CPU %, memory, and I/O populate normally.
DesktopTelemetryPublisher seeds thermalState from electron.powerMonitor.getCurrentThermalState() and speedLimitPercent from speed-limit-change. Electron documents both as macOS (speed-limit also Windows). On Linux, thermal is always "unknown" and the speed-limit event never fires, so speedLimitPercent stays none(). The native sidecar already reads cpufreq/scaling_cur_freq for current frequency; it does not feed these two fields.
Impact
Minor bug or occasional failure
Thermal-aware background sampling never engages on Linux. The Diagnostics tiles are also blank even when sysfs has the values.
Version or commit
T3 Code 0.1.5 desktop AppImage (desktop-last-started-version). Same gap is in current main (DesktopTelemetryPublisher.ts initializes speedLimitPercent: Option.none() and only fills it from Electron).
Environment
Fedora Linux, T3 Code desktop 0.1.5, Intel Core i5-6300U, intel_pstate active, Node from the AppImage.
Logs or stack traces
electron.powerMonitor.getCurrentThermalState() → "unknown" # macOS-only API
electron.powerMonitor 'speed-limit-change' never emits # macOS/Windows API
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq=3000000
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq=3000000
/sys/class/thermal/thermal_zone7/type=x86_pkg_temp
/sys/class/thermal/thermal_zone7/temp=51000
Workaround
Ignore those two tiles on Linux. Current CPU, memory, and I/O still come from t3-resource-monitor.
Activity
fix(desktop): sample Linux host power through Effect FileSystem
fix(desktop): use Effect.fn and HostProcess for Linux power sampling