Label pull requests that conflict with main #4204

Closed
github-bot wants to merge 11 commits from github-bot/gh-4203 into main AGit
Owner

@⁠Ondra97 on GitHub · 2026-11-30 17:22 UTC · original
Ondra97:codex/4152-needs-rebase → main · +887 −820 · 34 files · 11 commits · closed without merging

Refs #4152 (item 4). Extracted from #2904.

What it changes

  • Add needs-rebase when GitHub confirms that an open PR conflicts with main. Remove the label when the conflict clears or the PR is retargeted.
  • Reconcile on PR events and run an hourly sweep to catch mergeability changes after updates to main.
  • Reserve needs-rebase in the title-label workflow so a title tag cannot assign it.

How it was tested

  • Base revision 84bd61e2. Before this change, GitHub PR labels were not reconciled against mergeability.
  • actionlint 1.7.12 passed for both workflows. The staged asset-policy check passed for both files with stable Cargo. git diff --check passed.
  • Ran 11 local Node.js scenarios against the embedded workflow scripts with mocked GitHub calls. They cover adding and removing the label, retargeting, delayed mergeability, concurrent removal, paginated sweeps, the 200-update cap, and reserved title tags.
  • Live reconciliation can be exercised when the workflow is on upstream main.

Checked for overlap

  • Searched open PRs for needs-rebase. The overlapping workflows are in #2904 and are extracted here as requested in #4152.
**@⁠Ondra97** on GitHub · 2026-11-30 17:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4203) `Ondra97:codex/4152-needs-rebase` → `main` · +887 −820 · 34 files · 11 commits · closed without merging Refs #4152 (item 4). Extracted from #2904. ## What it changes - Add `needs-rebase` when GitHub confirms that an open PR conflicts with `main`. Remove the label when the conflict clears or the PR is retargeted. - Reconcile on PR events and run an hourly sweep to catch mergeability changes after updates to `main`. - Reserve `needs-rebase` in the title-label workflow so a title tag cannot assign it. ## How it was tested - Base revision `84bd61e2`. Before this change, GitHub PR labels were not reconciled against mergeability. - `actionlint` 1.7.12 passed for both workflows. The staged asset-policy check passed for both files with stable Cargo. `git diff --check` passed. - Ran 11 local Node.js scenarios against the embedded workflow scripts with mocked GitHub calls. They cover adding and removing the label, retargeting, delayed mergeability, concurrent removal, paginated sweeps, the 200-update cap, and reserved title tags. - Live reconciliation can be exercised when the workflow is on upstream `main`. ## Checked for overlap - [x] Searched open PRs for `needs-rebase`. The overlapping workflows are in #2904 and are extracted here as requested in #4152.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 18:08:37 +00:00
github-bot closed this pull request 2026-12-01 18:50:30 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:45 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4203#issuecomment-7321492457) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

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/trustno1-coder--VIctory-NVIDIA!4204
No description provided.