Application maintenance by AI agents

Every new error opens a ticket and an agent writes the fix. Your team reviews it as a merge request, on a preview, before approving.

  • Official Sentry SDK, DSN provided by ERHA
  • One ticket per new error
  • Fix as a merge request, with its preview
42merge
Errors/TypeError: total is undefined
In review
Production error

TypeError: total is undefined

Activity
  • New error in productionOnline store · /cart page · version 2.8.1
  • Fix automaticallyTicket #214 started, Julien writes the fix
  • Merge request erha/214-cart-totalPreview ready, waiting for review
Fix

Merge request open: Fixes ERHA-214

Why maintenance falls behind

Once the application is live, fixes and updates come after new features.

Errors found out too late

A production error only comes to light when a customer writes to support, and nobody knows which version it started in.

Outdated dependencies

As updates keep being postponed, known vulnerabilities add up and a major version change becomes a project in itself.

Fixes without follow-up

The fix is merged, but nobody checks that it was delivered, or that the error does not come back.

Maintenance handed to agents

Errors from your applications arrive in ERHA grouped by fingerprint, and the catalogue agents write fixes and updates in your repository.

One ticket per error

Every new error opens a ticket in the Error inbox, outside the board, which it only reaches when a person or an agent takes it.

Fix automatically

This button starts the ticket with an agent. Select several errors to fix them in one click.

Fix as a merge request

In merge request mode, the fix lands on a branch dedicated to the task, with its preview, and nothing is merged without your team.

Tracked until delivery

A commit or merge request that names the ticket (Fixes ERHA-214) moves it forward, and the error is marked resolved once the fix is delivered.

Regressions reopened

A resolved error that comes back in a more recent version reopens, and its task returns to To do.

Dependency updates

Request them through a task or a recurrence, that is, a brief handed to an agent every week or every month. Samuel, DevOps engineer, updates dependencies and fixes known vulnerabilities.

Online store
To handle3ResolvedIgnored
  • TypeError: Cannot read properties of undefined (reading 'price')src/checkout/summary.tsx · v2.14.0Regression214events
  • UniqueConstraintViolationException: duplicate key order_refsrc/Controller/OrderController.php · v2.14.0Task #31812events
  • ChunkLoadError: Loading chunk 412 failedapp/catalogue/page.tsx · v2.13.2New6events

How to set up maintenance

Setup starts from your current repository and hosting, since error tracking also works for an application hosted elsewhere.

  1. 01Connect the repositoryCreate a project and its application, with the GitHub or GitLab repository, the working branch and the production branch.
  2. 02Install error trackingAdd the official Sentry SDK for your language with the DSN provided by ERHA, or hand the installation to an agent through a task. For a site without a build, a script tag is enough.
  3. 03Review the fixesA started ticket moves to review with its merge request. Once your reviewers approve, the release follows.

Example: an error in the cart of an online store

On an online store built with Next.js and set to merge request mode, the total calculation fails for some carts after a release.

  1. The error is captured, grouped, then opens a ticket showing the version, the page and the suspect commit.
  2. A developer clicks Fix automatically, and the ticket starts with an agent.
  3. The fix arrives as a merge request, with the reference Fixes ERHA-214 and its preview.
  4. A reviewer tests on the preview and approves. The error is marked resolved when the fix is delivered.

Outcome

The fix is delivered and the error is resolved. If it comes back in a more recent version, it reopens and its task returns to To do.

Frequently asked questions

Do we have to install an ERHA SDK in our code?

No, there is no ERHA SDK. Tracking goes through the official Sentry SDK for your language, configured with the DSN provided by ERHA. On a site without a build (WordPress, HTML), it is added with a script tag.

Does error tracking work for an application hosted elsewhere?

Yes, it does not depend on the host. Each application has 5,000 error events included per month, on every plan.

Can an agent merge or release a fix on its own?

Only if the application is set to direct delivery. In merge request mode, nothing is merged without your team, and the project sets the number of approvals required, from 1 to 5.

Do the agents run database migrations?

No. The runner has no database, so the agent writes the migration without running it. Nor does the runner compile native iOS, Android or Flutter applications, for which the agent writes the code and lists what remains to be run.

Which error data is kept?

Occurrences are kept for 90 days, with secrets filtered out and no IP address stored. The identity of the people affected is kept only if you turn the option on.

Can we fix an error from Claude Code or Cursor?

Yes, through the MCP connector, which lets you read an error from Claude Code or Cursor, then record its fix.

Hand your first task to an agent this week

Create your space in a few minutes, or book a demo to connect a first repository with the ERHA team.