Skip to content

CodeOtter v0.7.0 - Bitbucket, Azure DevOps and webhooks

Choose a tag to compare

@dharmeshgurnani dharmeshgurnani released this 08 Nov 03:32
· 20 commits to main since this release
bcf9017

CodeOtter now reviews pull requests wherever your code lives: Bitbucket Cloud, Bitbucket Data Center and Azure DevOps join GitHub, Forgejo and Gitea. Pull requests arrive by webhook into one review queue, teams get a developer role with per-repository access and invites, and CodeOtter is open source under the AGPL-3.0.

Highlights

  • Bitbucket and Azure DevOps. Bitbucket Cloud (bitbucket~workspace/repo), Bitbucket Data Center (bitbucketdc~PROJECT/repo) and Azure DevOps Services (azure~org/project/repo) get the same reviews as the others: inline suggestions, scores and triage statuses, PR tools, comment commands and auto-review. Connect them under Settings → System → Git providers. Sign-in adds Bitbucket and Microsoft (Entra ID, pinned to one tenant).
  • Webhooks and one review queue. GitHub Apps made with Create app carry a webhook, and onboarding a Forgejo, Gitea, Bitbucket or Azure DevOps repository registers its hook. Deliveries are signature-checked, de-duplicated and answered before work starts. Webhooks, the catch-up poll and the local forwarder all feed one queue that reviews one pull request at a time. A failed auto-review is retried three times, ten minutes apart.
  • Auto-review. New and updated pull requests in onboarded repositories are reviewed and posted without a command. Drafts and PRs labelled codeotter:skip are left alone.
  • Developer role, repository access and invites. Developers see Home and the repositories assigned to them on Manage accounts, and nothing else. After the first (owner) account, signing in needs an invite.
  • Repository settings. Review settings are per repository, under each repository in the sidebar: findings, diff size, context, self-check, what gets posted, auto-review and comment commands, plus guidelines and team learnings.
  • Open source. CodeOtter is licensed under the GNU AGPL-3.0 (was Elastic License 2.0).

Also new

  • Git providers and Auth providers are separate pages. Create app sets up a GitHub App, or a Forgejo or Gitea OAuth app, in one click.
  • One table and one badge style across the app. The reviews list shows verdict, author and effort.
  • Forward webhooks here gives a localhost instance webhook events through gh webhook forward.
  • OpenAI-compatible endpoints send max_tokens for Claude 4 and later, and no temperature for Claude 5.
  • The CLI, TUI and MCP server review through the same engines as the web app. A configured System One model owns every score and gate there too.
  • Documentation moved to docs.codeotter.io.

Under the hood

  • The backend is one module per subsystem under core/ and serves HTTP with Hono, with one route module per area and access checks as route middleware. hono and @hono/node-server are its only dependencies.
  • Unknown /api/* paths now answer a JSON 404. Request bodies over 1 MB (webhooks 2 MB) answer 413.
  • Every gh call is asynchronous, so one slow call no longer blocks the rest of the server. /healthz reports storage health.
  • Tests run on node:test, Vitest and a Playwright smoke run, plus a Docker-backed Forgejo and Gitea end-to-end suite.

Upgrade

  • Sign-in needs an invite after the first account. Uninvited sign-ins used to become admin; they are now refused and their account deleted. Existing accounts keep their roles. Invite people under Settings → Workspace → Manage accounts.
  • VPS installer URL: https://raw.githubusercontent.com/dharmeshgurnani/CodeOtter/main/bin/install.sh (was the repository root).
  • CLI: --no-critique is gone, since findings always go through the self-check. A flag without a value, or a non-numeric --min-score, now exits 2.
  • The browser forgets the remembered organization and onboarding flag once, because their storage keys were renamed.
  • Docker installs with Watchtower update on their own within the hour. To hold back, pin ghcr.io/dharmeshgurnani/codeotter:0.7 or :0.7.0, or stay on :0.6.

Full list in CHANGELOG.md.