Skip to content

fix: standardise devnet url logic on all platforms - #121

Merged
mpretty-cyro merged 6 commits into
mainfrom
feat-standardise-devnet-url
Aug 5, 2026
Merged

fix: standardise devnet url logic on all platforms#121
mpretty-cyro merged 6 commits into
mainfrom
feat-standardise-devnet-url

Conversation

@Bilb

@Bilb Bilb commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Bilb and others added 3 commits August 4, 2026 11:40
Four review fixes, two of them real bugs:

- The Android APK launch-extra check failed on every devnet run. `grep -q`
  exits on the first match, so the SIGPIPE'd `unzip` made the pipeline exit
  141 under GitHub's `shell: bash` (`-eo pipefail`) — including on an APK
  that DOES support the extra. Use `grep -a -c`, which consumes the stream.
- That check also treated a missing `strings` as a pass. Dropped `strings`
  (binutils, not guaranteed on a runner) for `grep -a`, and added a
  missing-APK guard, so an unverifiable APK can no longer be verified.
- `openAppsWithState` awaited resolveNetworkTarget *inside* the Promise.all
  array, so openAppMultipleDevices had already been invoked before it
  suspended: a mismatch or dead devnet left devices opening with nothing
  awaiting them (leaked Appium sessions + an unhandled rejection). Hoisted,
  so nothing opens until the network is known good.
- Devnet refs were only warned about when they differed. Two live seed nodes
  on two DIFFERENT devnets both probe fine, and the run then seeds through
  one while a client polls the other. resolveNetworkTarget now proves they
  are aliases of one devnet by comparing the service-node registries the
  probe already returns — no extra RPC, no assumption about which oxend
  field carries a chain identity — and fails before selecting or publishing
  the seeder ref. The single-ref path (every platform deriving from
  DEVNET_SEED_URL) is unchanged and still short-circuits.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Bilb
Bilb force-pushed the feat-standardise-devnet-url branch from b3e8e23 to 174b940 Compare August 5, 2026 14:52
@mpretty-cyro
mpretty-cyro merged commit e3ccd16 into main Aug 5, 2026
1 check passed
@mpretty-cyro
mpretty-cyro deleted the feat-standardise-devnet-url branch August 5, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants