Forge capacity: more runners + BROKK_PROJECT_MAX_INFLIGHT - #74
Open
brokk-ccl wants to merge 1 commit into
Open
Conversation
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.
Goal
Raise how many Forge cards can execute in parallel — today the deepen batch sits behind one brokk-project lease while
forge-bidles.Observed (2026-07-24)
forge+forge-b).brokk(e29e94d0…).claimNextskips any project with a live lease → only 1 brokk card at a time, regardless of runner count.forge-bregistered and healthy but claims nothing while multi-profile holds the lease.Two levers (ship both, gated by env)
forge-c(same asforge-b:BROKK_SUPERVISOR=0) indocker-compose.coolify.yml/ forge compose. Document Coolify service. Pure capacity for cross-project fan-out.BROKK_PROJECT_MAX_INFLIGHT(default1= today’s serial). When >1,claimNextallows up to N live leases/runs per project (or N running tasks), still one card per runner process. Prefer worktree-isolated feature/PR flow; do not loosen shareddevcheckout without an explicit guard (landed/dev-lane stays serial or separate flag).inflight/maxon project or queue so capacity is visible.Out of scope
Acceptance
BROKK_PROJECT_MAX_INFLIGHT=2+ ≥2 runners, two brokk deepen cards can berunningat once on separate worktrees.forge-c(or documented Nth replica) boots claim-only and drains other projects while brokk is busy.Verify: ❌ failed
verify output
E2E: ❌ failed · legacy-acceptance
e2e output
🔨 Forged by Brokk · task
353d32f4-e06a-4fcf-a546-6e9460aec9b3