SmartResolve

Crashes SmartResolve (Private Beta)

AI Logo

SmartResolve 2.0 is an AI-powered feature designed to automate the process of resolving mobile app crashes, enabling developers to resolve issues within minutes. Built on top of Instabug's crash reporting, SmartResolve analyzes crash data, generates actionable code fix suggestions, and creates pull requests to integrate these fixes into the codebase, ultimately improving app stability and reducing time to resolution.

How to use it?

SmartResolve currently works on top of the Crash Reporting product, and it requests access to your application source code to be able to identify crashes root cause and suggest code fixes.

📘

To learn more about connecting your app source code to Instabug, please connect with our support team or ask your designated customer success manager.

Once the feature is enabled for your account, you will be able to:

  1. See SmartResolve widget at the top of each crash details page, where you can initiate “Generate crash fix” to start the crash analysis and fix generation process.
  1. Once “Generate crash fix” is clicked, the analysis and fix generation are initiated. The process usually takes 10 - 30 seconds to complete.
  1. After the process completion, you will be presented with a root cause analysis and 3 suggested fixes to the crash, which you should be able to check right in the dashboard.
  1. If you think a fix is more suited to resolve your crash, you can click on “Create pull request”, which will generate a pull request right into your application source code repository. You can review the pull request inside of your git provider and decide if you want to merge it right away or change anything before you merge it.

You can also perform the following actions once you have fixes generated for a specific crash.

  • View generated fixes. The fixes generated are saved for future use, where you or other members of your team can check them out.
  • Generate one more fix, where you can generate another fix suggestion if the generated ones are not suitable for resolving the crash.
  • Start Over, where you want to delete all previous fixes and want to start the analysis from the beginning. Usually used when a new app version is available and the fixes were generated on an older version.

How it works?

App Source Code Integration

SmartResolve depends on having access to the application source code, in order to detect the root cause of the crash in the app codebase and suggest a code fix.

Crash & Code Analysis

SmartResolve starts by understanding the app's source code and how different pieces of code work together, then translating that into embeddings. Once a crash needs to be fixed, SmartResolve starts to analyze crash data and its stack trace and starts to identify code pieces that are relevant to the crash using advanced RAG techniques.

Fix Generation

Once the crash-relevant code is fetched, and the root cause is identified, SmartResolve uses LLM models like OpenAI’s GPT, and Anthropic’s Claude to generate multiple versions of code modifications needed to resolve the crash, which will be presented to the developer to evaluate.

Pull Request Creation

Once the developer is satisfied with one of the crash fixes generated and uses it as a fix, SmartResolve uses our source code integration to create a pull request in the app source code. This pull request should enable other developers to manually review it or for CI quality and security checks to run against it before it gets merged into the app's main code.


Compatibility

SmartResolve is available for Android and iOS platforms, and it currently can be integrated with source code from GitHub.


How do I get started with SmartResolve?

SmartResolve 2.0 is currently available in a private beta program. To join the beta, admins or owners of an Instabug account can request enrollment by contacting their Customer Success Manager or reaching out to Instabug Support.

Eligibility and Consent

Only account admins or owners are eligible to request enrollment in the beta program. By requesting to join, you grant Instabug permission to process crash data and application source code through its AI models (both custom and third-party) in compliance with our privacy policy and security standards. Note that processing will only occur once the feature is activated, and you can request to disable the feature at any time.

What to Expect

  • Beta Duration and Cost: The feature will be free for a minimum of three months after activation, with the possibility of extension based on individual cases.
  • Integration: Detailed instructions will be provided to connect your application's source code to Instabug using GitHub Application.
  • Team Access: Your team will gain full access to the feature for testing and feedback.
  • Feedback Commitment: To ensure continuous improvement, we will request feedback from your team on a monthly basis, coordinated by our team.