This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Turn an Expo Observe error into a proposed fix
Edit page
Start an agent job for each new Expo Observe error group, find the cause, and return a tested patch for a person to review.
The observe.new_error trigger starts a workflow when Expo Observe detects a new error group. Use it to give an agent a bounded investigation task. The agent returns a report and a tested patch. A person reviews the patch and decides what to do with it.
The trigger starts one run for each new error group in each environment, not one for each occurrence.
Get started
1 requirement
1 requirement
The trigger and the sandbox checkout need a linked GitHub repository. Push the workflow file to the default branch. Runs use the latest commit on that branch.
The following workflow investigates each new production error group:
The trigger also accepts platforms (android, ios) and an if condition. Omit environments or platforms to match all of them. For every event field, see the observe context.
The agent cannot push to your repository. To use the fix, get fix.patch with the artifact ID from the agent's response, as shown in Retrieve results. Then apply it to a branch with git apply.
A passing test does not prove that the fix works in production. After you merge and deploy the fix, use Expo Observe to check whether the error occurs again.