Skip to content

v4.2.3

Latest

Choose a tag to compare

@Svtter Svtter released this 28 Jun 03:19
· 3 commits to main since this release

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.db file appearing for schema readiness (SQLite creates the file before migrations commit), killing opencode serve mid-migration.
    • Concurrent opencode import calls raced the non-idempotent migration DDL against the same SQLite DB; 5/7 died with "already exists".

    Fix: wait for opencode serve's authoritative listening on http:// line and import bundles serially. Also replaces Promise.withResolvers with a Node 20-compatible helper, adds serve stream error handlers, and caps captured serve output at 4KB.

Full changelog: v4.2.2...v4.2.3