Relay: a wait for landings with nothing left to land gives up and is counted, no longer waits forever #1591

Manually merged
github merged 4 commits from github-bot/gh-1591 into main 2026-11-29 08:21:23 +00:00 AGit
Owner

@⁠101Leafy on GitHub · 2026-11-28 22:04 UTC · original
101Leafy:nv/relay-idle-wait → main · +36 −17 · 10 files · 4 commits · merged 2026-11-29 08:16 UTC

What it changes

relay_wait waits on LINE_LANDED until its condition is met. When the line is empty and not settling, no landing is left that could wake it, so a condition still unmet then (a range still pending that no flight in the line holds) waits forever and the title hangs.

The loop now gives up in that case. The one caller this reaches already retries three times and then falls back to its own settle. The first time it happens a warning names the reason, and the late-line report gives how many waits were given up since the start.

How it was tested

  • Tested on: RTX 5080 16 GB on Windows 10. Built with cargo check and clippy only, not run in a game yet.
  • Before: a wait with nothing left to land never returns.
  • After: it returns, is counted, and the caller settles.
  • For shader changes, the wave sizes tested: not a shader change.
  • cargo test passed for the crates it touches: cargo check and clippy.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none.
**@⁠101Leafy** on GitHub · 2026-11-28 22:04 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1591) `101Leafy:nv/relay-idle-wait` → `main` · +36 −17 · 10 files · 4 commits · merged 2026-11-29 08:16 UTC ## What it changes `relay_wait` waits on `LINE_LANDED` until its condition is met. When the line is empty and not settling, no landing is left that could wake it, so a condition still unmet then (a range still pending that no flight in the line holds) waits forever and the title hangs. The loop now gives up in that case. The one caller this reaches already retries three times and then falls back to its own settle. The first time it happens a warning names the reason, and the late-line report gives how many waits were given up since the start. ## How it was tested - Tested on: RTX 5080 16 GB on Windows 10. Built with `cargo check` and clippy only, not run in a game yet. - Before: a wait with nothing left to land never returns. - After: it returns, is counted, and the caller settles. - For shader changes, the wave sizes tested: not a shader change. - `cargo test` passed for the crates it touches: `cargo check` and clippy. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 22:06:49 +00:00
github-bot force-pushed github-bot/gh-1591 from 01c07350a8 to afe65856b5 2026-11-29 01:46:29 +00:00 Compare
github manually merged commit e581bdb6ab into main 2026-11-29 08:21:23 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1591
No description provided.