Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Sentry for Mobile #21682

Draft
wants to merge 8 commits into
base: develop
Choose a base branch
from
Draft

Conversation

ilmotta
Copy link
Contributor

@ilmotta ilmotta commented Nov 26, 2024

Fixes: #21656

Summary

In this PR we integrate Sentry and implement a feature flagged feature (disabled by default) to force crash the app using the function mobile/status.go#IntendedPanic() provided by status-go.

PR is waiting for #21706 to be resolved for this one to be taken out of draft.

Review notes

Documentation about Sentry in status-go: https://github.com/status-im/status-go/blob/3466ac2661bb19cd0eaa27761551de3b4d31b393/internal/sentry/README.md#L60

Areas that may be impacted

Whenever a panic happens in status-go and usage data collection is enabled we will send error data to Sentry. In theory, nothing should change for the user, therefore nothing should be visibly different in the app's behavior.

Steps to test

Before following the steps below, the CI must be configured with the appropriate SENTRY_DSN_STATUS_GO value. You can also use a free tier cloud instance to do your own testing in case you want to play around with Sentry.

  1. Login with any profile.
  2. Enable usage data collection (for now, Sentry and analytics are tied to the same setting in status-go).
  3. Go to Settings > Feature flags and enable app-monitoring > intentional-crash
  4. Go to Settings > Advanced > and press on Force crash immediately

Usually you should see the error in the Sentry dashboard in a matter of seconds.

status: ready

@ilmotta ilmotta self-assigned this Nov 26, 2024
@ilmotta ilmotta requested a review from jakubgs as a code owner November 26, 2024 10:12
@ilmotta ilmotta marked this pull request as draft November 26, 2024 10:12
@status-im-auto
Copy link
Member

status-im-auto commented Nov 26, 2024

Jenkins Builds

