Skip to content

Wire Sentry into native release builds#880

Merged
TaprootFreak merged 2 commits into
stagingfrom
agent/sentry-release-dsn
Jul 24, 2026
Merged

Wire Sentry into native release builds#880
TaprootFreak merged 2 commits into
stagingfrom
agent/sentry-release-dsn

Conversation

@TaprootFreak

Copy link
Copy Markdown
Contributor

Summary

  • inject the repository SENTRY_DSN into Android and iOS store builds with an explicit production/internal environment
  • keep compile-time values out of Fastlane process arguments via a mode-0600 temporary define file and fail release builds when the DSN is missing
  • upload Android split debug info, Dart obfuscation maps, and iOS archive symbols to the self-hosted Sentry project
  • identify uploads with the native release name swiss.realunit.app@<version>+<build> and matching distribution

The Sentry project realunitchapp and the repository secrets SENTRY_DSN and SENTRY_AUTH_TOKEN have been provisioned. Runtime reporting activates together with #878. Related to DFXServer/server#958.

Validation

  • Ruby syntax checks for both Fastfiles
  • workflow YAML parse and git diff --check
  • flutter analyze --no-fatal-infos
  • non-golden Flutter suite: 4,687 tests passed; the 16 subprocess cases initially failed only because local dart was absent from PATH and all 16 passed when rerun with the Flutter SDK path
  • DFX PR precheck: 3 rounds, final conformity and logic reviews both at 0 findings

Follow-up verification

The first tagged native release should confirm the uploaded debug files in Sentry and symbolicate one controlled test event.

@TaprootFreak

Copy link
Copy Markdown
Contributor Author

Final review completed in 1 pass with 0 findings. No changes were required during this pass; the pre-publication review had already corrected iOS build metadata propagation and added complete native/Dart symbol upload coverage. Full CI is running against the final commit and remains the gate before marking this PR ready for review.

@TaprootFreak
TaprootFreak marked this pull request as ready for review July 24, 2026 18:19
The plugin only warns and continues when native debug files or the
Dart obfuscation map are absent, which would ship a release with
silently degraded crash symbolication.
@Danswar
Danswar self-requested a review July 24, 2026 19:20
@TaprootFreak
TaprootFreak merged commit af2f1b2 into staging Jul 24, 2026
6 checks passed
@TaprootFreak
TaprootFreak deleted the agent/sentry-release-dsn branch July 24, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants