Skip to content

Conversation

@alwx
Copy link
Contributor

@alwx alwx commented Nov 17, 2025

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

When working on this PR I intentionally skipped the refactoring in order to ship the needed fix faster. This PR, however, finally manages two things:

  1. It updates the code of sentryMetroSerializer.ts to use one general function for debug IDs calculation;
  2. It adds a bunch of tests for this function.

📝 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

#skip-changelog

@alwx alwx self-assigned this Nov 17, 2025
@alwx alwx marked this pull request as ready for review November 17, 2025 10:52
@alwx
Copy link
Contributor Author

alwx commented Nov 17, 2025

This change is not going to affect any of the SDK customers => no changelog entry.

@antonis antonis added the ready-to-merge Triggers the full CI test suite label Nov 17, 2025
@github-actions
Copy link
Contributor

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 409.02 ms 429.37 ms 20.34 ms
Size 43.75 MiB 48.02 MiB 4.27 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
1e7a472+dirty 348.80 ms 362.55 ms 13.75 ms
77061ed+dirty 369.55 ms 408.35 ms 38.80 ms
a0b15d6 423.06 ms 437.77 ms 14.71 ms
e07935d+dirty 448.82 ms 489.10 ms 40.29 ms
e2fa43d 451.68 ms 462.42 ms 10.74 ms
c7f264b 434.98 ms 452.96 ms 17.98 ms
4604da9+dirty 366.44 ms 398.10 ms 31.66 ms
785ffb1 471.92 ms 460.96 ms -10.96 ms
5c16cdc+dirty 423.48 ms 452.35 ms 28.88 ms
69602ce 417.47 ms 443.52 ms 26.05 ms

App size

Revision Plain With Sentry Diff
1e7a472+dirty 17.75 MiB 19.70 MiB 1.96 MiB
77061ed+dirty 17.75 MiB 19.68 MiB 1.94 MiB
a0b15d6 17.75 MiB 20.15 MiB 2.41 MiB
e07935d+dirty 43.75 MiB 47.99 MiB 4.24 MiB
e2fa43d 17.75 MiB 20.15 MiB 2.41 MiB
c7f264b 17.75 MiB 19.68 MiB 1.94 MiB
4604da9+dirty 17.75 MiB 19.74 MiB 2.00 MiB
785ffb1 17.75 MiB 20.15 MiB 2.41 MiB
5c16cdc+dirty 17.75 MiB 19.68 MiB 1.94 MiB
69602ce 17.75 MiB 19.68 MiB 1.94 MiB

@github-actions
Copy link
Contributor

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 374.04 ms 397.82 ms 23.77 ms
Size 43.94 MiB 48.85 MiB 4.91 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
0b64753+dirty 358.55 ms 429.16 ms 70.61 ms
e07935d+dirty 380.10 ms 377.48 ms -2.62 ms
90edad7+dirty 372.57 ms 398.83 ms 26.26 ms
5ee3314+dirty 358.69 ms 394.00 ms 35.31 ms
df83aad+dirty 493.94 ms 521.76 ms 27.82 ms
4a17c8f+dirty 368.54 ms 381.43 ms 12.89 ms
4604da9+dirty 292.27 ms 314.16 ms 21.90 ms
59f3a84+dirty 359.69 ms 407.54 ms 47.86 ms
3bd3f0d+dirty 334.38 ms 402.19 ms 67.81 ms
eb07ba3+dirty 419.49 ms 482.12 ms 62.63 ms

App size

Revision Plain With Sentry Diff
0b64753+dirty 7.15 MiB 8.42 MiB 1.27 MiB
e07935d+dirty 43.94 MiB 48.82 MiB 4.88 MiB
90edad7+dirty 7.15 MiB 8.43 MiB 1.28 MiB
5ee3314+dirty 7.15 MiB 8.43 MiB 1.28 MiB
df83aad+dirty 43.94 MiB 48.82 MiB 4.88 MiB
4a17c8f+dirty 43.94 MiB 48.82 MiB 4.88 MiB
4604da9+dirty 7.15 MiB 8.46 MiB 1.31 MiB
59f3a84+dirty 7.15 MiB 8.43 MiB 1.28 MiB
3bd3f0d+dirty 7.15 MiB 8.43 MiB 1.28 MiB
eb07ba3+dirty 7.15 MiB 8.42 MiB 1.27 MiB

