Repository navigation
claims: use the org claim bot; claims are assignments, Ready issues only - #2286
Merged
Merged
Conversation
The claim bot moves to obs-rust/.github as a reusable workflow, so every org repo shares one set of rules (obs-rust/.github#5). A claim is now the issue's assignee and lapses after 24 hours without progress (8 on P0). Only issues labeled ready can be claimed for implementation; an underdefined issue gets 'Claiming: investigation' and then /ready. Open blockers and decisions refuse a claim. Existing claimed labels migrate to assignments on the first sweep. Workers hand their PR to the coordinator once it is in the merge queue. The coordinator starts each tick from the computed work list (uv run -m workflow.coordinator) and leases each task. The logic and its tests (ci/test_claim_bot.py, ported) now live in obs-rust/.github's workflow/ and tests/.
zackees
enabled auto-merge
October 25, 2026 01:11
This was referenced Oct 30, 2026
MCPVOT
pushed a commit
to MCPVOT/obs-studio
that referenced
this pull request
Oct 30, 2026
…s-rust#2982) (obs-rust#2983) * test(ci): pin that a burned-down workflow holds no WF-002 exception (obs-rust#962) RED on origin/master: `test_burned_down_workflows_hold_no_wf_002_exception` fails with `['claim-bot.yaml'] != []` — the workflow gained its top-level `concurrency` group with the org claim bot (obs-rust#2286) but ci.toml still records its WF-002 [[exceptions]] block, so the recorded baseline carries one exception for a finding that no longer exists. Also pins claim-bot.yaml's group and `cancel-in-progress: false` (a superseded run must not cancel claim processing mid-flight), and adds it to EXPECTED so a later edit that drops the group fails here the same way the linter would. Refs obs-rust#962 * ci: drop claim-bot.yaml's dead WF-002 exception (obs-rust#962) claim-bot.yaml carries the top-level group `claim-bot-${{ github.event.issue.number || 'sweep' }}` with `cancel-in-progress: false` since the org claim bot took claims over (obs-rust#2286), so ci-lint's WF-002 no longer reports the file and the recorded exception has been inert ever since: `ci-lint precheck` on origin/master prints no WF-002 line at all, before or after this change. Deleting it keeps ci.toml's baseline honest — the recorded set is what the linter still reports, and a dead entry hides the next real one. `ci-lint precheck` header is unchanged at `4 violation(s), 363 approved exception(s), 2 needs_review` because the tool counts only exceptions whose finding is present; the RED half of this PR is the offline pin that now fails without this deletion. Refs obs-rust#962
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The claim bot moves to obs-rust/.github as a reusable workflow, so every org repo shares one set of claim rules and one simulation-tested implementation. This repo keeps a thin caller with the same triggers, permissions, fork guard (#1258) and per-issue concurrency.
What changes for contributors (coordination.md §2–3, WORKFLOW.md):
readycan be claimed for implementation (P0never waits). An underdefined issue getsClaiming: investigation, then/readyonce it meets the definition of Ready. Maintainers triage with/readyand/investigate.claimedlabels to assignments, and marks those issues ready.uv run -m workflow.coordinatorand leases each task, so parallel coordinators never collide.The removed
tools/claim-bot/claim_bot.pyandci/test_claim_bot.pyare ported, with every test case, to obs-rust/.githubworkflow/claims.pyandtests/test_claims.py. That suite adds simulation tests for the full lifecycle.Docs and workflow config only; there's no product code, so no RED→GREEN. Ran
ci/test_workflow_schedule_guard.pyon the new caller: passes.