Small steps to make the PR queue easier to manage #4152

Open
opened 2026-11-30 16:51:55 +00:00 by github-bot · 5 comments
Owner

@⁠iBooM72 on GitHub · 2026-11-30 16:50 UTC · original

What you would like

Thanks for adopting the ideas in #1528. Here are some next steps to make the PR queue easier to manage. Take any or none. Figures are from 2026-11-30 and change quickly.

Settings and fixes

  1. Get CI passing on main, and keep it passing. When I opened this issue, the last 20 pushes had failed at Clippy, so the tests and asset policy check never ran. main (e1251c31) still fails there. These three open PRs fix the failures listed below, and merge together cleanly:

    • #4297 (4b9b8612) fixes the Clippy errors and two outdated victory-gpu tests. In its CI run, both Clippy steps pass, but one victory-shader test fails, and Cargo stops there.
    • #4321 (8c98ca40) fixes that victory-shader test. #4328 is another fix for it, and only one is needed. A contributor tested both on an RTX 3060: the test passes with either, and they prefer #4321.
    • #4224 (5efff6f2) fixes the asset policy failure in native.rs.

    I merged all three into main locally, and all 7 xtask tests pass, including the asset policy test, which fails on main. I haven't run the full Clippy or test suite on that merge, and I found no CI run of it, so more failures could appear. Two other tests pass in #4297's CI run but have failed elsewhere: shared_scratch_eliminates_flight_settle_end_to_end in #4166's CI run (b8ecde82), and a_read_by_range_waits_only_for_a_remapping_that_meets_it on #4297's author's PC. I haven't checked why. #4166, #3902 and #2048 overlap and conflict with #4297.

    On 328 of the 715 open PRs, the only check was label, so their green tick doesn't mean the build passed. Of the 317 PRs without conflicts, 199 had no CI result and 6 had passed. Some may be waiting for approval to run. Please review any workflow or build script changes before approving runs.

  2. Consider GitHub's limit on open PRs per person, if it's available here: Settings > Moderation options > Interaction limits. For example, allow 3, count drafts, and exempt people with enough merged PRs. 43 people have more than 3 open, adding up to 196 PRs over that limit. Exempting anyone with a merged PR would leave only 52 of those covered; requiring 10 merged PRs would leave 140. GitHub describes this as blocking new PRs, so it wouldn't clear the current queue.

  3. Merge #2203. Four of the five issue forms aren't valid YAML, so bugs are being reported through the feature form. Once the forms work, needs-logs could skip feature requests and test reports.

  4. Label PRs that conflict with main. 398 did, but none had the needs-rebase label. Ondra97 has now moved this workflow from #2904 into #4204, a small separate PR. I haven't tested it. You could then filter out conflicting PRs without closing any automatically.

