Skip to content

perf: parallel agent provisioning + local key cache#66

Merged
George-iam merged 1 commit intomainfrom
perf/parallel-agent-provisioning-20260321
Mar 21, 2026
Merged

perf: parallel agent provisioning + local key cache#66
George-iam merged 1 commit intomainfrom
perf/parallel-agent-provisioning-20260321

Conversation

@George-iam
Copy link
Contributor

Step 2 provisioning: ~10s → <1s (cache hit) or ~5s (parallel first run).

- Skip HTTP entirely if local store already has a valid key for the agent
- Fetch SA list once (not per-agent)
- Provision multiple agents in parallel via goroutines
- Combined effect: step 2 "Provisioning agents" goes from ~10s to <1s
  on repeat runs (cache hit), ~5s on first run (parallel)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@George-iam George-iam merged commit 9502f39 into main Mar 21, 2026
1 check passed
@George-iam George-iam deleted the perf/parallel-agent-provisioning-20260321 branch March 21, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant