Skip to content

E2E CI: cache mobile wheel downloads and keep app logs from failed shards #122

Open

Description

@owenthcarey

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

  1. added
    enhancement
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions