GitHub — AI fixes
The integration that closes the loop
Install the Buganalyst GitHub App on the repository behind your site. When a bug report arrives, one click runs an AI analysis: it locates the relevant files using the captured stack traces and user journey, identifies the root cause, and shows you a reviewable diff. Approve it, and a pull request opens on your repo with the full bug context in the description. Merging the PR automatically marks the report as resolved.
Checkout button crashes on click
openRoot cause
`total` is undefined when the cart is empty — `.toFixed()` throws.
src/checkout.js
- const price = total.toFixed(2);
+ const price = (total ?? 0).toFixed(2);
Merge it and the report is marked resolved automatically.
- You choose which repos the app can access
- Short-lived tokens — nothing long-lived stored
- Read-only analysis; writes only on your approval
- PR merge/close syncs report status back