Repository navigation
Reconcile device routing, first screenshots, and simulator benchmarks - #6
Draft
ninan-versioning wants to merge 46 commits into
Draft
ninan-versioning wants to merge 46 commits into
ninan-versioning wants to merge 46 commits into
Conversation
… runner matrix - odr bench: cold, warm and parallel (iOS) sessions to the fixture's first frame via simctl / emulator + adb directly; Android tap-to-change; fixture built from source and excluded from timings. Writes simbench/v1 JSON and a 1200x630 share card (dependency-free PNG encoder, 5x7 pixel font, opendevicerouter.com palette). - odr bench card | submit | validate. submit opens a public issue only when asked. - bench/schema/simbench.schema.json: closed environment block (no hostname, user, serial, UDID); validator recomputes the summary from samples. - Issue form + simbench-intake workflow: issue -> PR into bench/results/simbench/self-reported/; body parsed as JSON only, never shelled. - bench-simbench-matrix workflow: macos-15, macos-26, macos-15-intel (two newest iOS runtimes each) and ubuntu-24.04 Android, weekly; per-session cost estimate from the published runner rate; publishes to main only from main. - summarize.mjs: separate CI-verified and self-reported SimBench tables. - METHODOLOGY: SimBench definitions, tiers and the parallel stop rule (written before any number is published). ROADMAP: benchmark-only posts allowed after gates 1, 3, 4. - README: tagline no longer claims browsers or $0; SimBench usage. Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
…list_providers) Hand-written newline-delimited JSON-RPC 2.0 over stdio, no new dependencies. Handles initialize (protocol 2025-06-18, 2025-03-26, 2024-11-05), notifications, ping, tools/list and tools/call. Tool input is validated by hand; bad input is a tool error, unknown fields are rejected. Never allocates a device or touches a key. docs/agents-without-a-mac.md: routes from a Linux sandbox (own machine, GitHub macOS runner, own-key cloud accounts), key policy for restricted third-party access, and MCP client config. Checked with the MCP Inspector CLI. Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
odr shot boots a fresh simulator or emulator, installs an app, captures the first frame that differs from the pre-launch screen, then a second frame (after a centre tap on Android, settled on iOS), and writes odr.shot/v1 JSON with timings. actions/first-screenshot wraps it: builds the app (xcodebuild or Gradle) or takes a path, posts both frames on the PR from an orphan odr-screenshots branch, and falls back to the job summary plus an artifact on fork PRs. No pass/fail verdict. Co-authored-by: Perplexity <noreply@perplexity.ai>
summarize.mjs writes bench/leaderboard.json (odr.leaderboard/v1) from the same results as RESULTS.md; bench:check fails when it drifts. Rows are listed only for providers whose benchmark_publication is allowed_with_replication or not_applicable; no_clause_found is withheld until the vendor is notified, restricted is never listed, unknown is withheld. GitHub-hosted rows predate the gate and stay listed with terms_checked false. Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
…not the system splash Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
SyncUps (swift-composable-architecture), CountriesSwiftUI and IceCubesApp on macos-26. Job summary and artifact only. Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
…rst change The first changed frame is often the system splash, even after am start -W returns. Keep it as first-change.png; post first-screen.png (held for two polls) and the tap frame. Co-authored-by: Perplexity <noreply@perplexity.ai>
On macos-15 and macos-15-intel, simctl io screenshot kept failing for over 60 s after bootstatus returned, so every cold sample failed. 180 s matches the session SDK default. Co-authored-by: Perplexity <noreply@perplexity.ai>
Same CI behavior as SimBench: simctl screenshots fail for a while after bootstatus returns. Co-authored-by: Perplexity <noreply@perplexity.ai>
On macos-26 one N=2 simulator hit the 5 min bootstatus limit and the result only said "Command failed". Errors now read "timed out after 300 s: ..." when execFile killed the child. Co-authored-by: Perplexity <noreply@perplexity.ai>
… the OSS matrix SyncUps failed in xcodebuild because CI cannot approve TCA's macro packages. The input is off by default and on only for SyncUps. IceCubesApp main does not compile on the runner Xcode. Co-authored-by: Perplexity <noreply@perplexity.ai>
…10 min for boot -sdk iphonesimulator made xcodebuild build TCA's macro host tools against the simulator SDK, so SyncUps could not load ReducerMacro. A busy macos-26 runner took over 5 min to boot one Simulator; odr shot is not a benchmark, so it waits 10 min. SimBench keeps its 5 min cap. Co-authored-by: Perplexity <noreply@perplexity.ai>
Device Farm sessions are created and stopped through the AWS CLI. Free-only routing uses a reconciled meter and refuses when the trial cannot be confirmed. odr onboard walks every registry provider; entries without a session driver stay stubs. Co-authored-by: QA.army Engineering <engineering@qa.army>
Contributor
First screenshot: Android (odr-simbench, system-images;android-34;google_apis;x86_64)
First change is the first frame that differs from the home screen, often the system splash (saved as first-change.png in the artifact). First screen is the frame that then held still for about 1.4 s. Captured by OpenDeviceRouter |
Contributor
First screenshot: iOS (iPhone 17, iOS 26.2, 23C54)
Captured by OpenDeviceRouter |
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.




This candidate integrates #1 (SimBench), #2 (read-only MCP), #3 (first screenshot), #4 (leaderboard), and #5 (Device Farm onboarding) with main. It preserves the five branch histories. The benchmark workflows generate reviewable patches for publication. Archived diagnostics retain timing and bounded failure descriptions.
Candidate package. Two independent locked builds of
3aa724ae4ecc8f7b0563e22f64db6cacd4134619produced the same 117,932-byteopendevicerouter-0.1.0.tgz, SHA-2564697dd16b17d794cd4ad42b6a476efb6663b6f0b0efd704bcd773a3b543af08d. An install from that archive exposed the three expected MCP tools, selected a local iOS simulator in a zero-cost dry run, and preserved a fixture ledger with zero usage and zero reservations.Hosted measurements. Android, macOS 15 on ARM, macOS 26 on ARM, and the first-screenshot checks passed. On macOS 15 Intel with iOS 26.2, one cold simulator booted in 218 seconds and showed the fixture at 484.7 seconds. The warm first frame took 72.4 seconds. The parallel test reached one usable simulator. Both simulators at concurrency two exceeded the unchanged 300-second boot limit. GitHub canceled the Intel job before the second runtime produced evidence. Benchmark workflow · Intel result archive
Routing and evidence. The AWS route accounts for remaining trial minutes, active sessions and local reservations before allocation. It leaves the route unconfirmed when quota refresh fails. It verifies the selected and allocated device identity and reports unavailable interaction before allocation when the driver lacks an interactor. Earlier fixture acceptance exercised first screenshots on an iPhone 16 Pro simulator and an Android API 36 emulator. On Android, tapping the review button produced the expected order receipt. The owned device sessions closed afterward.
The source check passed. Merge requires all required CI and a genuine passing QA.army check for this head and matching archive. Intel CI and the QA.army check remain open. Source CI