Click to see older builds (120)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ ce51060 #1 2024-11-26 10:17:49 ~4 min tests 📄log
✔️ ce51060 #1 2024-11-26 10:21:12 ~8 min android-e2e 🤖apk 📲
✔️ ce51060 #1 2024-11-26 10:21:34 ~8 min android 🤖apk 📲
✔️ ce51060 #1 2024-11-26 10:22:22 ~9 min ios 📱ipa 📲
✔️ 3fc9ea1 #2 2024-12-02 11:38:01 ~4 min tests 📄log
✔️ 3fc9ea1 #2 2024-12-02 11:41:27 ~7 min android-e2e 🤖apk 📲
✔️ 3fc9ea1 #2 2024-12-02 11:41:59 ~8 min android 🤖apk 📲
3fc9ea1 #2 2024-12-02 11:43:48 ~10 min ios 📄log
✔️ dd61539 #4 2024-12-02 22:55:19 ~4 min tests 📄log
✔️ dd61539 #4 2024-12-02 22:57:49 ~7 min ios 📱ipa 📲
✔️ dd61539 #4 2024-12-02 22:58:44 ~7 min android-e2e 🤖apk 📲
✔️ dd61539 #4 2024-12-02 22:59:25 ~8 min android 🤖apk 📲
✔️ bb16070 #6 2024-12-06 12:54:50 ~4 min tests 📄log
✔️ bb16070 #6 2024-12-06 12:57:30 ~6 min ios 📱ipa 📲
✔️ bb16070 #6 2024-12-06 12:59:37 ~9 min android-e2e 🤖apk 📲
✔️ bb16070 #6 2024-12-06 13:01:11 ~10 min android 🤖apk 📲
✔️ e342290 #8 2024-12-09 11:31:32 ~4 min tests 📄log
✔️ e342290 #8 2024-12-09 11:34:25 ~7 min ios 📱ipa 📲
✔️ e342290 #8 2024-12-09 11:35:27 ~8 min android-e2e 🤖apk 📲
✔️ e342290 #8 2024-12-09 11:37:40 ~10 min android 🤖apk 📲
✔️ 98318b5 #9 2024-12-09 14:41:14 ~6 min tests 📄log
✔️ 98318b5 #9 2024-12-09 14:43:44 ~8 min android 🤖apk 📲
✔️ 98318b5 #9 2024-12-09 14:44:13 ~9 min android-e2e 🤖apk 📲
✔️ 98318b5 #9 2024-12-09 14:44:39 ~9 min ios 📱ipa 📲
✔️ a2f986a #10 2024-12-09 14:55:20 ~6 min tests 📄log
✔️ a2f986a #10 2024-12-09 14:57:36 ~9 min ios 📱ipa 📲
✔️ a2f986a #10 2024-12-09 14:59:10 ~10 min android-e2e 🤖apk 📲
✔️ a2f986a #10 2024-12-09 14:59:53 ~11 min android 🤖apk 📲
✔️ 52cbdf2 #11 2024-12-09 16:09:28 ~5 min tests 📄log
✔️ 52cbdf2 #11 2024-12-09 16:12:14 ~8 min android-e2e 🤖apk 📲
✔️ 52cbdf2 #11 2024-12-09 16:12:17 ~8 min ios 📱ipa 📲
✔️ 52cbdf2 #11 2024-12-09 16:12:32 ~8 min android 🤖apk 📲
✔️ 1d3e0be #12 2024-12-09 17:38:57 ~4 min tests 📄log
✔️ 1d3e0be #12 2024-12-09 17:41:03 ~6 min ios 📱ipa 📲
✔️ 1d3e0be #12 2024-12-09 17:42:07 ~7 min android-e2e 🤖apk 📲
✔️ 1d3e0be #12 2024-12-09 17:42:47 ~8 min android 🤖apk 📲
3060ceb #13 2024-12-10 09:41:38 ~3 min tests 📄log
✔️ 3060ceb #13 2024-12-10 09:45:19 ~7 min ios 📱ipa 📲
✔️ 3060ceb #13 2024-12-10 09:47:21 ~9 min android-e2e 🤖apk 📲
✔️ 3060ceb #13 2024-12-10 09:47:51 ~9 min android 🤖apk 📲
✔️ ffda450 #14 2024-12-10 10:01:58 ~4 min tests 📄log
✔️ ffda450 #14 2024-12-10 10:05:47 ~8 min android-e2e 🤖apk 📲
✔️ ffda450 #14 2024-12-10 10:06:19 ~8 min android 🤖apk 📲
✔️ ffda450 #14 2024-12-10 10:08:44 ~11 min ios 📱ipa 📲
✔️ 5e1ba63 #15 2024-12-10 11:00:39 ~5 min tests 📄log
✔️ 5e1ba63 #15 2024-12-10 11:04:38 ~9 min android-e2e 🤖apk 📲
✔️ 5e1ba63 #15 2024-12-10 11:05:15 ~9 min android 🤖apk 📲
✔️ 5e1ba63 #15 2024-12-10 11:17:11 ~21 min ios 📱ipa 📲
✔️ 81c9ee2 #16 2024-12-10 18:56:00 ~4 min tests 📄log
✔️ 81c9ee2 #16 2024-12-10 18:59:05 ~7 min android 🤖apk 📲
✔️ 81c9ee2 #16 2024-12-10 19:00:34 ~8 min ios 📱ipa 📲
✔️ 81c9ee2 #16 2024-12-10 19:01:31 ~9 min android-e2e 🤖apk 📲
✔️ bf616e1 #17 2024-12-10 20:23:52 ~5 min tests 📄log
✔️ bf616e1 #17 2024-12-10 20:25:58 ~7 min ios 📱ipa 📲
✔️ bf616e1 #17 2024-12-10 20:28:04 ~9 min android-e2e 🤖apk 📲
✔️ bf616e1 #17 2024-12-10 20:28:46 ~10 min android 🤖apk 📲
✔️ 5f4710b #18 2024-12-10 20:42:06 ~4 min tests 📄log
✔️ 5f4710b #18 2024-12-10 20:43:44 ~6 min android-e2e 🤖apk 📲
✔️ 5f4710b #18 2024-12-10 20:44:09 ~6 min ios 📱ipa 📲
✔️ 5f4710b #18 2024-12-10 20:45:52 ~8 min android 🤖apk 📲
✔️ 0f334a7 #19 2024-12-10 21:02:19 ~4 min tests 📄log
✔️ 0f334a7 #19 2024-12-10 21:06:04 ~7 min ios 📱ipa 📲
✔️ 0f334a7 #19 2024-12-10 21:07:29 ~9 min android-e2e 🤖apk 📲
✔️ 0f334a7 #19 2024-12-10 21:09:17 ~11 min android 🤖apk 📲
✔️ 0c0c236 #22 2024-12-12 04:08:39 ~4 min tests 📄log
✔️ 0c0c236 #22 2024-12-12 04:11:16 ~6 min ios 📱ipa 📲
✔️ 0c0c236 #22 2024-12-12 04:12:44 ~8 min android-e2e 🤖apk 📲
✔️ 0c0c236 #22 2024-12-12 04:13:12 ~8 min android 🤖apk 📲
✔️ 7bdbc7c #23 2024-12-12 05:02:04 ~4 min tests 📄log
✔️ 7bdbc7c #23 2024-12-12 05:04:49 ~7 min android-e2e 🤖apk 📲
✔️ 7bdbc7c #23 2024-12-12 05:04:54 ~7 min ios 📱ipa 📲
✔️ 7bdbc7c #23 2024-12-12 05:06:14 ~8 min android 🤖apk 📲
✔️ 7f8ffcf #24 2024-12-12 05:20:47 ~5 min tests 📄log
✔️ 7f8ffcf #24 2024-12-12 05:22:18 ~6 min android-e2e 🤖apk 📲
✔️ 7f8ffcf #24 2024-12-12 05:22:46 ~7 min ios 📱ipa 📲
✔️ 7f8ffcf #24 2024-12-12 05:26:14 ~10 min android 🤖apk 📲
✔️ 6039a40 #25 2024-12-12 05:36:21 ~4 min tests 📄log
✔️ 6039a40 #25 2024-12-12 05:38:44 ~7 min ios 📱ipa 📲
✔️ 6039a40 #25 2024-12-12 05:39:02 ~7 min android 🤖apk 📲
✔️ 6039a40 #25 2024-12-12 05:39:32 ~7 min android-e2e 🤖apk 📲
✔️ 706d9a8 #26 2025-01-06 11:44:18 ~4 min tests 📄log
✔️ 706d9a8 #26 2025-01-06 11:48:22 ~8 min android-e2e 🤖apk 📲
✔️ 706d9a8 #26 2025-01-06 11:48:50 ~9 min ios 📱ipa 📲
✔️ 706d9a8 #26 2025-01-06 11:49:44 ~10 min android 🤖apk 📲
✔️ 0e771c4 #27 2025-01-07 08:03:27 ~5 min tests 📄log
✔️ 0e771c4 #27 2025-01-07 08:06:23 ~8 min ios 📱ipa 📲
✔️ 0e771c4 #27 2025-01-07 08:08:11 ~10 min android-e2e 🤖apk 📲
✔️ 0e771c4 #27 2025-01-07 08:09:37 ~11 min android 🤖apk 📲
✔️ a4d4a3b #28 2025-01-07 08:15:17 ~5 min tests 📄log
✔️ a4d4a3b #28 2025-01-07 08:19:50 ~9 min ios 📱ipa 📲
✔️ a4d4a3b #28 2025-01-07 08:19:53 ~10 min android-e2e 🤖apk 📲
✔️ 77da7ff #30 2025-01-07 08:26:40 ~4 min tests 📄log
✔️ 77da7ff #30 2025-01-07 08:30:01 ~7 min android-e2e 🤖apk 📲
✔️ 77da7ff #30 2025-01-07 08:30:39 ~8 min ios 📱ipa 📲
✔️ 77da7ff #30 2025-01-07 08:31:56 ~9 min android 🤖apk 📲
✔️ 9cff936 #31 2025-01-07 08:44:29 ~5 min tests 📄log
✔️ 9cff936 #31 2025-01-07 08:46:27 ~7 min ios 📱ipa 📲
✔️ 9cff936 #31 2025-01-07 08:49:09 ~9 min android-e2e 🤖apk 📲
✔️ 9cff936 #31 2025-01-07 08:49:15 ~9 min android 🤖apk 📲
27934bb #32 2025-01-23 06:30:00 ~2 min tests 📄log
✔️ 27934bb #32 2025-01-23 06:35:11 ~7 min android-e2e 🤖apk 📲
✔️ 27934bb #32 2025-01-23 06:36:52 ~9 min android 🤖apk 📲
a86db56 #33 2025-01-23 06:48:41 ~3 min tests 📄log
✔️ a86db56 #33 2025-01-23 06:55:34 ~10 min android-e2e 🤖apk 📲
✔️ a86db56 #33 2025-01-23 06:57:25 ~12 min android 🤖apk 📲
1f6cbe2 #34 2025-01-23 07:07:51 ~3 min tests 📄log
✔️ 1f6cbe2 #34 2025-01-23 07:12:54 ~8 min android-e2e 🤖apk 📲
✔️ 1f6cbe2 #34 2025-01-23 07:14:21 ~10 min android 🤖apk 📲
15deff6 #35 2025-01-23 07:53:50 ~20 sec android-e2e 📄log
15deff6 #35 2025-01-23 07:53:58 ~19 sec android 📄log
e2cc7d6 #36 2025-01-23 07:54:56 ~26 sec android-e2e 📄log
e2cc7d6 #36 2025-01-23 07:54:56 ~22 sec android 📄log
99e3c9f #37 2025-01-23 08:00:07 ~3 min tests 📄log
✔️ 99e3c9f #37 2025-01-23 08:06:24 ~9 min android-e2e 🤖apk 📲
✔️ 99e3c9f #37 2025-01-23 08:07:58 ~11 min android 🤖apk 📲
5b402ba #38 2025-01-23 10:25:56 ~3 min tests 📄log
562ec95 #39 2025-01-23 10:33:50 ~4 min tests 📄log
d4b269d #41 2025-01-23 10:41:58 ~3 min tests 📄log
✔️ d4b269d #41 2025-01-23 10:47:45 ~9 min android-e2e 🤖apk 📲
✔️ d4b269d #41 2025-01-23 10:49:10 ~10 min android 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 04b0faa #42 2025-01-23 10:57:14 ~5 min tests 📄log
✔️ 04b0faa #42 2025-01-23 10:59:26 ~7 min android-e2e 🤖apk 📲
✔️ 15bf611 #43 2025-01-23 11:06:09 ~6 min tests 📄log
✔️ 15bf611 #43 2025-01-23 11:10:00 ~10 min android-e2e 🤖apk 📲
✔️ 15bf611 #43 2025-01-23 11:11:27 ~11 min ios 📱ipa 📲
✔️ 15bf611 #43 2025-01-23 11:11:43 ~11 min android 🤖apk 📲