Docs: one small PR each, so you can take them separately

  1. Restore README text that two merges dropped: the label guide from 77df871e (dropped in 641701d3, PR #1544) and the /claim note from d4599073 (dropped in ee9a21a6, PR #1571). Both merges kept the README main already had. I found no commit that says either was removed on purpose. PR: #4154
  2. Add PR and issue rules for coding agents to AGENTS.md: search first, and test an existing PR instead of duplicating it. Start each branch from the latest main, keep the template (gh pr create --body skips it), never make up results, and get the user's approval before posting. PR: #4155
  3. Add a short CONTRIBUTING.md with the same basics for people. #1051, #1053, #1932 and #2904 each add one too. This one conflicts with #2904's, which focuses on review evidence; the two could be combined. PR: #4156

I'm not suggesting closing PRs automatically, and the merge queue can still wait.

Related: #3960, which suggests release channels, more labels and different bot replies for each issue type.

Written with AI assistance (Claude Code).

Are you working on a fix?

Yes, I'm on it

**@⁠iBooM72** on GitHub · 2026-11-30 16:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4152) ### What you would like Thanks for adopting the ideas in #1528. Here are some next steps to make the PR queue easier to manage. Take any or none. Figures are from 2026-11-30 and change quickly. **Settings and fixes** 1. **Get CI passing on `main`, and keep it passing.** When I opened this issue, the last 20 pushes had failed at Clippy, so the tests and asset policy check never ran. `main` (`e1251c31`) still fails there. These three open PRs fix the failures listed below, and merge together cleanly: - #4297 (`4b9b8612`) fixes the Clippy errors and two outdated `victory-gpu` tests. In its CI run, both Clippy steps pass, but one `victory-shader` test fails, and Cargo stops there. - #4321 (`8c98ca40`) fixes that `victory-shader` test. #4328 is another fix for it, and only one is needed. A contributor tested both on an RTX 3060: the test passes with either, and they prefer #4321. - #4224 (`5efff6f2`) fixes the asset policy failure in `native.rs`. I merged all three into `main` locally, and all 7 `xtask` tests pass, including the asset policy test, which fails on `main`. I haven't run the full Clippy or test suite on that merge, and I found no CI run of it, so more failures could appear. Two other tests pass in #4297's CI run but have failed elsewhere: `shared_scratch_eliminates_flight_settle_end_to_end` in #4166's CI run (`b8ecde82`), and `a_read_by_range_waits_only_for_a_remapping_that_meets_it` on #4297's author's PC. I haven't checked why. #4166, #3902 and #2048 overlap and conflict with #4297. On 328 of the 715 open PRs, the only check was `label`, so their green tick doesn't mean the build passed. Of the 317 PRs without conflicts, 199 had no CI result and 6 had passed. Some may be waiting for approval to run. Please review any workflow or build script changes before approving runs. 2. **Consider GitHub's [limit on open PRs per person](https://github.blog/changelog/2026-06-17-limit-open-pull-requests-for-users-without-write-access/)**, if it's available here: Settings > Moderation options > Interaction limits. For example, allow 3, count drafts, and exempt people with enough merged PRs. 43 people have more than 3 open, adding up to 196 PRs over that limit. Exempting anyone with a merged PR would leave only 52 of those covered; requiring 10 merged PRs would leave 140. GitHub describes this as blocking new PRs, so it wouldn't clear the current queue. 3. **Merge #2203.** Four of the five issue forms aren't valid YAML, so bugs are being reported through the feature form. Once the forms work, `needs-logs` could skip feature requests and test reports. 4. **Label PRs that conflict with `main`.** 398 did, but none had the `needs-rebase` label. Ondra97 has now moved this workflow from #2904 into #4204, a small separate PR. I haven't tested it. You could then filter out conflicting PRs without closing any automatically. **Docs: one small PR each, so you can take them separately** 5. **Restore README text that two merges dropped:** the label guide from 77df871e (dropped in 641701d3, PR #1544) and the `/claim` note from d4599073 (dropped in ee9a21a6, PR #1571). Both merges kept the README `main` already had. I found no commit that says either was removed on purpose. PR: #4154 6. **Add PR and issue rules for coding agents to `AGENTS.md`:** search first, and test an existing PR instead of duplicating it. Start each branch from the latest `main`, keep the template (`gh pr create --body` skips it), never make up results, and get the user's approval before posting. PR: #4155 7. **Add a short `CONTRIBUTING.md`** with the same basics for people. #1051, #1053, #1932 and #2904 each add one too. This one conflicts with #2904's, which focuses on review evidence; the two could be combined. PR: #4156 I'm not suggesting closing PRs automatically, and the merge queue can still wait. Related: #3960, which suggests release channels, more labels and different bot replies for each issue type. Written with AI assistance (Claude Code). ### Are you working on a fix? Yes, I'm on it
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 16:51:55 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-30 16:50 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-30 16:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4152#issuecomment-7285306150) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠Ondra97 on GitHub · 2026-11-30 17:31 UTC · original

Thanks for the suggestion. I split the needs-rebase automation into #4204. That PR contains rebase-label.yml and the corresponding title-labels.yml change. I removed both workflow changes from #2904 and linked #4204 in its description.

**@⁠Ondra97** on GitHub · 2026-11-30 17:31 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4152#issuecomment-7286448807) Thanks for the suggestion. I split the `needs-rebase` automation into #4204. That PR contains `rebase-label.yml` and the corresponding `title-labels.yml` change. I removed both workflow changes from #2904 and linked #4204 in its description.
Author
Owner

@⁠upipibi on GitHub · 2026-12-01 04:02 UTC · original

