Skip to main content
By default Kody reviews the repositories you pick on Repositories. With Review every repository turned on, Kody reviews every repository the connected credential can see, and picks up repositories created later on its own. It works the same on GitHub, GitLab, Bitbucket Cloud, Bitbucket Data Center, Azure DevOps and Forgejo, in Cloud and self-hosted.

Turn it on

  1. Open Repositories in the sidebar.
  2. Switch on Review every repository.
  3. Check the count: Kody lists how many repositories it will start reviewing, and how many it skips.
  4. Click Review every repository.
Only organization owners can turn it on or off. Kody sets up the repositories in the background, and the card shows the progress (“Setting up repositories: 320 of 487.”). Pull request reviews start on each repository as soon as its webhook is in place.
Reviews on these repositories count like reviews on any other repository, and pull request authors in them may take license seats.

What gets reviewed

  • Every repository the credential can see. On GitHub with the Kodus app, that is the repositories the app is installed on. With a GitHub token, it is the repositories of the connected organization that the token can access (for a personal account, every repository the account can access). On GitLab, it is the projects the token’s user is a member of.
  • Not archived repositories. They are always skipped. Azure DevOps counts a disabled repository as archived; Kody does not detect archived repositories on Bitbucket Cloud.
  • Not forks and mirrors, unless you tick Also review forks and mirrors when turning it on.

New repositories

Kody checks for new repositories every 10 minutes and sets them up the same way as a repository you add by hand: webhook, settings, code graph and recent pull request history.
  • A pull request opened on a new repository after it was set up gets a review as usual.
  • A pull request opened before that (in the first minutes after the repository was created) is reviewed on its next push, or right away with @kody start-review.
  • On GitHub with the Kodus app, a new repository is set up as soon as GitHub reports it. For repositories created after the app was installed with access to all repositories, the app needs the Repository webhook event (self-hosted: add it in your GitHub App settings).
Self-hosted: the check interval is API_CRON_SYNC_ALL_REPOSITORIES (default every 10 minutes).

Leave a repository out

Open the repository’s code review settings and turn off Automated code review (Code review → General). Kody keeps it that way after every sync, and its pull request authors do not take license seats from automatic reviews. @kody commands still work on it. While Review every repository is on, repositories cannot be added or removed by hand on Repositories: the next sync would add removed ones back.

When a repository cannot be set up

Kody needs permission to create a webhook on each repository. When the provider refuses, the repository is listed on Repositories with the reason, and Kody retries it on every sync. See webhook permissions by provider. If the provider rate-limits Kody while it sets up many repositories, Kody stops and continues on the next sync, so a large first run can take a few cycles. Code graphs and pull request histories also finish in the background over several cycles. The card shows the reason when a sync stops or fails, the time of the last successful sync, and how many code graphs and histories are left.

Turn it off

Switch off Review every repository. The repositories reviewed today stay as they are; new repositories are no longer added.