What you ask
engineering
-
@devboxes Fix this TypeError in checkout. The stack trace is attached.
stack-trace.txt Plain Text -
The error happens when a cart has a discount code but no items left. #92 adds a test that fails the same way and the fix that makes it pass. All checks pass.
When an alert starts it
alerts
-
Looked at 4 sources
-
Read the new alert
-
Found where the invoice export reads the amount
-
Found Tuesday's change to it
-
Wrote a test that fails with the same error
Sentry's new alert is the invoice export failing on invoices without a coupon, since Tuesday's release.
#61 adds a test that fails the same way and the fix that makes it pass. All checks pass.
GitHub
#61 Treat a missing coupon as no discount
Open
devboxes/invoice-export-coupon3 checks passedReady for review
-
What devboxes does
-
Read the error
- devboxes finds the failing code and the input that triggers it.
-
Reproduce it in a test
- A new test fails with the same error as your stack trace.
-
Fix the cause
- The new test passes.
- The fix changes the code that causes the error, so the test passes.
-
-
Install dependencies
-
Test
-
Lint
-
-
Fix
- The tests pass.
-
Test again
-
Lint again
-
-
-
Publish
-
Review
Good for
Startups