CI runs: prepare each leased device (language, reduce motion, permissions, keychain reset)

Offen
#1,634 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

Start by reading the linked request #1294 and the spec discussion on #327, then compare the existing lease request and named baseline behavior. The issue leaves the central design choices open: whether to add settings to lease requests and whether keychain reset belongs here. Done means the team resolves those choices and defines how CI leases get devices into the required state.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

feature:spec

Request: #1294

Problem

A CI run that leases many devices has to prepare each one by hand. budgie's e2e suite (budgie-at/budgie#1867) runs simctl through POST /v1/leases/<id>/exec on every lease: keyboard and language (AppleKeyboards, AppleLanguages -array en-US), reduce motion, privacy grant contacts|microphone <bundle id>, and a keychain reset before each test, so a PIN one test set can't lock out the next. The lease request has no field for any of this; the Maestro setup it replaces had simulator-reduce-motion and simulator-device inputs.

A named baseline prepared with these settings covers most of it today, but that means one baseline per settings combination, set up by an operator, and the per-test keychain reset is not covered.

Split from #1633 (release every lease of a run) in the spec session of 2026-11-17: the two halves of #1294 share no decision.

Who it is for

A CI job that leases 5–10 simulators per run on a shared farm and needs each one in a known state before its tests.

Open questions

  • Is a named baseline the answer (then document how to make one for a CI suite), or should the lease request also take common settings (language/locale, reduce motion, permission grants for a bundle id)? A spec session on #327 (2026-11-02) kept the rule that Simlock copies devices and runs no setup of its own; settings in the request would change it.
  • Does a keychain reset belong here, or does it need its own call?

Written by an agent.

Vorherrschende Sprache
TypeScript
Sterne
705
Forks
40
Ø Merge
12 Std. 9 Min.
Gemergte PRs (30 T.)
376

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus callstackincubator/simlock

Alle Issues in callstackincubator/simlock

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.