One more for the queue, possibly the biggest single one: 130 open pull requests show as conflicting only because they branch from a release that isn't on main.

What happens. v2026.11.30.02 (84bd61e2) and v2026.11.30.03 (e1251c31) were cut on a line of their own, which main never merged. Its 12 commits are copies of commits that are on main. git cherry -v origin/main v2026.11.30.03 marks all 12 with -, so each has a patch-equal commit there. A contributor who branches from the newest release gets a pull request that carries those 12 copies. GitHub then shows a few dozen unrelated files, and usually a conflict. #4568 is one: its change is to opt.rs alone, but it shows 33 files (nick0451 pointed this out there).

How many. I fetched every open pull request's head and checked them against main 5fabb46e:

  • 178 branch from one of the two releases (95 from .02, 83 from .03), and GitHub marks 167 of them as conflicting.
  • With the release line merged into main as described below, 130 of those 167 merge cleanly (git merge-tree). The other 37 conflict on their own changes.

A fix that leaves main's files as they are:

git cherry -v main v2026.11.30.03       # every line should start with "-"
git merge -s ours v2026.11.30.03 -m "Record the v2026.11.30.02/.03 release line (its commits are on main already)"
git diff HEAD~1 --stat                  # empty: no file changes

-s ours records the release as merged and keeps main's tree. That is right here only because git cherry shows nothing on the release line missing from main. For a later release that carries a fix of its own, merge it normally instead. I tried this on a local copy: the tree is identical to main's, and the 130 pull requests merge cleanly against it.

After that, or instead:

  • Cutting releases from main would stop this from building up again. Otherwise, merge each release back the same way.
  • An author can fix one pull request with git rebase --onto origin/main v2026.11.30.03 (or .02), then a force push.
  • #4204's needs-rebase label would currently tag all 130 as needing a rebase.
The 130 pull request numbers that merge cleanly once the release line is on main
2240 2482 2809 2824 2851 2859 2886 2910 3011 3043 3128 3258 3268 3347 3351 3402 3411 3426 3440 3565 3686 3701 3702 3703 3739 3787 3788 3858 4001 4068 4146 4148 4153 4154 4161 4177 4178 4179 4189 4191 4199 4200 4201 4202 4203 4206 4210 4218 4219 4225 4226 4227 4228 4229 4232 4233 4237 4247 4255 4256 4265 4271 4272 4274 4275 4278 4282 4285 4288 4294 4319 4327 4330 4332 4334 4337 4338 4340 4341 4348 4352 4376 4377 4393 4394 4396 4409 4418 4419 4422 4433 4444 4450 4453 4454 4455 4456 4457 4458 4461 4465 4468 4478 4483 4488 4489 4491 4496 4499 4500 4501 4506 4511 4514 4518 4521 4532 4535 4538 4540 4545 4548 4558 4567 4571 4573 4576 4589 4610 4682

Checked with the help of Claude Code (Claude Opus 5.5).

