Skip to content

Production errors

Production errors become pull requests

Connect a Sentry or GlitchTip project to a Rondar project. Each new error becomes a TODO with its stack trace. If you want, Rondar also starts a session for it, and the session opens a pull request with a live preview.

How it works

  1. A new unresolved issue shows up in Sentry or GlitchTip. Rondar looks every five minutes, or right away if you add the webhook.
  2. Rondar adds a TODO to your project. It has the title of the error, where it happened, the number of events, a link to the issue and the stack trace of the last event.
  3. In the mode "Add a TODO" the TODO waits until you start it. In the mode "Fix it now" Rondar starts its session at once.
  4. The session looks for the cause, changes the code and adds a test that fails without the fix. Then it opens a pull request with a live preview. The first line of the pull request names the error and links to the issue.
  5. You read the pull request and decide what happens to it.

What Rondar reads

Rondar uses the issues API of the tracker with a token that can only read (the scopes project:read and event:read). The token is stored encrypted.

From an issue it takes the title, the place in the code, the level, the number of events, the time it was first seen and the link. From the last event it takes the exception, the stack trace, the environment and the release.

The webhook only tells Rondar to look now. Rondar does not read what the webhook sends, so a forged call can do nothing more than start a check.

An error message can hold text that somebody sent to your app. Rondar gives it to the agent as quoted data, with a note that it is not an instruction.

What it does not do

  • It does not merge a pull request and it does not deploy. A fix reaches production the same way as every other change in your project.
  • It does not resolve, assign or comment on the issue in Sentry or GlitchTip. The token cannot write.
  • It does not read performance data, session replays, breadcrumbs or user details.
  • It does not turn old issues into work. Only issues that are new after you connect count.

Limits

  • "Fix it now" starts at most 20 sessions in 24 hours for one project. You can set a number from 1 to 1000, or no limit. Past the limit, a new error stays a TODO.
  • An error that comes back joins its open TODO and adds to its count. It does not make a second TODO or a second session.
  • A Rondar project has one connection: one Sentry project or one GlitchTip project. You can limit it to one environment, for example production.

Set it up

Open your project, go to Settings, then Automations, and find Production errors. The guide has the steps for the token and the webhook in Sentry and in GlitchTip.

Read the guide

Request an invite

Questions

Does it work with GlitchTip or Sentry on my own server?
Yes, if Rondar can reach it at a public https address. GlitchTip has the same issues API as Sentry, and Rondar uses that API for both.
What access does the token need?
Read access to issues and events: the scopes project:read and event:read. Rondar never writes to the tracker.
Will one noisy error start many sessions?
No. Repeats of one error join one TODO, and "Fix it now" has a limit of sessions in 24 hours that you choose. Past the limit, new errors wait as TODOs.
Does Rondar merge the fix?
No. The session opens a pull request with a preview. What happens next is up to you and the rules of your project.
Is the webhook necessary?
No. Without it Rondar finds a new error at its next check, at most five minutes later. With it Rondar looks at once.
How often does a session fix the error?
We do not publish a rate. It depends on the error and on your tests. Read the pull request and its preview before you merge.

Reconnecting… Buttons are off until this page is connected again. Reload