• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jyablonski / goarctis / 27075193933
60%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2026 10:08PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jun 2026 10:07PM UTC coverage: 59.335% (+3.4%) from 55.907%
27075193933

push

github

web-flow
feat(system): add gpu and temperature monitoring (#10)

## Description

Adds CPU/GPU temperature monitoring (hwmon + NVIDIA NVML) to the system
tray, plus an opt-in, NVIDIA-only GPU thermal guard that reduces a
card's power limit when it runs hot and restores the default as it
cools.

## Added

- `pkg/system/hwmon.go`, `thermal.go`, `nvidia.go`: hwmon temperature
sampling and NVML GPU stats (temp, util, VRAM, power, fan, clocks,
p-state, processes), merged into the system state.
- `pkg/system/governor.go`: opt-in GPU thermal guard with hysteresis
(clamp at 85°C to 80% of default, restore at 75°C, bounded by min/max),
enabled via `--gpu-thermal-guard` (needs root); session-only and
reverted on exit.
- Tray rows and title indicators for temperatures and GPU details.
- Unit tests for hwmon, NVML, thermal merge, and the governor state
machine.

## Updated

- `pkg/system/{monitor,proc}.go`, `cmd/goarctis/main.go`: thread the
guard config through and restore clamps on shutdown via an `io.Closer`
chain.
- `README.md`, `docs/how_it_works.md`, `docs/gpu_thermal_guard.md`:
document the feature, the flag, and the root requirement.

487 of 671 new or added lines in 7 files covered. (72.58%)

3 existing lines in 2 files now uncovered.

1875 of 3160 relevant lines covered (59.34%)

0.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
45
75.0
pkg/system/nvidia.go
39
53.64
2.25% pkg/ui/tray.go
27
82.8
pkg/system/hwmon.go
25
81.87
-10.99% pkg/system/monitor.go
22
77.08
pkg/system/governor.go
15
69.01
-5.58% pkg/system/proc.go
11
75.56
pkg/system/thermal.go

Coverage Regressions

Lines Coverage ∆ File
2
92.8
-1.6% pkg/docker/monitor.go
1
69.01
-5.58% pkg/system/proc.go
Jobs
ID Job ID Ran Files Coverage
1 27075193933.1 06 Jun 2026 10:08PM UTC 16
59.34
GitHub Action Run
Source Files on build 27075193933
  • Tree
  • List 16
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bccadd92 on github
  • Prev Build on main (#26704128840)
  • Next Build on main (#27103532964)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc