mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 14:38:53 +00:00
Every pull request is reviewed by hand, and with over a hundred open the reviewer has no quick way to skip the ones that cannot merge as they stand. tools/pr_conflict_label.py asks the GitHub API for each open pull request's `mergeable` and labels the conflicting ones `needs rebase`, removing the label once they merge cleanly again; an answer GitHub has not computed yet is asked again a few times and otherwise left for the next run. .github/workflows/conflict-label.yml runs it on a push to main (all open pull requests), on a pull request being opened, reopened or pushed to (that one), and hourly. The job uses pull_request_target so a fork's pull request can be labeled, and is safe with it: it checks out main, never the pull request, and the tool reads only the API, so no pull request code runs. Its token can read contents and write pull requests, nothing else; tests/test_pr_conflict_label.py checks that, and the tool against a fake API. The pull request template also asks for `Fixes: #N` and `GPUs tested:` lines and has checklist items for "based on current main" and "one topic"; tests/test_docs_pr_template.py checks the new prompts, and CONTRIBUTING.md gets a short Pull requests section. The process is modelled on AnyPS5's (boykopovar/AnyPS5); the code is written here, not copied.
28 lines
1.3 KiB
Markdown
28 lines
1.3 KiB
Markdown
Claimed in the coordination issue as: <!-- the item ID from the open "Coordinating who works on what" issue,
|
|
for example TEST-17, or a link to your claim -->
|
|
|
|
Depends on: <!-- #N for every pull request this one builds on or conflicts with (the coordination issue's
|
|
Commands section, AGENTS.md); delete the line if it builds on none and conflicts with none -->
|
|
|
|
Fixes: <!-- #N for each issue this closes (GitHub closes it on merge); delete the line if it closes none -->
|
|
|
|
### What and why
|
|
|
|
<!-- What this changes and the problem it solves. -->
|
|
|
|
### Tested
|
|
|
|
<!-- What you ran and on which GPU and driver (CONTRIBUTING.md). For the shader translator: how many shaders
|
|
translate and pass spirv-val, before and after. -->
|
|
|
|
GPUs tested: <!-- vendor, model, driver and OS of each GPU the GPU tests ran on, or n/a -->
|
|
|
|
AI-assisted: <!-- yes or no (AGENTS.md asks a coding agent to say so) -->
|
|
|
|
### Checklist
|
|
|
|
- [ ] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`).
|
|
- [ ] One topic; follow-up work goes in a new pull request.
|
|
- [ ] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
|
|
- [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
|