Slim: turn a slim feature on for a leased simulator when a tool first needs it

Ouverte
#2,106 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
28/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
ios, typescript

Piste de recherche

Start by reading ADR 0066, issue #2100, and the referenced simslim v0.14.0 live.go path to understand the existing feature activation approaches. The issue leaves open whether to lift a service override live or restart the leased simulator, with tradeoffs around incomplete service discovery and lost app sessions. Done means defining and implementing a reliable first-command activation and retry flow.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

platform:ios request:new

The problem

#2100 lets a slim iOS lease name the slim features it needs (--needs push,contacts), and Simlock writes them on before the simulator boots. A suite still has to know its needs up front. A tool that drives the simulator (agent-device) knows when a command needs a service: importing a contact, setting a location, sending a push, opening the photo picker.

Proposal

The "better still" part of #1688, left out of #2100: on the first command that needs a slim feature, the tool asks Simlock to turn it on for the leased simulator, then retries. Suites would declare nothing, and only what they use would ever run.

What is known

ADR 0066 tried turning services on in a running simulator (launchctl enable and bootstrap through simctl spawn) on iOS 26.4 and rejected it: launchd could not find 10 of the 26 services that way (they ship under another plist name or are XPC services started on demand), and the steps run inside the simulator, where heavy load has cut them short before (#206). simslim v0.14.0's live.go reads each plist's Label and lifts the override alone for the rest; that path is untested here. Restarting the leased simulator with the feature written on would work, but ends every app and session inside it.

Written by an agent.

Langage dominant
TypeScript
Étoiles
730
Forks
44
Merge moyen
15 h 44 min
PR mergées (30 j)
378

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de callstackincubator/simlock

Toutes les issues de callstackincubator/simlock

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.