**@⁠upipibi** on GitHub · 2026-12-01 04:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4152#issuecomment-7300325253) One more for the queue, possibly the biggest single one: **130 open pull requests show as conflicting only because they branch from a release that isn't on `main`.** **What happens.** v2026.11.30.02 (`84bd61e2`) and v2026.11.30.03 (`e1251c31`) were cut on a line of their own, which `main` never merged. Its 12 commits are copies of commits that are on `main`. `git cherry -v origin/main v2026.11.30.03` marks all 12 with `-`, so each has a patch-equal commit there. A contributor who branches from the newest release gets a pull request that carries those 12 copies. GitHub then shows a few dozen unrelated files, and usually a conflict. #4568 is one: its change is to `opt.rs` alone, but it shows 33 files (nick0451 pointed this out there). **How many.** I fetched every open pull request's head and checked them against `main` 5fabb46e: - 178 branch from one of the two releases (95 from `.02`, 83 from `.03`), and GitHub marks 167 of them as conflicting. - With the release line merged into `main` as described below, 130 of those 167 merge cleanly (`git merge-tree`). The other 37 conflict on their own changes. **A fix that leaves `main`'s files as they are:** ```sh git cherry -v main v2026.11.30.03 # every line should start with "-" git merge -s ours v2026.11.30.03 -m "Record the v2026.11.30.02/.03 release line (its commits are on main already)" git diff HEAD~1 --stat # empty: no file changes ``` `-s ours` records the release as merged and keeps `main`'s tree. That is right here only because `git cherry` shows nothing on the release line missing from `main`. For a later release that carries a fix of its own, merge it normally instead. I tried this on a local copy: the tree is identical to `main`'s, and the 130 pull requests merge cleanly against it. **After that, or instead:** - Cutting releases from `main` would stop this from building up again. Otherwise, merge each release back the same way. - An author can fix one pull request with `git rebase --onto origin/main v2026.11.30.03` (or `.02`), then a force push. - #4204's needs-rebase label would currently tag all 130 as needing a rebase. <details><summary>The 130 pull request numbers that merge cleanly once the release line is on main</summary> ``` 2240 2482 2809 2824 2851 2859 2886 2910 3011 3043 3128 3258 3268 3347 3351 3402 3411 3426 3440 3565 3686 3701 3702 3703 3739 3787 3788 3858 4001 4068 4146 4148 4153 4154 4161 4177 4178 4179 4189 4191 4199 4200 4201 4202 4203 4206 4210 4218 4219 4225 4226 4227 4228 4229 4232 4233 4237 4247 4255 4256 4265 4271 4272 4274 4275 4278 4282 4285 4288 4294 4319 4327 4330 4332 4334 4337 4338 4340 4341 4348 4352 4376 4377 4393 4394 4396 4409 4418 4419 4422 4433 4444 4450 4453 4454 4455 4456 4457 4458 4461 4465 4468 4478 4483 4488 4489 4491 4496 4499 4500 4501 4506 4511 4514 4518 4521 4532 4535 4538 4540 4545 4548 4558 4567 4571 4573 4576 4589 4610 4682 ``` </details> *Checked with the help of Claude Code (Claude Opus 5.5).*
Author
Owner

@⁠Ondra97 on GitHub · 2026-12-01 04:37 UTC · original · edited 2026-12-01 04:39 UTC

Two updates on CI and the PR queue:

  • #2904 ran both Windows builds, both Clippy configurations, and all three targeted WARP and replay-format tests successfully. The workspace suite still failed on the intermittent XMem test tracked in #2439. CI run
  • #4612 adds a maintainer report that shows which PRs need CI approval, conflict resolution, GPU evidence, or review. All 22 fixture tests passed, and a read-only preview covered 869 open PRs targeting main. The branch needs to be refreshed against the current main. Fixture run

I’d appreciate review of the CI changes in #2904 and the queue report in #4612. Please flag any changes needed before either PR is ready to merge, especially around test coverage and how the report groups pending actions.

**@⁠Ondra97** on GitHub · 2026-12-01 04:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4152#issuecomment-7300921246) · edited 2026-12-01 04:39 UTC Two updates on CI and the PR queue: - #2904 ran both Windows builds, both Clippy configurations, and all three targeted WARP and replay-format tests successfully. The workspace suite still failed on the intermittent XMem test tracked in #2439. [CI run](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46543758695) - #4612 adds a maintainer report that shows which PRs need CI approval, conflict resolution, GPU evidence, or review. All 22 fixture tests passed, and a read-only preview covered 869 open PRs targeting `main`. The branch needs to be refreshed against the current `main`. [Fixture run](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46539645420) I’d appreciate review of the CI changes in #2904 and the queue report in #4612. Please flag any changes needed before either PR is ready to merge, especially around test coverage and how the report groups pending actions.
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-12-01 06:11 UTC · original

@⁠freyandere your comment was removed: we can't help with where to get the game, a dump or any of its files, and it can't be discussed here at all: if this repository is used for that, GitHub can take it down for everyone. Please don't ask for or post links, torrents or sources here.

**@⁠github-actions[bot]** on GitHub · 2026-12-01 06:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4152#issuecomment-7302593945) @⁠freyandere your comment was removed: we can't help with where to get the game, a dump or any of its files, and it can't be discussed here at all: if this repository is used for that, GitHub can take it down for everyone. Please don't ask for or post links, torrents or sources here.
This discussion has been locked. Commenting is limited to contributors.
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#4152
No description provided.