@ilmotta ilmotta force-pushed the ilmotta/add-sentry-support branch from ce51060 to 3fc9ea1 Compare December 2, 2024 11:33
@ilmotta ilmotta force-pushed the ilmotta/add-sentry-support branch 2 times, most recently from 4d06118 to dd61539 Compare December 2, 2024 22:50
@ilmotta ilmotta marked this pull request as ready for review December 2, 2024 22:50
@ilmotta ilmotta changed the title [DRAFT] Configure Sentry for Mobile [DO NOT MERGE] Configure Sentry for Mobile Dec 2, 2024
@ilmotta ilmotta marked this pull request as draft December 3, 2024 00:58
@ilmotta ilmotta force-pushed the ilmotta/add-sentry-support branch from dd61539 to 86d99cd Compare December 6, 2024 12:47
@ilmotta
Copy link
Contributor Author

ilmotta commented Dec 6, 2024

@siddarthkay @markoburcul this PR should be ready now to be used for testing the full integration with Sentry. In theory, the only thing needed is to set the value of SENTRY_DSN_STATUS_GO in Jenkins and things should work.

  1. I cherry-picked the infra code from ci: enable sentry for releases #21766
  2. I temporarily enabled the Advanced Settings option to allow devs and QAs to force crash the app to see errors in Sentry.
  3. I think we don't need to add vars SENTRY_CONTEXT_NAME or SENTRY_CONTEXT_VERSION to shadow-cljs.edn because we only need to do that when we need to pass env vars via the Clojure runtime, but since these vars are used directly by status-go build process they shouldn't be needed. I can be wrong here :)