@github-actions
Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1208.78 ms 1211.04 ms 2.27 ms
Size 3.41 MiB 4.58 MiB 1.17 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b7aa1aa+dirty 1232.55 ms 1234.16 ms 1.61 ms
6479fd5+dirty 1207.80 ms 1215.12 ms 7.32 ms
eb07ba3+dirty 1214.49 ms 1221.59 ms 7.10 ms
49ef936+dirty 1221.27 ms 1221.60 ms 0.34 ms
a31630c+dirty 1241.32 ms 1226.98 ms -14.34 ms
5ee3314+dirty 1234.25 ms 1235.44 ms 1.19 ms
652f785+dirty 1216.42 ms 1212.21 ms -4.21 ms
e07935d+dirty 1225.85 ms 1227.72 ms 1.87 ms
3e0a5f9+dirty 1233.65 ms 1239.10 ms 5.45 ms
88890fe+dirty 1219.00 ms 1222.08 ms 3.08 ms

App size

Revision Plain With Sentry Diff
b7aa1aa+dirty 3.19 MiB 4.58 MiB 1.39 MiB
6479fd5+dirty 3.19 MiB 4.53 MiB 1.35 MiB
eb07ba3+dirty 3.19 MiB 4.38 MiB 1.19 MiB
49ef936+dirty 3.19 MiB 4.54 MiB 1.36 MiB
a31630c+dirty 3.19 MiB 4.54 MiB 1.36 MiB
5ee3314+dirty 3.19 MiB 4.55 MiB 1.37 MiB
652f785+dirty 3.41 MiB 4.57 MiB 1.16 MiB
e07935d+dirty 3.41 MiB 4.58 MiB 1.17 MiB
3e0a5f9+dirty 3.19 MiB 4.38 MiB 1.19 MiB
88890fe+dirty 3.19 MiB 4.57 MiB 1.38 MiB

@github-actions
Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1228.61 ms 1219.96 ms -8.65 ms
Size 3.41 MiB 4.58 MiB 1.17 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b7aa1aa+dirty 1234.35 ms 1241.61 ms 7.27 ms
6479fd5+dirty 1228.48 ms 1231.32 ms 2.84 ms
eb07ba3+dirty 1222.46 ms 1220.37 ms -2.08 ms
49ef936+dirty 1228.42 ms 1217.09 ms -11.33 ms
a31630c+dirty 1229.09 ms 1230.94 ms 1.85 ms
5ee3314+dirty 1215.18 ms 1207.64 ms -7.54 ms
652f785+dirty 1219.66 ms 1223.62 ms 3.96 ms
e07935d+dirty 1217.37 ms 1211.44 ms -5.93 ms
3e0a5f9+dirty 1226.94 ms 1230.02 ms 3.08 ms
88890fe+dirty 1219.20 ms 1231.00 ms 11.80 ms

App size

Revision Plain With Sentry Diff
b7aa1aa+dirty 2.63 MiB 4.01 MiB 1.38 MiB
6479fd5+dirty 2.63 MiB 3.96 MiB 1.33 MiB
eb07ba3+dirty 2.63 MiB 3.81 MiB 1.18 MiB
49ef936+dirty 2.63 MiB 3.98 MiB 1.34 MiB
a31630c+dirty 2.63 MiB 3.98 MiB 1.34 MiB
5ee3314+dirty 2.63 MiB 3.99 MiB 1.35 MiB
652f785+dirty 3.41 MiB 4.57 MiB 1.16 MiB
e07935d+dirty 3.41 MiB 4.58 MiB 1.17 MiB
3e0a5f9+dirty 2.63 MiB 3.81 MiB 1.18 MiB
88890fe+dirty 2.63 MiB 4.00 MiB 1.37 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 🚀

@alwx alwx merged commit 3401245 into main Nov 17, 2025
92 of 96 checks passed
@alwx alwx deleted the alwx/improvement/bundle-id-generation-update branch November 17, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants