App stability at scale with a layered defense
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.
Related posts
- Handling Flaky Tests at Scale: Auto Detection & Suppression
Slack Engineering mediumAdeptSlack's mobile DevXp team cut CI test job failures from 57% of failing builds to under 5% by automating flaky test detection and suppression across 27,000+ iOS and Android tests. A first approach filtered flaky results using a per-test failure threshold over recent main-branch history, and it quickly raised build stability. It was rolled back because broken new tests and failed fixes leaked into main, and CI depended on a backend. The second approach suppresses test execution on the main branch only. It detects failures (excluding infra, crash and API failures), maps each test to an owning team, files a Jira ticket, then opens and auto-merges a PR that disables the test.
- Unfold's Modern Mobile Release Process and the Subtle Art of Making Them Boring
Squarespace Engineering mediumAdeptSquarespace'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.
- How Etsy gets its mobile apps ready for peak traffic
Sentry mediumAdeptBecause 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.
- The Scary Thing About Automating Deploys
Slack Engineering mediumAdeptSlack's ReleaseBot automates deploys of its monolithic Webapp, shipping 30-40 times a day with a median of 3 PRs per deploy. It replaced rotating human Deploy Commanders after running in parallel with them for a quarter and catching issues faster. The core idea is that deploy monitoring is about anomalies, not absolute thresholds: z scores over a 3-hour window (usually a threshold of ±3) flag statistical spikes. Static and dynamic thresholds serve as lower-confidence signals. Practical tips cover handling zero standard deviation, one-sided thresholds, snoozing expected shifts, and watching unusual metrics such as status-page traffic, log volume and Envoy panic routing.
- How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks
Meta Engineering mediumAdeptMeta wraps risky OS and third-party APIs in secure-by-default frameworks built on three principles: mirror the existing API, depend only on public and stable interfaces, and keep each library small but usable across all apps and OS versions. SecureLinkLauncher shows the approach on Android. It wraps startActivity-style calls and enforces intent scopes (family, same-key, internal, third-party) to block intent hijacking and data leaks to malicious apps. To migrate call sites at scale, a Llama 4 Maverick pipeline takes 10-20 lines of context around each call, infers the right scope, and emits the rewritten snippet plus actions such as adding imports. Each patch is validated with lints, compilation and tests, and errors are fed back for up to five retries before the patch goes to code owners for one-click review.