• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / libwallet / 26149901334 / 1
22%
master: 22%

Build:
DEFAULT BRANCH: master
Ran 20 May 2026 08:10AM UTC
Files 121
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2026 08:08AM UTC coverage: 22.26%. Remained the same
26149901334.1

push

github

MagicalTux
ci/dart-test: reset CoreSimulator state instead of creating fresh sims

We've been creating a new simulator per job (Xcode preinstalls a
default pool, but we picked a model + runtime ourselves and ran
`simctl create` to get a "fresh" device). Two things were wrong
with that:

  1. The device-type picker — `supportedDeviceTypes | last` —
     picked whatever Apple's array order happens to put last. On
     macos-latest with the current Xcode + runtime install that
     landed on iPhone-XS-Max instead of iPhone 16 Pro Max,
     visible in the failing job's `simctl list devices -j` dump.
     A 2018 device built against a 2018 SDK and launched on a
     2025 runtime hit FBOpenApplicationServiceErrorDomain at
     `flutter test`'s install-then-launch step with "Simulator
     device failed to launch
     com.karpeleslabs.libwallet.libwalletTestApp" — the failure
     mode this commit ends.

  2. Creating a new device doesn't reset the CoreSimulator
     service's per-runner state. The installd / FrontBoard
     corruption that motivated the fresh-sim workaround in the
     first place lives in the SHARED CoreSimulator service, not
     in any one device's state, and survives across simctl
     create/delete cycles. Other Flutter+iOS CI pipelines on the
     same hosted-runner pool never hit this because they don't
     create new sims; they use the preinstalled pool and rely on
     `simctl erase` to clear per-device state.

Replace the create-fresh-sim path with the well-trodden pattern:

  - `simctl shutdown all` + `simctl erase all` at job start to
    clear CoreSimulator state cleanly without recreating devices.
  - `killall Simulator` to clear any orphan Simulator.app
    processes from prior runs on the same runner.
  - Pick the highest-numbered iPhone from `simctl list devices
    available -j`, parsed by model + variant rank (base < Plus <
    Pro < Pro Max) so iPhone 16 Pro Max beats iPhone 16 even
    when they share a model number — the previou... (continued)

3918 of 17601 relevant lines covered (22.26%)

107.87 hits per line

Source Files on job 26149901334.1
  • Tree
  • List 121
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26149901334
  • 4109493d on github
  • Prev Job for on master (#26148353421.1)
  • Next Job for on master (#26151523856.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc