Skip to content

Paint mo status from fast metrics first#1013

Merged
tw93 merged 2 commits into
tw93:mainfrom
M-Hassan-Raza:feat/status-fast-first-paint
Jun 1, 2026
Merged

Paint mo status from fast metrics first#1013
tw93 merged 2 commits into
tw93:mainfrom
M-Hassan-Raza:feat/status-fast-first-paint

Conversation

@M-Hassan-Raza
Copy link
Copy Markdown
Contributor

mo status now renders from fast CPU, memory, disk, network, and disk I/O collectors immediately, then enriches slower hardware and static metadata on the full refresh path.

This keeps process alerts fresh without making Bluetooth, GPU, hardware, and trash sizing block first paint.

Checks:
go test ./...
go test -race ./cmd/status
make build
./scripts/check.sh --format

@M-Hassan-Raza M-Hassan-Raza requested a review from tw93 as a code owner May 30, 2026 21:23
@tw93 tw93 merged commit ca41416 into tw93:main Jun 1, 2026
9 checks passed
@tw93
Copy link
Copy Markdown
Owner

tw93 commented Jun 1, 2026

@M-Hassan-Raza thank you, this is merged.

I added the missing CollectProcesses() regression coverage before merging, so live TopProcesses and ProcessAlerts stay fresh while the slow enrichment fields can still reuse cache.

@M-Hassan-Raza
Copy link
Copy Markdown
Contributor Author

@M-Hassan-Raza thank you, this is merged.

I added the missing CollectProcesses() regression coverage before merging, so live TopProcesses and ProcessAlerts stay fresh while the slow enrichment fields can still reuse cache.

Lmao i first added that and then intentionally removed to keep the PR bloat free :D Thanks for merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants