feat(sandcastle): parallel batches driven by kanban Ready column#239
Merged
DaveHudson merged 1 commit intomainfrom May 1, 2026
Merged
feat(sandcastle): parallel batches driven by kanban Ready column#239DaveHudson merged 1 commit intomainfrom
DaveHudson merged 1 commit intomainfrom
Conversation
Run up to MAX_PARALLEL=2 issues concurrently per iteration, each in its own sandbox/worktree with independent host-side PR creation. Selection is now sourced from the project board's Ready column in drag-order so the user controls priority directly via the kanban UI; pickEligible preserves input order instead of sorting by issue number.
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.
Summary
MAX_PARALLEL=2issues concurrently per iteration, each in its own sandbox/worktree with independent host-side PR creation. Outer iteration loop kill-switch fires when a whole batch produces zero commits.MAX_ITERATIONSreduced from 10 → 5 to keep total throughput similar.applification/1— Contexture)Readycolumn, in user-controlled drag-order.pickEligiblepreserves input order; orchestrator pre-flights the project query and surfacesgh auth refresh -s read:projectif the token scope is missing.fetchProjectReadyIssuesfilters items byStatus=Ready,type=Issue, target repo, and theSandcastlelabel. ToleratesDraftIssueitems on the board (null number/repo) by filtering them out.Test plan
bun run lint— cleanbun run typecheck— cleancd .sandcastle && bun test eligibility.test.ts github.test.ts— 27/27 passgh project item-listsmoke: dragged Prompt Input Grow #237 to top of Ready, fetcher returns[#237, #233, #234, #236]matching board order