Skip to content

Timeout for analytics#301

Open
theFong wants to merge 2 commits intomainfrom
chore/record-opt-in-metric
Open

Timeout for analytics#301
theFong wants to merge 2 commits intomainfrom
chore/record-opt-in-metric

Conversation

@theFong
Copy link
Member

@theFong theFong commented Feb 28, 2026

No description provided.

@theFong theFong requested a review from a team as a code owner February 28, 2026 02:02
nvidia-smi and system_profiler can be slow. Wrap getGPUInfo in a
goroutine with a 100ms deadline so it never blocks CLI responsiveness.
The ps commands on macOS can be slow under load, so wrap
getParentProcessInfo in the same 100ms timeout used for GPU info.
@theFong theFong force-pushed the chore/record-opt-in-metric branch from dec76c1 to 7d0cbf6 Compare February 28, 2026 02:06
@theFong theFong changed the title Chore/record opt in metric Timeout for analytics Feb 28, 2026
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