[enhancement][documentation] Small conventions to reduce duplicate and conflicting PRs #1528

Closed
opened 2026-11-28 21:19:13 +00:00 by github-bot · 3 comments
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-28 21:17 UTC · original

Thanks for the pace you keep up. This is a small proposal, ranked by value over effort. Take any, none, or a variant. Nothing here changes how you review and merge.

What we see today. There are about 430 open PRs. Some fixes arrive twice in parallel: for example the closed issue #1383 has two open PRs doing the same thing (#1390 and #1391), and #1504 supersedes the closed PR #1296. Few PRs say Fixes #N (about 19 of the 300 newest, by a rough text match). Many touch the same files: the triage map in #1138 counts about 90 of 432 open PRs touching crates/victory-gpu/src/host.rs, so each merge batch conflicts with many of them. #1138 already helps contributors spot duplicates after the fact; the ideas below aim at catching them before the work starts. There is no CONTRIBUTING.md, issue template or PR template, and no way to say "I am on this".

Proposals, most value for least effort first

  1. PR template (.github/pull_request_template.md): Fixes #, GPU and profile tested, before/after, "I searched open PRs for the same issue and files: #...", and for shader changes "wave sizes tested (32/64)". The README already asks for most of this; a template puts it in the PR box (GitHub docs). The wave line targets the 32-lane regression class (#1435, #1475, #1516, #1484).
  2. A "check before you start" sentence in the README: search open PRs (and #1138) for the issue number and the files you plan to touch, and comment on the issue first. Opening a draft PR early is a good signal, since drafts cannot be merged and do not request review (GitHub docs). Free, and it stops most parallel work.
  3. A claim convention. Comment /claim (or "I'm on this") on the issue. Optionally a ~20-line Action assigns the commenter and adds an in-progress label, as Apache DataFusion does with a take comment (apache/datafusion-python, .github/workflows/take.yml); GitHub allows assigning anyone who commented (docs). Rust does the same with @rustbot claim, and Zulip's bot releases a claim after about 10 idle days. A claim would be a hint for other contributors, not a rule for you: you can still merge any PR.
  4. Issue template with one box: "Are you working on a fix? yes / no / want to". It records a claim when the issue is opened.
  5. Pinned tracking issues for hot areas (8 GB memory, 32-lane/wave64 shaders, frame generation), complementing #1138: open PRs per area and which one is preferred.
  6. Optional, later: a merge queue (GitHub docs), only if merged batches themselves start breaking main; it needs merge_group in ci.yml and a Windows CI run per entry.

Not suggested: auto-closing stale PRs (batch merging makes quiet PRs normal) and OWNERS/Prow-style approvals (more work for a single reviewer).

Happy to send a PR with the templates (1, 4), the README sentence (2) and the claim action (3) if you want them. Tell me which ones, or none.

This was written with AI assistance (Claude Code).

**@⁠Jesper-Andersson** on GitHub · 2026-11-28 21:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1528) Thanks for the pace you keep up. This is a small proposal, ranked by value over effort. Take any, none, or a variant. Nothing here changes how you review and merge. **What we see today.** There are about 430 open PRs. Some fixes arrive twice in parallel: for example the closed issue #1383 has two open PRs doing the same thing (#1390 and #1391), and #1504 supersedes the closed PR #1296. Few PRs say `Fixes #N` (about 19 of the 300 newest, by a rough text match). Many touch the same files: the triage map in #1138 counts about 90 of 432 open PRs touching `crates/victory-gpu/src/host.rs`, so each merge batch conflicts with many of them. #1138 already helps contributors spot duplicates after the fact; the ideas below aim at catching them before the work starts. There is no CONTRIBUTING.md, issue template or PR template, and no way to say "I am on this". **Proposals, most value for least effort first** 1. **PR template** (`.github/pull_request_template.md`): `Fixes #`, GPU and profile tested, before/after, "I searched open PRs for the same issue and files: #...", and for shader changes "wave sizes tested (32/64)". The README already asks for most of this; a template puts it in the PR box ([GitHub docs](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository)). The wave line targets the 32-lane regression class (#1435, #1475, #1516, #1484). 2. **A "check before you start" sentence in the README**: search open PRs (and #1138) for the issue number and the files you plan to touch, and comment on the issue first. Opening a draft PR early is a good signal, since drafts cannot be merged and do not request review ([GitHub docs](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)). Free, and it stops most parallel work. 3. **A claim convention.** Comment `/claim` (or "I'm on this") on the issue. Optionally a ~20-line Action assigns the commenter and adds an `in-progress` label, as Apache DataFusion does with a `take` comment ([apache/datafusion-python](https://github.com/apache/datafusion-python), `.github/workflows/take.yml`); GitHub allows assigning anyone who commented ([docs](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/assigning-issues-and-pull-requests-to-other-github-users)). Rust does the same with [`@rustbot claim`](https://forge.rust-lang.org/triagebot/issue-assignment.html), and Zulip's bot releases a claim after about 10 idle days. A claim would be a hint for other contributors, not a rule for you: you can still merge any PR. 4. **Issue template** with one box: "Are you working on a fix? yes / no / want to". It records a claim when the issue is opened. 5. **Pinned tracking issues for hot areas** (8 GB memory, 32-lane/wave64 shaders, frame generation), complementing #1138: open PRs per area and which one is preferred. 6. **Optional, later: a merge queue** ([GitHub docs](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue)), only if merged batches themselves start breaking main; it needs `merge_group` in ci.yml and a Windows CI run per entry. Not suggested: auto-closing stale PRs (batch merging makes quiet PRs normal) and OWNERS/Prow-style approvals (more work for a single reviewer). Happy to send a PR with the templates (1, 4), the README sentence (2) and the claim action (3) if you want them. Tell me which ones, or none. This was written with AI assistance (Claude Code).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 21:19:13 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 21:17 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-28 21:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1528#issuecomment-7245909226) 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

