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

fix(xcode): Avoid silent failure when JS bundle creation fails due to Sentry Xcode scripts #4690

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

krystofwoldrich
Copy link
Member

Before: finishes with errors, which means the app might be missing the js bundle

Screenshot 2025-03-26 at 11 10 09

After: build fails (and only if explicitly allowed to continue silently then it continues)

Screenshot 2025-03-26 at 11 09 33

Copy link
Contributor

github-actions bot commented Mar 26, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 388.71 ms 394.50 ms 5.79 ms
Size 7.15 MiB 8.40 MiB 1.25 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
5a22220+dirty 384.61 ms 419.06 ms 34.45 ms
7bc4d75+dirty 420.96 ms 472.25 ms 51.29 ms
e540498+dirty 408.56 ms 480.00 ms 71.44 ms
9de3d45+dirty 496.47 ms 532.26 ms 35.79 ms
9433f35+dirty 265.50 ms 336.08 ms 70.58 ms
686b3bc+dirty 363.48 ms 356.17 ms -7.31 ms
205982c+dirty 383.94 ms 424.98 ms 41.04 ms
8900e1a+dirty 371.40 ms 377.70 ms 6.31 ms
3aecc61+dirty 375.18 ms 442.58 ms 67.40 ms
800171e+dirty 432.15 ms 549.63 ms 117.48 ms

App size

Revision Plain With Sentry Diff
5a22220+dirty 7.15 MiB 8.21 MiB 1.06 MiB
7bc4d75+dirty 7.15 MiB 8.35 MiB 1.20 MiB
e540498+dirty 7.15 MiB 8.38 MiB 1.23 MiB
9de3d45+dirty 7.15 MiB 8.40 MiB 1.24 MiB
9433f35+dirty 7.15 MiB 8.08 MiB 959.34 KiB
686b3bc+dirty 7.15 MiB 8.38 MiB 1.23 MiB
205982c+dirty 7.15 MiB 8.38 MiB 1.23 MiB
8900e1a+dirty 7.15 MiB 8.03 MiB 901.79 KiB
3aecc61+dirty 7.15 MiB 8.38 MiB 1.23 MiB
800171e+dirty 7.15 MiB 8.38 MiB 1.23 MiB

Previous results on branch: kw-fix-silent-xcode-failure

Startup times

Revision Plain With Sentry Diff
568bef1+dirty 379.85 ms 376.20 ms -3.64 ms

App size

Revision Plain With Sentry Diff
568bef1+dirty 7.15 MiB 8.40 MiB 1.24 MiB

Copy link
Contributor

github-actions bot commented Mar 26, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1225.12 ms 1224.04 ms -1.08 ms
Size 2.63 MiB 3.76 MiB 1.13 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b7eb05d+dirty 1215.71 ms 1221.38 ms 5.67 ms
ae2f6bc+dirty 1226.13 ms 1227.71 ms 1.58 ms
ea85ff8+dirty 1220.35 ms 1220.73 ms 0.39 ms
9cd0e9f+dirty 1224.94 ms 1239.88 ms 14.94 ms
10e6a21+dirty 1224.53 ms 1231.96 ms 7.43 ms
acadc0f+dirty 1264.38 ms 1290.06 ms 25.68 ms
80e955a+dirty 1227.94 ms 1230.26 ms 2.32 ms
f54118b+dirty 1232.98 ms 1235.73 ms 2.76 ms
5fe8312+dirty 1222.06 ms 1220.56 ms -1.51 ms
7d161c0+dirty 1215.20 ms 1218.64 ms 3.43 ms

App size

Revision Plain With Sentry Diff
b7eb05d+dirty 2.63 MiB 3.75 MiB 1.12 MiB
ae2f6bc+dirty 2.63 MiB 3.70 MiB 1.06 MiB
ea85ff8+dirty 2.63 MiB 3.76 MiB 1.13 MiB
9cd0e9f+dirty 2.36 MiB 3.08 MiB 735.56 KiB
10e6a21+dirty 2.63 MiB 3.75 MiB 1.12 MiB
acadc0f+dirty 2.36 MiB 2.83 MiB 480.37 KiB
80e955a+dirty 2.63 MiB 3.70 MiB 1.06 MiB
f54118b+dirty 2.36 MiB 3.10 MiB 757.51 KiB
5fe8312+dirty 2.63 MiB 3.70 MiB 1.06 MiB
7d161c0+dirty 2.63 MiB 3.75 MiB 1.12 MiB

Previous results on branch: kw-fix-silent-xcode-failure

Startup times

Revision Plain With Sentry Diff
568bef1+dirty 1231.80 ms 1235.29 ms 3.50 ms

