Repository navigation
ci: bump timeout to 45m, match flavored APK outputs - #47
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Mira PR WalkthroughThis PR addresses two CI/build issues: increases the GitHub Actions timeout from 30 to 45 minutes to prevent false failures on cold self-hosted runners, and updates the APK artifact glob pattern to correctly capture flavored build outputs (github/play) instead of only the default debug folder. 4 files reviewed
|
Kern runs are failing fleet-wide on repo.maven.apache.org 429s (nativeruntime-dist-compat for Robolectric unit tests). Google hosts a full read-only mirror — trying it before central avoids the rate limit without changing resolution semantics. Release runs also die on 'Cannot convert "" to File' when NOTHING_MODES_KEYSTORE arrives empty (kern GITHUB_ENV propagation); empty now falls back to the debug key like a missing var. Authored By: TDvorak <info@tdvorak.dev> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The 429 fix holds — the daemon now dies mid-build, OOM-killed in the job container: 4g daemon heap plus unbounded parallel compiles and Robolectric test forks overcommit the cgroup limit. Cap workers at 3 and run the Kotlin compiler in-process (no separate Kotlin daemon) on CI only; local builds are unaffected. Authored By: TDvorak <info@tdvorak.dev> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
workers.max wasn't enough — the daemon still died at :app compile. Kern job containers run with --memory 6g (KERN_JOB_MEMORY on the fleet); a 4g-heap daemon plus metaspace, native dex and test forks crosses that at peak. Budget the whole cgroup: 2.6g heap, 768m metaspace, max 3 worker forks. Authored By: TDvorak <info@tdvorak.dev> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The OOM fix held — the daemon survived and unit tests finally ran, only to fail inside MavenArtifactFetcher: Robolectric downloads android-all at test time through its own HTTP client, which ignores Gradle repository config and hits the same Central 429. Point the fetcher at the Google mirror via robolectric.dependency.repo.url on every Test task. Authored By: TDvorak <info@tdvorak.dev> Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2 of 4 tasks
This branch was successfully deployed
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.
Summary
timeout-minutes: 30→ 45 — cold self-hosted runners were dying at the cap in the post-build cache step after Gradle had already succeeded; the run read as a CI failure when it was just slow.apk/debug/*.apk→apk/*/debug/*.apk— flavors emitapk/github/debug/andapk/play/debug/; the old glob silently uploaded nothing.Test plan
Generated with Devin