You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
E2E CI: cache mobile wheel downloads and keep app logs from failed shards #122
Two gaps in .github/workflows/e2e.yml made the E2E runs on #120 slower to get green than they needed to be.
Network flakes fail whole shards. Each shard's app build downloads mobile wheels (numpy's iOS simulator wheel, for example) from pypi.anaconda.org. On ff42ecee that host timed out, and the e2e-ios (nav-gestures-layout-styling) shard failed before any flow ran. A rerun costs a full E2E round, about 50 minutes. Fix: cache the wheels across runs with actions/cache (keyed on the requirements and platform), retry the fetch with backoff, or both. #119 is the same kind of problem for Android SDK and Robolectric downloads.
Failed shards don't keep the app's logs. On failure the workflow uploads Maestro's debug output (screenshots, view hierarchies, command logs), but not the app's own output. Capture xcrun simctl spawn booted log stream on iOS and adb logcat on Android to a file during the run, and upload it with the existing failure artifact. Python tracebacks and native errors from CI would then be visible without reproducing the failure locally.
Done when: a forced failure on a test branch uploads the app logs, and the wheel fetch survives a slow or failing index.
Activity