Skip to content

fix(cputemp): avoid startup warning during driver install - #59

Merged
markmybytes merged 1 commit into
mainfrom
fix/cpu-temp-init-race
Sep 4, 2026
Merged

fix(cputemp): avoid startup warning during driver install#59
markmybytes merged 1 commit into
mainfrom
fix/cpu-temp-init-race

Conversation

@markmybytes

@markmybytes markmybytes commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • keep PawnIO initialization asynchronous without showing a false unavailable warning
  • return CPU setup status and temperature in one Wails call
  • retry silently while initialization is pending; report only real failures

Validation\n- go test ./pkg/...

  • frontend npm test -- --run
  • frontend npm run lint
  • frontend type-check remains blocked by existing missing semver declaration in src/utils/index.ts

Keep PawnIO setup asynchronous while exposing initialization state with the temperature result, so the frontend can retry without showing a false unavailable warning.
@markmybytes
markmybytes force-pushed the fix/cpu-temp-init-race branch from 90b914a to 74d4203 Compare September 4, 2026 07:37
@markmybytes
markmybytes merged commit 9854c02 into main Sep 4, 2026
2 checks passed
@markmybytes
markmybytes deleted the fix/cpu-temp-init-race branch September 4, 2026 07:45
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.

1 participant