feat: bounded concurrent task dispatch in daemon (archie-core-u64)

Daemon previously processed one task at a time. Add bounded concurrent
dispatch for SQLite and NATS agent modes, reusing [containers].max_concurrency
(0 = unlimited). Same-repository tasks stay FIFO-serialized to avoid worktree
conflicts; different repositories now run concurrently.

Unblocks archie-core-l1q (NATS transport) and archie-core-g1l
(per-repo allow_concurrent override).
This commit is contained in:
sam committed 2026-07-24 07:42:13 +10:00
1 parent bef10c3ede
commit f8df051b19
25 files changed
+366 -137

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ func (c *GitHubClient) CloseIssue(ctx context.Context, owner, repo string, numbe
}
}
_, _, err := c.gh.Issues.Edit(ctx, owner, repo, number,
&github.IssueRequest{State: github.String("closed")})
&github.IssueRequest{State: new("closed")})
return err
}