Skip to content

Conversation

@lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Jul 28, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

The change only sets .env.sentry-build-plugin when the file exists, making it optional.

💡 Motivation and Context

I have seen multiple users confused thinking that their project has an issue where it's just an optional env variable that is set despite the file not existing, triggering a sentry cli warning.

💚 How did you test it?

CI tests, manual build on Linux/MacOS

📝 Checklist

  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

@lucas-zimerman lucas-zimerman changed the title Ref: make .ent.sentry-build-plugin optional Ref: make .env.sentry-build-plugin optional Jul 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 567.08 ms 567.24 ms 0.16 ms
Size 17.75 MiB 20.15 MiB 2.41 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
9167f73 376.63 ms 384.86 ms 8.23 ms
7a4dd2b 438.83 ms 432.25 ms -6.58 ms
9e3030a 421.47 ms 418.65 ms -2.82 ms
f0b931f 447.12 ms 430.32 ms -16.80 ms
37f7d2e 409.88 ms 418.56 ms 8.68 ms
f25ae46 459.92 ms 451.78 ms -8.14 ms
c352c30 331.98 ms 321.78 ms -10.20 ms
7e38386 431.72 ms 416.34 ms -15.38 ms
bdb324a 422.22 ms 457.88 ms 35.65 ms
ed5d418 376.51 ms 380.43 ms 3.92 ms

App size

Revision Plain With Sentry Diff
9167f73 17.75 MiB 20.15 MiB 2.40 MiB
7a4dd2b 17.75 MiB 20.15 MiB 2.41 MiB
9e3030a 17.75 MiB 20.15 MiB 2.40 MiB
f0b931f 17.75 MiB 20.15 MiB 2.41 MiB
37f7d2e 17.75 MiB 20.15 MiB 2.41 MiB
f25ae46 17.75 MiB 20.15 MiB 2.40 MiB
c352c30 17.75 MiB 20.15 MiB 2.40 MiB
7e38386 17.75 MiB 20.15 MiB 2.41 MiB
bdb324a 17.75 MiB 20.15 MiB 2.40 MiB
ed5d418 17.75 MiB 20.15 MiB 2.41 MiB

Previous results on branch: lz/rem-opt-sbp

Startup times

Revision Plain With Sentry Diff
fa4d483 414.57 ms 411.86 ms -2.71 ms

App size

Revision Plain With Sentry Diff
fa4d483 17.75 MiB 20.15 MiB 2.41 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1216.70 ms 1220.19 ms 3.50 ms
Size 2.63 MiB 3.81 MiB 1.18 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e12044e+dirty 1233.45 ms 1233.66 ms 0.21 ms
d079998+dirty 1238.08 ms 1234.39 ms -3.69 ms
1633d3b+dirty 1221.94 ms 1230.12 ms 8.18 ms
26286ef+dirty 1213.45 ms 1229.96 ms 16.51 ms
d18ddb1+dirty 1209.74 ms 1209.65 ms -0.10 ms
c352c30+dirty 1216.60 ms 1231.37 ms 14.77 ms
ffab994+dirty 1220.71 ms 1222.00 ms 1.29 ms
37f7d2e+dirty 1213.15 ms 1222.61 ms 9.46 ms
ba41c2a+dirty 1232.60 ms 1231.16 ms -1.44 ms
9f3972e+dirty 1231.12 ms 1242.46 ms 11.34 ms

App size

Revision Plain With Sentry Diff
e12044e+dirty 2.63 MiB 3.78 MiB 1.15 MiB
d079998+dirty 2.63 MiB 3.81 MiB 1.18 MiB
1633d3b+dirty 2.63 MiB 3.81 MiB 1.18 MiB
26286ef+dirty 2.63 MiB 3.80 MiB 1.17 MiB
d18ddb1+dirty 2.63 MiB 3.80 MiB 1.17 MiB
c352c30+dirty 2.63 MiB 3.78 MiB 1.15 MiB
ffab994+dirty 2.63 MiB 3.80 MiB 1.17 MiB
37f7d2e+dirty 2.63 MiB 3.81 MiB 1.18 MiB
ba41c2a+dirty 2.63 MiB 3.80 MiB 1.17 MiB
9f3972e+dirty 2.63 MiB 3.81 MiB 1.18 MiB

Previous results on branch: lz/rem-opt-sbp

Startup times

Revision Plain With Sentry Diff
fa4d483+dirty 1216.24 ms 1231.14 ms 14.90 ms

App size

Revision Plain With Sentry Diff
fa4d483+dirty 2.63 MiB 3.81 MiB 1.18 MiB

@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 425.36 ms 478.72 ms 53.36 ms
Size 7.15 MiB 8.42 MiB 1.27 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
6e8a851+dirty 403.44 ms 430.87 ms 27.43 ms
9f3972e+dirty 370.67 ms 401.16 ms 30.49 ms
9f14d9d+dirty 421.40 ms 454.52 ms 33.12 ms
1633d3b+dirty 385.78 ms 452.61 ms 66.83 ms
ff0e5d8+dirty 485.70 ms 569.22 ms 83.52 ms
9167f73+dirty 372.49 ms 389.90 ms 17.41 ms
940bd65+dirty 408.45 ms 419.75 ms 11.30 ms
f76175c+dirty 354.23 ms 378.20 ms 23.97 ms
c352c30+dirty 396.83 ms 378.11 ms -18.72 ms
b4d6bde+dirty 390.51 ms 385.60 ms -4.91 ms

App size

Revision Plain With Sentry Diff
6e8a851+dirty 7.15 MiB 8.42 MiB 1.26 MiB
9f3972e+dirty 7.15 MiB 8.42 MiB 1.27 MiB
9f14d9d+dirty 7.15 MiB 8.42 MiB 1.27 MiB
1633d3b+dirty 7.15 MiB 8.42 MiB 1.27 MiB
ff0e5d8+dirty 7.15 MiB 8.42 MiB 1.27 MiB
9167f73+dirty 7.15 MiB 8.42 MiB 1.26 MiB
940bd65+dirty 7.15 MiB 8.42 MiB 1.26 MiB
f76175c+dirty 7.15 MiB 8.42 MiB 1.26 MiB
c352c30+dirty 7.15 MiB 8.42 MiB 1.26 MiB
b4d6bde+dirty 7.15 MiB 8.42 MiB 1.26 MiB

Previous results on branch: lz/rem-opt-sbp

Startup times

Revision Plain With Sentry Diff
fa4d483+dirty 393.56 ms 423.02 ms 29.46 ms

App size

Revision Plain With Sentry Diff
fa4d483+dirty 7.15 MiB 8.42 MiB 1.27 MiB

@lucas-zimerman lucas-zimerman marked this pull request as ready for review July 28, 2025 16:47
@lucas-zimerman lucas-zimerman requested a review from antonis as a code owner July 28, 2025 16:47
@github-actions
Copy link
Contributor

github-actions bot commented Jul 28, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1232.04 ms 1225.27 ms -6.77 ms
Size 3.19 MiB 4.38 MiB 1.19 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e12044e+dirty 1234.49 ms 1228.85 ms -5.64 ms
d079998+dirty 1221.29 ms 1213.06 ms -8.22 ms
1633d3b+dirty 1221.20 ms 1217.70 ms -3.50 ms
26286ef+dirty 1207.33 ms 1202.27 ms -5.06 ms
d18ddb1+dirty 1200.88 ms 1214.57 ms 13.69 ms
6e8a851+dirty 1222.57 ms 1223.67 ms 1.10 ms
ffab994+dirty 1222.20 ms 1230.69 ms 8.49 ms
37f7d2e+dirty 1217.37 ms 1210.04 ms -7.32 ms
ba41c2a+dirty 1218.92 ms 1221.02 ms 2.10 ms
9f3972e+dirty 1217.65 ms 1229.96 ms 12.31 ms

App size

Revision Plain With Sentry Diff
e12044e+dirty 3.19 MiB 4.35 MiB 1.17 MiB
d079998+dirty 3.19 MiB 4.38 MiB 1.19 MiB
1633d3b+dirty 3.19 MiB 4.38 MiB 1.19 MiB
26286ef+dirty 3.19 MiB 4.36 MiB 1.17 MiB
d18ddb1+dirty 3.19 MiB 4.36 MiB 1.17 MiB
6e8a851+dirty 3.19 MiB 4.35 MiB 1.17 MiB
ffab994+dirty 3.19 MiB 4.36 MiB 1.18 MiB
37f7d2e+dirty 3.19 MiB 4.38 MiB 1.19 MiB
ba41c2a+dirty 3.19 MiB 4.36 MiB 1.17 MiB
9f3972e+dirty 3.19 MiB 4.38 MiB 1.19 MiB

Previous results on branch: lz/rem-opt-sbp

Startup times

Revision Plain With Sentry Diff
fa4d483+dirty 1216.39 ms 1240.21 ms 23.83 ms

App size

Revision Plain With Sentry Diff
fa4d483+dirty 3.19 MiB 4.38 MiB 1.19 MiB

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎸
Thank you for fixing this Lucas 🙇

@lucas-zimerman lucas-zimerman merged commit ac50687 into main Jul 29, 2025
116 of 122 checks passed
@lucas-zimerman lucas-zimerman deleted the lz/rem-opt-sbp branch July 29, 2025 09:14
@antonis antonis mentioned this pull request Sep 26, 2025
10 tasks
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.

3 participants