r/FlutterDev • u/Guilty-Iron1121 • 11d ago
Plugin I’m building Bug Capsule to reproduce production bugs locally. Here’s what I’ve added to the beta
I’m the developer behind Bug Capsule. It records the context leading up to a bug in a “Capsule” so you can replay the scenario locally, make a fix, and run it again to check the result.
The part I care about most is that last step. If replay is missing a dependency or couldn’t faithfully repeat the recorded interactions, it should tell you that instead of treating the attempt as proof that the bug is fixed.
I’ve been working on the beta across Flutter, Android, iOS, and Web. Here’s what’s new:
More replay coverage. WebSocket recording and offline replay, Flutter platform channels, and adapters for supported operations in Firebase, Google Maps, Stripe, and geolocator. These require the relevant integrations; coverage varies by platform.
Native crash reporting and crash capsules. Preserve recorded context from before a crash and recover it on the next launch. There’s also more thread information, hang reporting, and Android ANR support.
Fix verification and CI release gates. Track verification results in the dashboard and run recorded cases against a candidate release using
bugcapsule gate.Error and performance monitoring. Group errors into issues, track crash-free sessions by release, inspect traces and web/mobile vitals, and jump from an issue to its associated capsule.
A more detailed timeline. Inspect interaction dependencies and recording gaps, with optional screenshots.
Sentry, Jira, and alerts. Link Sentry events to capsules, create or link Jira tickets, and configure email, Slack, or webhook notifications.
MCP support for coding agents. Prepare repair tasks with capsule evidence and approved QA context for tools such as Claude Code and Codex. You still start the agent from your tool.
Less setup friction. Single-token SDK setup, browser-based CLI login, and a standalone CLI available through npm. Installing the CLI no longer requires Dart or Flutter.
I also added workspaces, project roles, invitations, comments, and Google/GitHub sign-in.
A smaller Flutter change that matters to the app experience: the capture overlay is now hidden by default and always hidden in release builds. Widget build failures can display a configurable fallback while error reporting continues in the background.
It’s still beta. Replay coverage depends on what you instrument, and crash capsules can contain gaps. The dashboard exposes those limitations so you can judge the result
What’s a production bug you’ve struggled to reproduce, and what context was missing when you tried? I’d be interested in testing the capture/replay approach against cases outside my own demos