host tests: the two refresh tests that begin or end the asking hold one_view_test #5028
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!5028
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-5027"
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?
@Tan7rex on GitHub · 2026-12-01 17:46 UTC · original
Tan7rex:tests/asking-lock-host→main· +6 −0 · 1 files · 1 commits · openWhat it changes
watch::ask_holds::asking_kept_fast_path_guards_ask_ahead_and_donefails now and then in a parallel run ofvictory-gpu's tests:That's the check straight after its own
ask_once. The asking that stands is global, and the test holdswatch::one_view_test(), the lock the tests that look at it hold. Two tests inhost::refresh_testschange it without that lock:unchanged_ranges_are_knowncallsask_onceandask_once_enditselfrefreshed_ranges_hold_title_memoryends it through thesubmissionhelperWhen either ends the asking between the other test's
ask_onceandis_kept(), that check fails. Both now takeone_view_test()first, beforeone_submission(), in the same order the refresh tests that already hold both use. No test takes them the other way round. Test-only.#4620 does the same for the two tests in
watch.rsthat end the asking unlocked. With both, I found no other test that begins or ends the asking without the lock. I checked everyask_once,ask_aheadandask_once_endcall in a test that isn't#[ignore]d.How it was tested
Windows 11 Pro (build 26100), RTX 4090. Release test binary of
victory-gpu --lib(cargo test --release --locked --no-run -p victory-gpu --lib), default parallel threads. Game not run: test-only change.main5fabb46e):--exactwith the three names: 27 of 1,300 runs failedcargo testpassed for the crates it touches: the three tests, yes. The whole library still has unrelated failures in these runs, onmainand on this branch:host_list_uav_pool_lifecycle_retire_trim_and_info_queue(#3902),shared_scratch_eliminates_flight_settle_end_to_end(#4981), and rarelya_late_fault_leaves_the_guard_taken_since(#4705),a_pipeline_made_ready_is_the_one_the_title_getsanda_rewritten_texture_descriptor_survives_a_stale_eviction.chunked_nothing_new_with_matches_individualfailed once in the 30 runs on this branch, and in none of a further 60 on it or 260 onmain.host::refresh_tests::), 300 runs: no failure onmainor on this branch.cargo xtask policy(pre-commit hook): ok. Clippy fails onmain's 5 known errors (#4680, #4708), none inhost.rs.Checked for overlap
watch.rstests). 323 open pull requests touchhost.rs; searching them for these three test names found #4492, #4295 and #1556, none of which changes these tests.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.