Fixed
-
multi-review: fix v2 session-resume restoring only a fraction of bundles on PRs with many reviewers (#289). On 7-reviewer PRs only 2/7 bundles imported — the rest produced empty reviewer output, the coordinator reported "failed to complete", and multi-review forced CANNOT MERGE.
Two compounding bugs in
session-resume.ts:- Bootstrap mistook the
opencode.dbfile appearing for schema readiness (SQLite creates the file before migrations commit), killingopencode servemid-migration. - Concurrent
opencode importcalls raced the non-idempotent migration DDL against the same SQLite DB; 5/7 died with "already exists".
Fix: wait for
opencode serve's authoritativelistening on http://line and import bundles serially. Also replacesPromise.withResolverswith a Node 20-compatible helper, adds serve streamerrorhandlers, and caps captured serve output at 4KB. - Bootstrap mistook the
Full changelog: v4.2.2...v4.2.3