@⁠trustno1-coder on GitHub · 2026-11-28 21:32 UTC · original

Thanks, this was useful. It's now on main (d4599073):

  1. PR template: Fixes #, how it was tested (GPU, profile, before and after), the wave sizes tested for shader changes, and an overlap check.
  2. README: before starting a fix, search open PRs (and #1138) for the issue and the files you'll change, then comment /claim on the issue, or open a draft PR early.
  3. Claims: /claim as a convention for now, with no Action yet.
  4. Issue forms: crash, graphics, performance, feature request and test report. Each sets its labels and asks for both logs and the setup, and ends with "Are you working on a fix?".

The tracking issues and the merge queue can wait. No need to send a PR for these, but thanks for offering.

**@⁠trustno1-coder** on GitHub · 2026-11-28 21:32 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1528#issuecomment-7246089331) Thanks, this was useful. It's now on main (d4599073): 1. **PR template:** `Fixes #`, how it was tested (GPU, profile, before and after), the wave sizes tested for shader changes, and an overlap check. 2. **README:** before starting a fix, search open PRs (and #1138) for the issue and the files you'll change, then comment `/claim` on the issue, or open a draft PR early. 3. **Claims:** `/claim` as a convention for now, with no Action yet. 4. **Issue forms:** crash, graphics, performance, feature request and test report. Each sets its labels and asks for both logs and the setup, and ends with "Are you working on a fix?". The tracking issues and the merge queue can wait. No need to send a PR for these, but thanks for offering.
Author
Owner

@⁠Matartos on GitHub · 2026-11-30 13:09 UTC · original

Great suggestions, and it's awesome to see that most of them have already been implemented!

I've submitted a complementary proposal in #3960, focusing on the next steps:

  • Stable, Nightly and Experimental release channels.
  • Extended GitHub labels for hardware compatibility, priority and testing status.
  • Automated builds and pre-release publication.
  • Standardized community benchmark reports.
  • Context-aware bot responses based on issue types.

The goal is to build upon the existing improvements, reduce the maintainer's workload and make community testing more efficient.

I'd be interested to hear your thoughts on this approach!

**@⁠Matartos** on GitHub · 2026-11-30 13:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1528#issuecomment-7279446149) Great suggestions, and it's awesome to see that most of them have already been implemented! I've submitted a complementary proposal in #3960, focusing on the next steps: - Stable, Nightly and Experimental release channels. - Extended GitHub labels for hardware compatibility, priority and testing status. - Automated builds and pre-release publication. - Standardized community benchmark reports. - Context-aware bot responses based on issue types. The goal is to build upon the existing improvements, reduce the maintainer's workload and make community testing more efficient. I'd be interested to hear your thoughts on this approach!
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#1528
No description provided.