Edit: after this PR is tested successfully I will remove the cherry-picked commit and disable the option to force crash from any build.

@siddarthkay
Copy link
Contributor

@ilmotta : regarding point 3, ah yeah we don't need that in @markoburcul 's commit we pass those vars to status-go which is where it matters.

@markoburcul
Copy link

@ilmotta did you test this with the changes from my PR?

@ilmotta
Copy link
Contributor Author

ilmotta commented Dec 9, 2024

@ilmotta did you test this with the changes from my PR?

Sure I did, I cherry picked the single commit from https://github.com/status-im/status-mobile/pull/21766/commits. Local dev builds work, I just tested again https://sentry.infra.status.im/organizations/sentry/issues/142/?project=7&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=0

One problem for sure is that running make release-android is not passing through the value of SENTRY_DSN_STATUS_GO to the Clojure compiler.

I pushed a commit just now updating scripts/build-android.sh to add SENTRY_DSN_STATUS_GO to SECRETS_ENV_VARS.

@ilmotta
Copy link
Contributor Author

ilmotta commented Dec 9, 2024

From the screenshot below, we see Sentry DSN is not set in the latest PR build.

@markoburcul
Copy link

From the screenshot below, we see Sentry DSN is not set in the latest PR build.

Sentry DSN will be set only on release builds. Can you run manual pipeline with BUILD_TYPE=release from your branch?

