Repository navigation
ci(demo): Run the demo on Windows, iOS and Android - #18
Draft
bitsandfoxes wants to merge 4 commits into
Draft
bitsandfoxes wants to merge 4 commits into
bitsandfoxes wants to merge 4 commits into
Conversation
Pull request builds report to the test project, main to the demo org. Scheduled runs take each platform's newest player on main: desktop every 10 minutes, mobile every 20. ci.yml runs the Windows demo once its player is built and the mobile demos once the build chain is through. Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
…nels The ubuntu-24.04-arm image now boots a 7.0 azure kernel, which has no linux-modules-extra package, so the Android demo failed before Redroid started. Load binder_linux first and install the extra modules only when the module isn't there. Co-Authored-By: Claude <noreply@anthropic.com>
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
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.
Problem
Only the Windows player runs the demo today. The iOS, Android, Linux and macOS run jobs in
run-demo.ymlare switched off, so the demo faults never reach Sentry from a mobile device. Every run, including those on pull requests, reports to the demo org, so a PR can't show whether its events arrive and group correctly without adding to the demo org's data.How
Diagram source
Every CI run runs the demo on Windows, iOS and Android against the players it built. Windows starts as soon as its player is ready. iOS and Android start once the build chain is through. On main, the cron runs the desktop demo every 10 minutes and the mobile demos every 20, each on main's newest player for that platform. "Run Demo Builds" can also be started by hand with an optional
platformslist (for exampleios,android, no spaces). Linux and macOS run only when the list names them.Pull request builds take the
TEST_*secrets for the DSN, the symbol upload and the build fingerprint. A PR's players therefore report to the test project and upload their symbols there. Push, main and scheduled runs keep the demo org.run-demo.ymlnow resolves a player run id per platform instead of only Windows.ci.ymlcalls it twice, once for Windows and once for mobile, and always passes an explicit platform list. In a called workflow thegithubcontext belongs to the caller, so the build workflow's own weekly cron would otherwise look like a schedule to the demo jobs. The desktop run step times out after 5 minutes, down from 10.Caveats
cancel-in-progress, so a newer CI run on any branch cancels the one in progress, including its mobile demo. On main, the scheduled demo carries on from the players that run uploaded. A cancelled pull request run loses its mobile demo, so re-run the job.