Tests that failed CI by timing: one asking at a time, and the heap-sync thread #55
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-26T19:51:54Z.
Three 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
Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-26T19:52:05Z.
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.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-26T20:05:50Z.
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.