@ilmotta
Copy link
Contributor Author

ilmotta commented Dec 9, 2024

Sentry DSN will be set only on release builds. Can you run manual pipeline with BUILD_TYPE=release from your branch?

Makes sense for now 👍🏼 Hopefully not too far in the future away we can set-up a Sentry project to work with non-release builds, because that can be quite helpful as well.

@markoburcul the manual job is failing https://ci.infra.status.im/job/status-mobile/job/manual/. I ran it twice with the correct parameters https://ci.infra.status.im/job/status-mobile/job/manual/340/parameters/, but could you take a look please? The iOS step is failing, then we can't get the up-to-date artifact to test.

@markoburcul
Copy link

@markoburcul the manual job is failing https://ci.infra.status.im/job/status-mobile/job/manual/. I ran it twice with the correct parameters https://ci.infra.status.im/job/status-mobile/job/manual/340/parameters/, but could you take a look please? The iOS step is failing, then we can't get the up-to-date artifact to test.

As @siddarthkay said: update VERSION file to 2.32.PRNUMBER since you are getting the error:

[2024-12-09T13:00:19.749Z]  [Application Loader Error Output]: ERROR: [ContentDelivery.Uploader] Asset validation failed (90478) Invalid Version. The build with the version “2.31.0” can’t be imported because a later version has been closed for new build submissions. Choose a different version number. (ID: 18438730-87e6-4a68-af5b-f0e2423be47d)

