Say whether submissions were still in the air when the device went #451
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/451"
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 Kal0s-design on 2026-11-29T17:28:59Z.
Refs #448. Diagnostics only.
When the host device is lost,
removal_contextreports the submitting thread's phase. For phases 0, 1 and 3 it always added "(nothing of ours was running on the card)". With submissions sent ahead (VICTORY_RELAY), though, the submitting thread can be preparing the next submission while earlier ones are still on the card. The same line's "submissions started X finished Y" can show that, but the wording says the opposite. In #448 every run ended with "preparing a submission (nothing of ours was running on the card) … 4.8–5.3 s", which reads as an idle card stalled on the CPU side.Now the phase text comes from
submitting_phase(phase, started - finished):FINISHEDis the last submission seen finished, so these may have finished without being looked at yet, and the text doesn't claim more than that.A new unit test
the_removal_phase_names_submissions_still_on_the_cardcovers it.cargo test -p victory-gpu --libpasses (528), clippy is clean with and without--all-features, andcargo xtask policyis ok.AI-assisted: yes
🤖 Generated with Claude Code
Update (
4f507d5): the wording is now "started and not yet seen finished":STARTEDis counted when a submission's preparation begins, so the one being prepared is included, and "sent" claimed more than the counter holds. Pointed out in review of the same change on a sibling tree.Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T19:09:15Z.
Thanks for fixing the diagnostic wording. Started minus finished is the number not yet observed complete, not proof that those lists are still executing. The proposed text and focused test preserve that distinction without changing submission behavior.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:06:07Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed