Tests that failed CI by timing: one asking at a time, and the heap-sync thread #55
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!55
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-55"
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?
@TaynanGT on GitHub · 2026-11-26 19:51 UTC · original
TaynanGT:fix/flaky-tests→main· +27 −2 · 3 files · 2 commits · merged 2026-11-26 20:14 UTCThree tests failed CI by timing:
host::refresh_tests::unchanged_ranges_are_known(on this PR),watch::port7_tests::no_write_is_lost_with_port_7anddescriptor::tests::records_copied_as_bytes_are_made_at_the_next_sync(both seen locally). The xasync and descriptor-grid fixes this PR started with are already on main through #57; a follow-up PR handles the reentrant wait inXAsyncGetStatus.watch::ask_oncekeeps one asking for the whole process. When two tests asked at the same moment, each asking ended the other's, and one test's asking took the write the other was waiting for. The five tests that go through it (unchanged_ranges_are_known,no_write_is_lost_with_port_7,refreshed_ranges_hold_title_memory,landings_title_writes_and_light_refreshes_at_once,frame_of_refreshes) now hold a test-only lock,watch::one_asking_test(). Their assertions are unchanged.victory-heap-syncthread, a sync on that thread can take a page's write and make the record just after the test's ownsync_heaps()returns. The test syncs again for up to 200 ms; a record that is never made still fails.This replaces the child-process isolation of
unchanged_ranges_are_knownfrom the earlier head, since the lock covers the whole family.Checked by running the whole
victory-gpulib suite 15 times per commit on the RTX 4090 PC:6b00db81)no_write_is_lost_with_port_7, 1×records_copied_as_bytes_are_made_at_the_next_sync)🤖 Generated with Claude Code
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 19:52 UTC · original · edited 2026-11-26 20:12 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
80284428028442ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Fix the two tests that failed main's CI by timingto Tests that failed CI by timing: one asking at a time, and the heap-sync thread6b00db8146to802844286b@TaynanGT on GitHub · 2026-11-26 20:05 UTC · original
The failing check in the first run was
host::refresh_tests::unchanged_ranges_are_known. Ate924a7a5, that test passed locally, along with all 15xasynctests. Windows CI also passed the default and diagnostics suites and Clippy on that exact commit.