@ilmotta ilmotta force-pushed the ilmotta/add-sentry-support branch 2 times, most recently from 98318b5 to a2f986a Compare December 9, 2024 14:48
@ilmotta
Copy link
Contributor Author

ilmotta commented Dec 9, 2024

@markoburcul the SENTRY_DSN_STATUS_GO var is still not being injected correctly.

The manual release build in Jenkins was successful this time https://ci.infra.status.im/job/status-mobile/job/manual/342/. Thanks for the help

After trying out the manual release APK generated from Jenkins, you can see in the screenshots below that the Sentry DSN isn't set and that the app is using the expected commit hash used by the Jenkins build.

@markoburcul
Copy link

After trying out the manual release APK generated from Jenkins, you can see in the screenshots below that the Sentry DSN isn't set and that the app is using the expected commit hash used by the Jenkins build.

I've updated my PR, I think it should work now..

@ilmotta ilmotta force-pushed the ilmotta/add-sentry-support branch from a2f986a to 52cbdf2 Compare December 9, 2024 16:03
@ilmotta
Copy link
Contributor Author

ilmotta commented Dec 9, 2024

After trying out the manual release APK generated from Jenkins, you can see in the screenshots below that the Sentry DSN isn't set and that the app is using the expected commit hash used by the Jenkins build.

I've updated my PR, I think it should work now..

@markoburcul no luck yet. I cherry picked commit b62ae9e, but the env var is still not available.

@igor-sirotin
Copy link
Contributor

Makes sense for now 👍🏼 Hopefully not too far in the future away we can set-up a Sentry project to work with non-release builds, because that can be quite helpful as well.

@ilmotta Actually it was the intention to keep it only for release builds for now.
But let's discuss it after the release, we can extend it on easily, all parameters are already in place 👌

shadow-cljs.edn Outdated Show resolved Hide resolved
@siddarthkay
Copy link
Contributor

Indeed this bit fails for status-mobile :

siddarthkumar in ~/code/experiments/status-mobile on ilmotta/add-sentry-support λ make status-go-android
.
.
/build/go/src/github.com/status-im/status-go /build
Generated handlers in ../../protocol/messenger_handlers.go for Type enum.
Generated endpoints file: ../endpoints.go
sh: line 1: ../../_assets/scripts/version.sh: cannot execute: required file not found
sh: line 1: git: command not found

This can be fixed as an additional step in the build stage.

@siddarthkay siddarthkay force-pushed the ilmotta/add-sentry-support branch 3 times, most recently from 77da7ff to 9cff936 Compare January 7, 2025 08:39
@siddarthkay
Copy link
Contributor

@ilmotta : can you check sentry now? I've added an ugly fix to ensure version exists for status-go.

@ilmotta
Copy link
Contributor Author

ilmotta commented Jan 8, 2025

Hey @siddarthkay, I get an error:

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'status-mobile-shell'
         whose name attribute is located at /nix/store/x2ixpln8n61hsqb5z117r220swz77y6j-source/pkgs/stdenv/generic/make-derivation.nix:333:7

       … while evaluating attribute 'buildInputs' of derivation 'status-mobile-shell'
         at /nix/store/x2ixpln8n61hsqb5z117r220swz77y6j-source/pkgs/stdenv/generic/make-derivation.nix:380:7:
          379|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          380|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          381|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'version' missing
       at /home/imotta/data/repos/status/mobile/status-mobile/nix/status-go/mobile/build.nix:65:14:
           64|      #!/usr/bin/env bash
           65|      echo "${source.version}"
             |              ^
           66|      EOF

After changing source.version to just version and rerunning make run-android, the output still prints sh: line 1: ../../_assets/scripts/version.sh: cannot execute: required file not found

@siddarthkay
Copy link
Contributor

