Skip to content

Pull Requests

Bucky interacts with pull requests in two ways: automatic code review when PRs are opened/updated, and ad-hoc responses when you comment @bucky.

When a PR is opened or updated, the bucky-code-review workflow runs automatically. It:

  1. Reads the PR diff and understands the changes in context
  2. Searches related code via Sourcegraph for broader understanding
  3. Posts review comments with context-aware feedback
  4. Catches bugs, suggests improvements, and flags potential issues

Comment @bucky on a PR to ask questions or request changes:

@bucky can you explain what this change does to the error handling?
@bucky add unit tests for the new retry logic

PR comments with @bucky are handled by the tag-bucky composite action running directly in GitHub Actions (not via the agent service). This means they run in the context of the PR’s repository with full access to the codebase.

The bucky-comments workflow uses concurrency groups per issue/PR number, so only one Bucky session runs at a time per PR. If a new @bucky comment arrives while a previous one is still processing, it waits for the first to complete.