Skip to content

test: allow for a slow runner in the cpu check - #111

Merged
altrdev merged 1 commit into
mainfrom
test/cpu-check-slow-runner
Dec 3, 2026
Merged

altrdev merged 1 commit into
mainfrom
test/cpu-check-slow-runner

Conversation

@altrdev

@altrdev altrdev commented Dec 3, 2026

Copy link
Copy Markdown
Owner

cpu_really_uses_the_cpu failed once on the macOS runner of CI (run for `38bc9f8`): the worker spent 0.93 s of CPU in two seconds and the check asked for a full second. The same code passed on the pull request and on the next two pushes, on macOS and Linux.

The check now asks for half a second. That still tells a busy worker from a sleeping one, which spends close to nothing, and leaves room for a shared runner that does not give the whole core.

No change for users, so no changelog entry.

🤖 Generated with Claude Code

The worker spent 0.93 s of CPU in two seconds on a shared macOS runner
and the check asked for a full second. Half a second still tells a busy
worker from a sleeping one.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@altrdev
altrdev merged commit 520d398 into main Dec 3, 2026
4 checks passed
@altrdev
altrdev deleted the test/cpu-check-slow-runner branch December 3, 2026 07:57
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