Code reviews that finish
A code review of a pull request or a branch now always ends with a result, and reviews in SSH workspaces read the whole change.
Changed
- Reviews show what they are reading. While a review runs, its row names the file an agent is reading or what it is searching for.
- SSH pull requests get a full review. When the host has the pull request's branch checked out, review agents read the code on the host. Otherwise the review reads the diff and says so.
- Large changes are reviewed in parts. A review that reads only the diff used to stop after the first 24,000 characters. It now splits the change into groups of files and reviews each one.
Fixed
- Reviews that never finished. A review agent could keep investigating one group of files for half an hour. Each agent now has four minutes (
review_agent_timeout_secs); after that its files are reviewed from the diff, and the result says how many groups that was. - "The model returned nothing". A reasoning model could spend its whole answer on thinking and return a cut-off or empty review. Reviews now leave room for thinking and try once more with less of it.
- One long line hiding the rest of a change. A very long line in a diff, such as a minified file, made the review skip everything after it.
- Failures with no explanation. A failed review now says what went wrong, for example that the GitHub CLI is missing or not signed in, and how the review ended is written to the log.