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

feat: CI runs for runtime and buildtime init on mobile #1944

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

Conversation

bitsandfoxes
Copy link
Contributor

@bitsandfoxes bitsandfoxes commented Dec 20, 2024

This PR creates an additional set of artifacts for mobile platforms by overwriting the NativeInitializationTypes in the OptionsConfiguration script from Runtime to BuildTime.
These artifacts get annotated with their init-type and handed off to be run.

While running this I noticed the timeout during initialization intermittently being hit, causing the tests to be flaky.
I'll follow up on this by moving the timeout to the SentryOptions to make them configurable.

#skip-changelog

Copy link
Contributor

github-actions bot commented Dec 20, 2024

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 738a88a

Comment on lines +427 to +428
$results.crashTestPassed = RunTest -Name "crash" -SuccessString "CRASH TEST: Issuing a native crash" -FailureString "CRASH TEST: FAIL"
$results.hasCrashTestPassed = RunTest -Name "has-crashed" -SuccessString "HAS-CRASHED TEST: PASS" -FailureString "HAS-CRASHED TEST: FAIL"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no point in individually retrying those tests. The CrashTestWithServer has its own retry.

@bitsandfoxes bitsandfoxes requested a review from vaind January 17, 2025 14:21
@bitsandfoxes bitsandfoxes marked this pull request as ready for review January 17, 2025 14:21
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