fix(test): a grandchild need not win a whole core #71

Merged
mi merged 1 commits from cpu-test-threshold into main 2026-09-15 18:38:28 +02:00
Owner

Scenario#67.01 asserted the measured processor time in whole seconds, so
it demanded a full core for a full second. On mih09, building at the same
time, the busy loop gets a fraction of one — a correct measurement that
truncates to zero, and it turned main red after PR#70.

Milliseconds with a 300 ms threshold: still two orders of magnitude above
what the waiting root shell itself costs, so the proof that the descent
into the tree works is unchanged. PR#68 made the same correction to the
sibling scenario and left this one behind.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com

Scenario#67.01 asserted the measured processor time in whole seconds, so it demanded a full core for a full second. On mih09, building at the same time, the busy loop gets a fraction of one — a correct measurement that truncates to zero, and it turned main red after PR#70. Milliseconds with a 300 ms threshold: still two orders of magnitude above what the waiting root shell itself costs, so the proof that the descent into the tree works is unchanged. PR#68 made the same correction to the sibling scenario and left this one behind. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
mi added 1 commit 2026-09-15 18:38:23 +02:00
Scenario#67.01 asserted the measured processor time in whole seconds, so
it demanded a full core for a full second. On mih09, building at the same
time, the busy loop gets a fraction of one — a correct measurement that
truncates to zero, and it turned main red after PR#70.

Milliseconds with a 300 ms threshold: still two orders of magnitude above
what the waiting root shell itself costs, so the proof that the descent
into the tree works is unchanged. PR#68 made the same correction to the
sibling scenario and left this one behind.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
mi merged commit 1e4181b59e into main 2026-09-15 18:38:28 +02:00
mi deleted branch cpu-test-threshold 2026-09-15 18:38:28 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mi/werkator#71