watch: add VICTORY_LAND_REST_MS resting window for landed blocks #216

Closed
github-bot wants to merge 1 commit from gh-pr/216/head into gh-pr/216/base
Owner

@⁠Androtim on GitHub · 2026-11-30 07:22 UTC · original
Androtim:feat/iter213-watch-land-rest → main · +57 −1 · 1 files · 1 commits · closed without merging

Summary

  • Add a configurable rest window (VICTORY_LAND_REST_MS, default 50 ms; 0 opts out) in crates/victory-gpu/src/watch.rs for blocks opened by landing().
  • Factor writing() and landing() onto shared helper writing_with_rest(at, len, rest) so landing() keeps existing PROTECTED lock-free skip checks and diagnostics counters while recording (now, kept.max(rest)) in Guards::opened whenever blocks are opened.
  • Add unit tests land_rest_parser_defaults_to_50ms_and_allows_zero_opt_out and landing_marks_opened_blocks_resting.

Verification

  • cargo run -p xtask -- policy (asset policy: 311 files ok)
  • cargo test -p victory-gpu --lib watch:: -- --test-threads=1 (54 passed; 0 failed)
  • cargo test -p victory-gpu --features diagnostics --lib watch:: -- --test-threads=1 (57 passed; 0 failed)
  • cargo clippy --workspace --all-targets -- -D warnings (exit 0)
  • cargo clippy --workspace --all-targets --features diagnostics -- -D warnings (exit 0)
  • Live 75s GPU verification (-PlayParity -AutoNudgeMenu):
    • Series S: median 12.6 fps (79.5 ms, preparing 35.6 ms), 6555 / 6836 MB (over=0 MB), 0 crashes, lit=19/24, luma=104.62, near_black=0.0%, edge_energy=7.1, magenta=0.0%; latest frames visually verified crisp.
    • Series X 1440p: median 10.6 fps (94.6 ms, preparing 38.75 ms), 6607 / 6873 MB (over=0 MB), 0 crashes, lit=18/24, luma=98.27, near_black=7.7%, edge_energy=6.29, magenta=0.0%.
**@⁠Androtim** on GitHub · 2026-11-30 07:22 UTC · [original](https://github.com/Androtim/MiniVI/pull/216) `Androtim:feat/iter213-watch-land-rest` → `main` · +57 −1 · 1 files · 1 commits · closed without merging ## Summary - Add a configurable rest window (`VICTORY_LAND_REST_MS`, default `50` ms; `0` opts out) in `crates/victory-gpu/src/watch.rs` for blocks opened by `landing()`. - Factor `writing()` and `landing()` onto shared helper `writing_with_rest(at, len, rest)` so `landing()` keeps existing `PROTECTED` lock-free skip checks and diagnostics counters while recording `(now, kept.max(rest))` in `Guards::opened` whenever blocks are opened. - Add unit tests `land_rest_parser_defaults_to_50ms_and_allows_zero_opt_out` and `landing_marks_opened_blocks_resting`. ## Verification - `cargo run -p xtask -- policy` (`asset policy: 311 files ok`) - `cargo test -p victory-gpu --lib watch:: -- --test-threads=1` (`54 passed; 0 failed`) - `cargo test -p victory-gpu --features diagnostics --lib watch:: -- --test-threads=1` (`57 passed; 0 failed`) - `cargo clippy --workspace --all-targets -- -D warnings` (exit 0) - `cargo clippy --workspace --all-targets --features diagnostics -- -D warnings` (exit 0) - Live 75s GPU verification (`-PlayParity -AutoNudgeMenu`): - Series S: median `12.6 fps` (`79.5 ms`, `preparing 35.6 ms`), `6555 / 6836 MB` (`over=0 MB`), `0` crashes, `lit=19/24`, `luma=104.62`, `near_black=0.0%`, `edge_energy=7.1`, `magenta=0.0%`; latest frames visually verified crisp. - Series X 1440p: median `10.6 fps` (`94.6 ms`, `preparing 38.75 ms`), `6607 / 6873 MB` (`over=0 MB`), `0` crashes, `lit=18/24`, `luma=98.27`, `near_black=7.7%`, `edge_energy=6.29`, `magenta=0.0%`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:19:18 +00:00
github-bot closed this pull request 2026-12-01 20:19:18 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-11-30 07:33 UTC · original

CI check is failing (FAILURE); marking triage: needs work so it can be fixed before GPU testing.

**@⁠Androtim** on GitHub · 2026-11-30 07:33 UTC · [original](https://github.com/Androtim/MiniVI/pull/216#issuecomment-7271871096) CI check is failing (`FAILURE`); marking `triage: needs work` so it can be fixed before GPU testing.
Author
Owner

@⁠Androtim on GitHub · 2026-11-30 10:02 UTC · original

Automated triage for the maintainers (not an approval).

Verdict: needs-rebase · CI (check): failing

This PR no longer merges cleanly into main.

To change the verdict: Rebase onto current main and resolve conflicts; CI and triage will run again automatically.


Generated with Antigravity CLI (agy).

**@⁠Androtim** on GitHub · 2026-11-30 10:02 UTC · [original](https://github.com/Androtim/MiniVI/pull/216#issuecomment-7275044604) <!-- minivi-triage v1 head=47072cf51de9cf4ec0887a6266175d86862e3a08 verdict=needs-rebase ci=failing at=2026-11-30T10:03:32Z --> Automated triage for the maintainers (not an approval). **Verdict:** `needs-rebase` · **CI (`check`):** `failing` This PR no longer merges cleanly into `main`. **To change the verdict:** Rebase onto current `main` and resolve conflicts; CI and triage will run again automatically. --- _Generated with Antigravity CLI (`agy`)._
Author
Owner

@⁠Androtim on GitHub · 2026-12-01 01:38 UTC · original

Closing conflicting opt-in VICTORY_* toggle PR per #276 policy (replace flawed base paths with default-on replacements rather than stacking opt-in toggles).

**@⁠Androtim** on GitHub · 2026-12-01 01:38 UTC · [original](https://github.com/Androtim/MiniVI/pull/216#issuecomment-7297728423) Closing conflicting opt-in VICTORY_* toggle PR per #276 policy (replace flawed base paths with default-on replacements rather than stacking opt-in toggles).

Pull request closed

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/Androtim--MiniVI!216
No description provided.