Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sentry 10 min read Case study mediumAdept

How Etsy gets its mobile apps ready for peak traffic

Because mobile apps can't be reverted once a binary ships, Etsy treats holiday peak prep as an October decision about visibility, routing and mitigation rather than capacity. Practices include a three-phase "code slush" that culminates in senior sign-off, dual-reporting crashes to the old and new vendors (Sentry) through peak, auditing remote experiment and operational flags so crash-prone code paths can be disabled without a release, and alerting only on crash-free rate and abnormal crashes per hour. Custom tags such as last screen reconcile code-based issue grouping with screen-based team ownership, and crash triage moved from a manual rotation to an MCP-driven agent whose assignment accuracy started near 30%. The team also translates crashes into estimated lost orders so the business can weigh them.

Related posts

  • Unfold's Modern Mobile Release Process and the Subtle Art of Making Them Boring

    Squarespace Engineering mediumAdept

    Squarespace's Unfold team moved from ad hoc, manager-driven mobile releases to an automated one-week release train for iOS and Android, run by a rotating release captain. A scheduled Friday branch cut, cherry-pick automation for release-candidate fixes, a Monday–Wednesday QA window planned in Xray, and staged store rollouts that halt automatically on Crashlytics and Amplitude health thresholds (e.g. crash-free sessions above 99.5%) keep releases uneventful. Hotfixes dropped from many per month to about five per year, and captain effort fell from hours to minutes a day. The team got there by starting with a biweekly train, defining halt/hotfix criteria in retrospectives, and adopting Runway as the release control center.

  • App stability at scale with a layered defense

    Grab Engineering mediumAdept

    Grab keeps its Android and iOS superapp stable with a layered, shift-left defense against crashes. Prevention comes first: lint rules (including custom rules written from post-mortems) block merges in CI, followed by unit, UI component, E2E and manual QA testing and a mandatory one-week Grab Early Access build that auto-tickets new crashes. At the release gate, a week-long staged rollout monitors the new version's crash rate in isolation and auto-pauses expansion, while feature flags act as kill switches. In production, hard-threshold and trend alerts, a flag-first → server-side fix → hotfix escalation ladder, automated triage with severity SLAs, and a flag-rollout history dashboard contain and diagnose crashes that slip through.

  • Reducing our pager load

    incident.io mediumAdept

    incident.io pages on every Sentry error, and cut the resulting noise with four quick changes instead of switching to error-rate alerting. Go Slack helpers return a separate warning for expected failures such as archived channels or missing scopes, with staticcheck deprecating the raw client. Best-effort code paths set a context-level Urgency so only Urgency=page errors wake anyone. Pub/Sub handlers page only after more than three failed attempts, and errors from sales demo accounts no longer page; one engineer spent about a week and pager load dropped sharply.

  • Building secure mobile apps in the agentic era

    Shopify Engineering mediumAdept

    Shopify keeps pace with an 11x jump in mobile code output (~434k lines changed per week during a 12-week agent-driven rewrite) by maintaining a per-app attack surface map covering deep links, WebViews, stored data, permissions and dependencies, where every item carries one of five verdicts and a code link. Each surface has a reusable agent skill built from OWASP MASVS/MASTG plus lessons from past incidents and HackerOne reports. The skill first inventories every item and then has the model review one item at a time with only the relevant code, which keeps findings specific and verifiable. A weekday pipeline (prepare, review, publish) diffs the map against the last accepted version and validates model output, while agents also read security news and alert the team only when something affects the apps.

  • Productionizing Envoy Mobile at Lyft

    Lyft Engineering easyNovice

    Nearly all network requests from Lyft's iOS and Android apps now run through Envoy Mobile, replacing URLSession and OkHttp after a gradual rollout starting December 2021, and it matches or beats them on business metrics across billions of daily requests. Envoy's native stats streamed to gRPC/statsd endpoints caught at least three production incidents that existing analytics missed. On the iOS Driver app, OOM crashes dropped 69.3% and hangs 47.9%, and ANRs fell 30% on Android partner apps. Lessons include success rates varying up to 10% across carriers and libraries, and an Android connectivity bug fixed by mimicking the OS's IPv4-to-IPv6 dual-stack address mapping.

The quest for software engineering knowledge.

Look:
Layout: