Venture: parallel builds (TIME_VENTURE_HEAVY, default 3) #23

Merged
teahubxyz merged 1 commits from parallel-builds into main 2026-10-13 01:40:32 +00:00
1 Commits
Author SHA1 Message Date
Claude 222b3cc1ee venture: parallel builds, up to TIME_VENTURE_HEAVY worker runs at once
A tick runs its top cards in one wave, handing out worker runs in priority order (at
most TIME_VENTURE_HEAVY, default 3; one per card per tick). Made safe for threads: the
folder lock is a per-build Hands subclass instead of a patch on the shared class,
ventures.json is read fresh and written under a lock, and a contents PUT that loses
the race for the branch head (409) is retried. TIME_VENTURE_HEAVY=1 is the old
one-at-a-time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkN7ukK1kXkqov8FaZxva
2026-10-13 01:29:46 +00:00