Skip to content

OpenCode self-review phase times out before backend completes #2416

@myagizmaktav

Description

@myagizmaktav

Problem

OpenCode-backed runs can finish main execution but still fail during self-review because the runner cancels review too early.

Root Cause

runSelfReview() uses a hardcoded 2 minute timeout even when the OpenCode backend itself allows much longer request durations.

Impact

Tasks can appear to regress in the self-review phase despite a healthy OpenCode session.

Proposed Fix

Use a longer OpenCode-specific self-review timeout while keeping the shorter timeout for other backends.
Add regression tests for backend-specific timeout selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions