Use case · Sentry alert to fix
From alert to reviewed fix before standup.
A new Sentry issue starts a thread. Uno finds the cause, writes it up, and fixes it when you say so.
02:14. Checkout throws.
The alert arrives with its stack trace. Uno compares it with the code from the release that is running.
TypeError: Cannot read properties of undefined (reading 'total') at PriceSummary (src/checkout/PriceSummary.tsx:42) at CheckoutPage (src/checkout/CheckoutPage.tsx:88)Matched to acme/web at 9c41e2a
A report by morning.
Cause, confidence, files and impact, waiting in your Inbox and in Slack.
Empty carts skip the totals request, so PriceSummary reads total from undefined. 312 users hit it since 01:50. Files: PriceSummary.tsx, useCart.ts.
Reply to fix it.
Uno only reads until you approve. Say "fix it" in the thread and it opens a pull request with a test.
fix it
Guarded the empty cart case and added a test for it.
PR #551Private data stays out.
Uno strips tokens, emails and IP addresses from the alert before it reads it.
user.email: [redacted]user.ip_address: [redacted]request.headers.authorization: [redacted]url: /checkout