Director burn-down updates blocked PR branches #1278

Merged
coilyco-ops merged 2 commits from issue-1172 into main 2026-07-14 11:15:08 +00:00
Member

This adds a deterministic PR-pressure burn-down step to the director heartbeat. When a repo is at or over the open-PR cap, the director now updates one safe merge-ready but nonmergeable PR branch before it launches more work, and it keeps queued dispatches out of blocked repos until pressure drops.\n\n- Detect over-cap repos from live open PRs\n- Update one safe branch at a time through Forgejo's PR update endpoint\n- Filter dispatch picks so the same repo is not relaunched while blocked\n- Cover the update endpoint and heartbeat filtering in tests\n\ncloses #1172\nward.workflow: pull-request-and-merge

This adds a deterministic PR-pressure burn-down step to the director heartbeat. When a repo is at or over the open-PR cap, the director now updates one safe merge-ready but nonmergeable PR branch before it launches more work, and it keeps queued dispatches out of blocked repos until pressure drops.\n\n- Detect over-cap repos from live open PRs\n- Update one safe branch at a time through Forgejo's PR update endpoint\n- Filter dispatch picks so the same repo is not relaunched while blocked\n- Cover the update endpoint and heartbeat filtering in tests\n\ncloses #1172\nward.workflow: pull-request-and-merge
director: burn down open PR pressure
All checks were successful
test / test (pull_request) Successful in 34s
dcc98621d4
Merge remote-tracking branch 'origin/main' into issue-1172
All checks were successful
test / test (pull_request) Successful in 43s
c455833fa4
# Conflicts:
#	docs/FEATURES.md
Sign in to join this conversation.
No description provided.