What happened
The online store's checkout service experienced a significant increase in failed transactions, preventing customers from completing their purchases. This problem began shortly after a new software version was deployed to the shop-checkout service. We quickly identified the new release as the cause and reverted the service to its previous stable version, which restored normal operations.
Timeline
- 2026-05-15T08:46:14.519556Z Detected failure rate increase on shop-checkout.
- 2026-05-15T08:46:14.965729Z Investigation started.
- 2026-05-15T08:46:16.943915Z Problem P-251301: Failure rate increase on shop-checkout identified.
- 2026-05-15T08:46:16.943929Z Failure rate on shop-checkout jumped from 0.1% to 18.4%.
- 2026-05-15T08:46:16.943943Z Top error:
TypeError: Cannot read properties of undefined (reading 'currency')incalculateTotals. - 2026-05-15T08:46:16.943962Z Most recent deployment:
shop-checkout v4.2.0at2026-05-15T08:27:50.642698+00:00. - 2026-05-15T08:46:30.063688Z Plan to rollback
shop-checkouttov4.1.9proposed. - 2026-05-15T08:46:34.771151Z Plan approved by operator.
- 2026-05-15T08:46:35.096922Z Rollback started for
shop-checkouttov4.1.9. - 2026-05-15T08:46:35.230614Z Rollback completed.
- 2026-05-15T08:46:35.274198Z Metrics returned to baseline.
Root cause
The root cause was a bug introduced in the shop-checkout service version v4.2.0. This deployment, which occurred at 2026-05-15T08:27:50.642698+00:00 (finding 3), caused a TypeError: Cannot read properties of undefined (reading 'currency') in the calculateTotals function during checkout requests (finding 2). This error led directly to the observed increase in failure rates.
Resolution
The issue was resolved by rolling back the shop-checkout service to its previous stable version, v4.1.9. This action was approved by the operator. We confirmed recovery when the service's failure rate returned to baseline, dropping from 18.4% to 0.12%.
Action items
- Investigate and Fix
v4.2.0Bug: Create a Jira ticket to analyze theTypeError: Cannot read properties of undefined (reading 'currency')inshop-checkout v4.2.0and implement a code fix. - Automated Pre-Deployment Tests: Create a Jira ticket to implement automated tests for the
shop-checkoutservice that run before deployment to catch similar regressions. - Canary Release Strategy: Create a Jira ticket to review and update the
shop-checkoutdeployment pipeline to incorporate a canary release strategy for new versions.