Skip to content

chore(ci): refine PR-Agent review configuration - #106

Merged
capyBearista merged 3 commits into
mainfrom
pr-agent-test
Nov 6, 2026
Merged

capyBearista merged 3 commits into
mainfrom
pr-agent-test

Conversation

@capyBearista

Copy link
Copy Markdown
Owner

Summary

Refine the existing PR-Agent configuration for automated GitHub pull request reviews using OpenCode Go's Beam Free model.

  • Increase ai_timeout from 120 to 300 seconds to accommodate longer model reasoning.
  • Increase num_retries from 2 to 4.
  • Simplify .pr_agent.toml by removing several explicit settings and relying on PR-Agent defaults.
  • Retain inline findings, a maximum of five findings, large-PR chunking, and repository context from AGENTS.md.

Note: Removing explicit settings also restores upstream defaults for persistent inline-comment deduplication, review labels, effort estimates, and clean-review output.

Linked Issue

No linked issue. This PR refines the existing automated review configuration.

Plugin(s) Affected

  • opencode-plugins (this monorepo itself)

Type of Change

  • Other: CI/reviewer configuration update

OpenCode Validation

  • OpenCode version tested: N/A — PR-Agent uses OpenCode Go's inference API, not the OpenCode CLI.
  • Runtime smoke test performed: Not yet. This PR is intended to exercise the automated reviewer.

Quality Checklist

  • I ran bun run typecheck && bun run lint && bun run test
  • I ran bun run build
  • This is the smallest safe root-cause fix (no unnecessary logic changes)
  • I preserved behavioral invariants and added/updated tests as needed
  • For plugin/runtime changes, I verified the built module or package export that OpenCode actually loads
  • If local .opencode config was part of testing, I verified it points at the package root or published plugin name rather than a stale dist/* artifact
  • For bug fixes, I captured the root cause and why earlier symptoms/reviewer findings were misleading
  • I updated docs for user-facing changes
  • I added a changeset if this should ship; breaking changes within an OpenCode major use minor, and major only moves a package to a new OpenCode major (see CONTRIBUTING)
  • I have read the Contributing Guidelines

Additional Context

This PR also serves as an initial test of PR-Agent's GitHub Actions integration. Confirm that authentication succeeds, Beam processes the diff, and review results appear on the PR.

PR-Agent reads its repository configuration from the default branch, so the revised TOML settings will not take effect until merged.

@capyBearista
capyBearista marked this pull request as ready for review November 6, 2026 14:02
@capyBearista
capyBearista merged commit 6b11d83 into main Nov 6, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant