Migrated from monorepo during Forgejo registry consolidation 2026-05-07
Find a file
Viktor Barzin 66104a32ab
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
parallel execution: replace single-flight lock with bounded semaphore + per-job workspace
Multiple agent calls now run concurrently, each in its own isolated git
checkout (local clone of the warm base, hardlinked objects, git-crypt
re-unlocked), so concurrent jobs never share a working tree.

- execution_lock (asyncio.Lock) -> execution_semaphore (default MAX_CONCURRENCY=10);
  excess calls queue FIFO instead of 409/503. MAX_QUEUE_DEPTH safety valve.
- /execute never returns 409; jobs go queued -> running. Timeout covers
  execution only, not queue wait.
- /v1/chat/completions queues for a slot instead of 503-busy.
- /health: busy = at-capacity, plus active/queued/capacity fields.
- per-job workspace prepare/cleanup under a short git lock; the agent run holds none.
- in-memory job registry evicted past JOB_TTL_SECONDS.

Design: docs/2026-06-02-parallel-execution-design.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 20:57:41 +00:00
agents recruiter-triage: AI culture & tooling section in deep research 2026-05-16 13:04:57 +00:00
app parallel execution: replace single-flight lock with bounded semaphore + per-job workspace 2026-06-02 20:57:41 +00:00
beads Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
docs parallel execution: replace single-flight lock with bounded semaphore + per-job workspace 2026-06-02 20:57:41 +00:00
tests parallel execution: replace single-flight lock with bounded semaphore + per-job workspace 2026-06-02 20:57:41 +00:00
.dockerignore Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
.gitignore Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
.woodpecker.yml Phase 4: drop registry.viktorbarzin.me dual-push, Forgejo only 2026-05-07 23:16:53 +00:00
Dockerfile claude-agent-service: add recruiter-triage agent 2026-05-16 11:40:13 +00:00
LICENSE.txt Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
requirements-dev.txt Initial extraction from monorepo 2026-05-07 17:07:12 +00:00
requirements.txt Initial extraction from monorepo 2026-05-07 17:07:12 +00:00