App size

Revision Plain With Sentry Diff
568bef1+dirty 2.63 MiB 3.76 MiB 1.13 MiB

Copy link
Contributor

github-actions bot commented Mar 26, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1215.35 ms 1220.71 ms 5.37 ms
Size 3.19 MiB 4.33 MiB 1.14 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
b7eb05d+dirty 1234.69 ms 1242.52 ms 7.83 ms
ae2f6bc+dirty 1220.82 ms 1217.93 ms -2.88 ms
ea85ff8+dirty 1211.96 ms 1211.85 ms -0.11 ms
9cd0e9f+dirty 1244.61 ms 1247.43 ms 2.82 ms
10e6a21+dirty 1244.04 ms 1256.80 ms 12.76 ms
acadc0f+dirty 1271.12 ms 1272.28 ms 1.16 ms
80e955a+dirty 1243.63 ms 1245.58 ms 1.95 ms
f54118b+dirty 1235.42 ms 1236.80 ms 1.38 ms
5fe8312+dirty 1235.07 ms 1220.41 ms -14.66 ms
7d161c0+dirty 1239.57 ms 1250.46 ms 10.89 ms

App size

Revision Plain With Sentry Diff
b7eb05d+dirty 3.19 MiB 4.32 MiB 1.13 MiB
ae2f6bc+dirty 3.19 MiB 4.26 MiB 1.08 MiB
ea85ff8+dirty 3.19 MiB 4.33 MiB 1.14 MiB
9cd0e9f+dirty 2.92 MiB 3.64 MiB 741.23 KiB
10e6a21+dirty 3.19 MiB 4.32 MiB 1.13 MiB
acadc0f+dirty 2.92 MiB 3.39 MiB 487.34 KiB
80e955a+dirty 3.19 MiB 4.26 MiB 1.08 MiB
f54118b+dirty 2.92 MiB 3.67 MiB 770.05 KiB
5fe8312+dirty 3.19 MiB 4.26 MiB 1.08 MiB
7d161c0+dirty 3.19 MiB 4.32 MiB 1.13 MiB

Previous results on branch: kw-fix-silent-xcode-failure

Startup times

Revision Plain With Sentry Diff
568bef1+dirty 1246.33 ms 1250.30 ms 3.97 ms

App size

Revision Plain With Sentry Diff
568bef1+dirty 3.19 MiB 4.33 MiB 1.14 MiB

Base automatically changed from kw-remove-xcode-force-foreground to main March 26, 2025 12:32
Copy link
Contributor

github-actions bot commented Mar 26, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 436.38 ms 437.29 ms 0.91 ms
Size 17.75 MiB 20.13 MiB 2.38 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
abb7058 370.27 ms 389.58 ms 19.31 ms
8fe7c9d 437.52 ms 426.42 ms -11.10 ms
9385d74 432.71 ms 423.56 ms -9.15 ms
3f05680 397.91 ms 405.65 ms 7.74 ms
700cbf4 425.56 ms 436.26 ms 10.70 ms
77680ec 482.22 ms 475.07 ms -7.16 ms
d16beca 448.87 ms 447.20 ms -1.67 ms
c314a21 446.24 ms 439.98 ms -6.26 ms
a5d86e1 465.06 ms 457.83 ms -7.23 ms
24cb2a4 451.04 ms 446.07 ms -4.98 ms

App size

Revision Plain With Sentry Diff
abb7058 17.73 MiB 19.83 MiB 2.10 MiB
8fe7c9d 17.75 MiB 20.11 MiB 2.36 MiB
9385d74 17.74 MiB 20.09 MiB 2.35 MiB
3f05680 17.75 MiB 20.11 MiB 2.37 MiB
700cbf4 17.73 MiB 20.07 MiB 2.33 MiB
77680ec 17.74 MiB 20.08 MiB 2.34 MiB
d16beca 17.74 MiB 20.10 MiB 2.36 MiB
c314a21 17.75 MiB 20.12 MiB 2.37 MiB
a5d86e1 17.74 MiB 20.08 MiB 2.34 MiB
24cb2a4 17.75 MiB 20.11 MiB 2.36 MiB

Previous results on branch: kw-fix-silent-xcode-failure

Startup times

Revision Plain With Sentry Diff
568bef1 387.90 ms 393.56 ms 5.66 ms

App size

Revision Plain With Sentry Diff
568bef1 17.75 MiB 20.13 MiB 2.38 MiB

Copy link
Collaborator

@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.

The code changes LGTM and the build now fails as it should 🚀

I took the liberty to merge from main and revert a script error which I guessed was introduced while testing with dafde95

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