-
-
Notifications
You must be signed in to change notification settings - Fork 347
Fix SDK Build when using PnPM #4977
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
Merged
Merged
+72
−7
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lucas-zimerman
commented
Jul 8, 2025
Android (new) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
a3aad2b+dirty | 389.53 ms | 436.76 ms | 47.23 ms |
940bd65+dirty | 408.45 ms | 419.75 ms | 11.30 ms |
f25ae46+dirty | 366.14 ms | 367.96 ms | 1.82 ms |
531450c+dirty | 337.17 ms | 362.67 ms | 25.50 ms |
ab18954+dirty | 376.65 ms | 376.82 ms | 0.17 ms |
38a1af2+dirty | 421.38 ms | 431.35 ms | 9.97 ms |
f76175c+dirty | 354.23 ms | 378.20 ms | 23.97 ms |
6715c24+dirty | 378.57 ms | 417.54 ms | 38.97 ms |
ba41c2a+dirty | 376.50 ms | 388.62 ms | 12.12 ms |
6e8a851+dirty | 403.44 ms | 430.87 ms | 27.43 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
a3aad2b+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
940bd65+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
f25ae46+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
531450c+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
ab18954+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
38a1af2+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
f76175c+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
6715c24+dirty | 7.15 MiB | 8.42 MiB | 1.27 MiB |
ba41c2a+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
6e8a851+dirty | 7.15 MiB | 8.42 MiB | 1.26 MiB |
Android (legacy) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
a3aad2b | 453.57 ms | 463.62 ms | 10.05 ms |
c352c30 | 331.98 ms | 321.78 ms | -10.20 ms |
e12044e | 453.78 ms | 437.58 ms | -16.20 ms |
531450c | 426.69 ms | 427.31 ms | 0.62 ms |
26286ef | 371.31 ms | 355.34 ms | -15.97 ms |
ab18954 | 433.46 ms | 436.84 ms | 3.38 ms |
b13b9dd | 465.46 ms | 470.83 ms | 5.37 ms |
f2c6fa5 | 445.15 ms | 449.13 ms | 3.98 ms |
7d3c3cb | 444.85 ms | 456.65 ms | 11.81 ms |
071ae5c | 393.64 ms | 406.60 ms | 12.96 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
a3aad2b | 17.75 MiB | 20.15 MiB | 2.40 MiB |
c352c30 | 17.75 MiB | 20.15 MiB | 2.40 MiB |
e12044e | 17.75 MiB | 20.15 MiB | 2.40 MiB |
531450c | 17.75 MiB | 20.15 MiB | 2.40 MiB |
26286ef | 17.75 MiB | 20.15 MiB | 2.40 MiB |
ab18954 | 17.75 MiB | 20.15 MiB | 2.40 MiB |
b13b9dd | 17.75 MiB | 20.15 MiB | 2.41 MiB |
f2c6fa5 | 17.75 MiB | 20.15 MiB | 2.40 MiB |
7d3c3cb | 17.75 MiB | 20.15 MiB | 2.40 MiB |
071ae5c | 17.75 MiB | 20.15 MiB | 2.41 MiB |
iOS (new) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
bd87539+dirty | 1233.71 ms | 1229.77 ms | -3.94 ms |
1a14c8b+dirty | 1226.04 ms | 1236.96 ms | 10.92 ms |
531450c+dirty | 1225.94 ms | 1229.65 ms | 3.71 ms |
4e2cbd2+dirty | 1207.25 ms | 1217.52 ms | 10.27 ms |
398e5d0+dirty | 1226.17 ms | 1232.82 ms | 6.65 ms |
ec2a485+dirty | 1209.65 ms | 1229.18 ms | 19.53 ms |
d18ddb1+dirty | 1200.88 ms | 1214.57 ms | 13.69 ms |
7d3c3cb+dirty | 1214.56 ms | 1234.53 ms | 19.97 ms |
38a1af2+dirty | 1211.57 ms | 1219.27 ms | 7.70 ms |
9167f73+dirty | 1219.47 ms | 1234.39 ms | 14.92 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
bd87539+dirty | 3.19 MiB | 4.36 MiB | 1.17 MiB |
1a14c8b+dirty | 3.19 MiB | 4.36 MiB | 1.17 MiB |
531450c+dirty | 3.19 MiB | 4.36 MiB | 1.17 MiB |
4e2cbd2+dirty | 3.19 MiB | 4.35 MiB | 1.17 MiB |
398e5d0+dirty | 3.19 MiB | 4.35 MiB | 1.17 MiB |
ec2a485+dirty | 3.19 MiB | 4.35 MiB | 1.17 MiB |
d18ddb1+dirty | 3.19 MiB | 4.36 MiB | 1.17 MiB |
7d3c3cb+dirty | 3.19 MiB | 4.35 MiB | 1.16 MiB |
38a1af2+dirty | 3.19 MiB | 4.35 MiB | 1.17 MiB |
9167f73+dirty | 3.19 MiB | 4.35 MiB | 1.17 MiB |
iOS (legacy) Performance metrics 🚀
|
Revision | Plain | With Sentry | Diff |
---|---|---|---|
bd87539+dirty | 1219.29 ms | 1220.09 ms | 0.80 ms |
1a14c8b+dirty | 1213.39 ms | 1207.80 ms | -5.60 ms |
531450c+dirty | 1226.67 ms | 1233.10 ms | 6.43 ms |
4e2cbd2+dirty | 1223.00 ms | 1236.12 ms | 13.12 ms |
398e5d0+dirty | 1225.30 ms | 1219.94 ms | -5.36 ms |
d18ddb1+dirty | 1209.74 ms | 1209.65 ms | -0.10 ms |
38a1af2+dirty | 1210.07 ms | 1212.75 ms | 2.68 ms |
9167f73+dirty | 1230.79 ms | 1230.63 ms | -0.17 ms |
bdb324a+dirty | 1229.33 ms | 1236.61 ms | 7.29 ms |
940bd65+dirty | 1216.88 ms | 1225.23 ms | 8.35 ms |
App size
Revision | Plain | With Sentry | Diff |
---|---|---|---|
bd87539+dirty | 2.63 MiB | 3.80 MiB | 1.17 MiB |
1a14c8b+dirty | 2.63 MiB | 3.80 MiB | 1.17 MiB |
531450c+dirty | 2.63 MiB | 3.80 MiB | 1.17 MiB |
4e2cbd2+dirty | 2.63 MiB | 3.79 MiB | 1.15 MiB |
398e5d0+dirty | 2.63 MiB | 3.79 MiB | 1.15 MiB |
d18ddb1+dirty | 2.63 MiB | 3.80 MiB | 1.17 MiB |
38a1af2+dirty | 2.63 MiB | 3.79 MiB | 1.15 MiB |
9167f73+dirty | 2.63 MiB | 3.79 MiB | 1.15 MiB |
bdb324a+dirty | 2.63 MiB | 3.79 MiB | 1.15 MiB |
940bd65+dirty | 2.63 MiB | 3.78 MiB | 1.15 MiB |
After further validation
|
antonis
approved these changes
Jul 17, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for fixing this @lucas-zimerman 🙇
LGTM 🎸
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📢 Type of change
📜 Description
PNPM has a different way of linking sub modules, breaking commong node resolution for
@sentry/cli
.💡 Motivation and Context
The fix is try to get the
@sentry/cli
the original way. If that fails, try to read the file that pnpm generated, when parsing that file we can check the exact location that pnpm stored @sentry/cli on the project.Example of the file generated by PNPM
sentry-cli
:Fixes #4939
💚 How did you test it?
On a Linux and MacOS device doing production builds.
📝 Checklist
sendDefaultPII
is enabled🔮 Next steps