hle: only a changed condition-variable word is a wake; loosen probe_s… #64
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!64
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-64"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@AnastasisKon on GitHub · 2026-11-26 12:13 UTC · original
AnastasisKon:vibe/flaky-probe-waits-63fece→main· +102 −19 · 3 files · 2 commits · merged 2026-11-26 17:08 UTC…ync's scheduling bounds
The native_probe waits test failed about 1 run in 3 on a busy machine. Two timing-based causes, fixed the way the frame.rs tests were:
Unit tests cover both: a word-less wake must still end as a time-out, and a real WakeConditionVariable ends the wait at once.
Closes #20
What this changes
How it was tested
cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victorycargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warningsChecklist
VICTORY_*variable and documented@LakshanSivakumar on GitHub · 2026-11-26 12:48 UTC · original · requested changes
Thanks, the lost-wakeup analysis checks out and both new tests fail on the old code. Small things:
wait_on_addressreturns true on EFAULT-type errors without waiting, so a finite wait would spin hot until its deadline. Please add a backoff or ashortcut:comment.@LakshanSivakumar on GitHub · 2026-11-26 13:26 UTC · original · requested changes
Thanks for addressing the code comment on
INFINITEwaits and adding the 100 us backoff in841b1f4. Two items from the earlier review are still open before this can merge:INFINITE(u32::MAX) waits returning on any wake.AGENTS.md.@LakshanSivakumar on GitHub · 2026-11-26 14:55 UTC · original · requested changes
Thanks, the EFAULT backoff is in. Two description items remain: say in the PR text that INFINITE waits return on any wake (the code comment already does), and fill in "What this changes", the testing section and the checklist, including how many times you ran native_probe, since this removes the "known flaky" line from AGENTS.md.
fb500b6a8btoa531a99175@LakshanSivakumar on GitHub · 2026-11-26 16:04 UTC · original · requested changes
The EFAULT backoff is in. Still open: the testing section and checklist in the description are unfilled. Please say how many times you ran native_probe, since this removes the known-flaky line from AGENTS.md, and note in the text that INFINITE waits return on any wake. The main CI check also failed on this PR; please look at it.
@LakshanSivakumar on GitHub · 2026-11-26 16:04 UTC · original
Correction to my review: I wrote that the main CI check failed on this PR, which I had not verified for this branch. Please disregard that sentence; the open points are the description items only.
@LakshanSivakumar on GitHub · 2026-11-26 17:08 UTC · original
Merged in
8c47ddd.native_probepasses here. Next time please fill in the testing section of the description. Thanks!