Oh @ilmotta : I see this issue too now, Maybe at the time of testing there would have been something cached at my end.
I'll work on a fix and test on my connected Android Device.

@siddarthkay siddarthkay force-pushed the ilmotta/add-sentry-support branch 8 times, most recently from 1696c95 to d4b269d Compare January 23, 2025 10:38
@siddarthkay
Copy link
Contributor

should be fixed now :

siddarth@rog-beast:~/code/status-mobile$ make status-go-android
nix/scripts/build.sh targets.status-go.mobile.android
trace: WARNING: Marking build version as 'develop'!
Running: nix-build --pure --fallback --no-out-link --show-trace --attr targets.status-go.mobile.android 
trace: WARNING: Marking build version as 'develop'!
this derivation will be built:
  /nix/store/47aq5srm863s2azyakp4lcxb5hmnq596-status-go-develop-bbeb707-android.drv
building '/nix/store/47aq5srm863s2azyakp4lcxb5hmnq596-status-go-develop-bbeb707-android.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/4bybsqd42h2v1lvzblqnh2b0dy68qqll-status-go-bbeb707-source
source root is status-go-bbeb707-source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
Running phase: buildPhase
Generate static files
/build/go/src/github.com/status-im/status-go /build
Generated handlers in ../../protocol/messenger_handlers.go for Type enum.
Generated endpoints file: ../endpoints.go
/build

Building status-go for: android/arm,android/arm64,android/386
buildPhase completed in 2 minutes 47 seconds
Running phase: installPhase
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in 
/nix/store/fzrj0ynwwmh6vnlkh034ljmmv7f5gmxq-status-go-develop-bbeb707-android
checking for references to /build/ in 
/nix/store/fzrj0ynwwmh6vnlkh034ljmmv7f5gmxq-status-go-develop-bbeb707-android...
patching script interpreter paths in 
/nix/store/fzrj0ynwwmh6vnlkh034ljmmv7f5gmxq-status-go-develop-bbeb707-android

Extracting result: /nix/store/fzrj0ynwwmh6vnlkh034ljmmv7f5gmxq-status-go-develop-bbeb707-android
'/nix/store/fzrj0ynwwmh6vnlkh034ljmmv7f5gmxq-status-go-develop-bbeb707-android/status-go-bbeb707.aar' 
-> './result/status-go-bbeb707.aar'

SUCCESS

@siddarthkay
Copy link
Contributor

related status-go fix : status-im/status-go#6276

@siddarthkay siddarthkay force-pushed the ilmotta/add-sentry-support branch from d4b269d to 04b0faa Compare January 23, 2025 10:51
@siddarthkay siddarthkay force-pushed the ilmotta/add-sentry-support branch from 04b0faa to 15bf611 Compare January 23, 2025 10:59
@status-im-auto
Copy link
Member

✔️ status-mobile/prs/android/PR-21682#42 🔹 ~8 min 11 sec 🔹 04b0faa 🔹 📦 android package

@siddarthkay
Copy link
Contributor

I tested printing version and the derivation logs show status-go version properly

Generated handlers in ../../protocol/messenger_handlers.go for Type enum.
Generated endpoints file: ../endpoints.go
version is ->
vfix-path-to-version-sh

@ilmotta
Copy link
Contributor Author

ilmotta commented Jan 23, 2025

Many thanks @siddarthkay. Tested the recent changes from this PR and it worked (I didn't test the release build yet).

Just need to confirm one thing with you @igor-sirotin. In the screenshot below, the context version is correct. The release value is v followed by the name of the status-go branch. Is that your expectation? Or should we use the stable release production release number, in this case 2.32.0? I'm just confused, what do we want to mean by "release" in Sentry or if we want to perfectly match the release from the Status app version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: CONTRIBUTOR
Status: No status
Development

Successfully merging this pull request may close these issues.

Configure status-go to use Sentry
7 participants