Say whether submissions were still in the air when the device went #451
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
old-names
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!451
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Kal0s-design on GitHub · 2026-11-29 17:28 UTC · original
Kal0s-design:fix/removal-context-flights→main· +60049 −5438 · 206 files · 661 commits · closed without mergingRefs #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.@TaynanGT on GitHub · 2026-11-29 19:09 UTC · original
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.
@TaynanGT on GitHub · 2026-11-30 17:06 UTC · original
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