Slim: nothing optional by default, a lease declares the capabilities it needs
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- infrastructure, mobile-dev
Línea de trabajo
Start by reading ADR 0066 and issue #1650 to understand the current except and ios.slim.include/exclude behavior. Then trace lease resolution and simlock's service categories to assess how capability mappings, defaults, and deviceMode: full would fit. Done means slim devices start with optional services disabled and leases can request capabilities; the issue also leaves open whether agent-device should enable capabilities on demand.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The problem
Slim mode is subtractive: a worker turns off its slim categories, and a lease keeps whole categories back with except (ADR 0066), or individual services through ios.slim.include/exclude (#1650). The caller has to know what simlock turns off and argue against it.
That makes slim conservative in practice. Even with every category on, a slim iOS 26 simulator still runs about 85 system processes (a full one runs about 217), including daemons most UI suites never touch: nanoregistryd/nanoprefsyncd (Watch pairing), routined, geod, mobiletimerd, eventkitsyncd, donotdisturbd, mediaremoted. On a busy Mac, CPU is what limits how many devices a worker can host, so every idle daemon costs capacity.
Proposal: nothing optional by default, a lease asks for what it needs
Turn the model around:
- A slim device starts with every optional service off: all current categories, plus the single services above.
- A lease declares what it needs, by capability rather than launchd label, e.g.
needs: ["contacts", "location", "notifications", "calendar", "photos", "push", "storekit", "keychain-sharing"]. simlock maps each capability to its labels. - An unknown capability is refused at resolve, as
exceptis today. exceptanddeviceMode: fullbecome special cases:full= every capability,except= needs expressed as categories.
Better still: the tool asks for it
agent-device knows when a command needs a service: importing a contact, setting a location, sending a push, opening the photo picker. On the first such command it could ask simlock to switch that capability on for the leased device (launchctl enable + kickstart inside the simulator) and then retry, so suites declare nothing and only what they use ever runs. The capability list is still needed for services that must be up before the app starts.
Why it matters
- Smaller per-device CPU and memory, so more devices per host.
- A suite's dependencies become explicit and are reported in the lease record, instead of discovered by a failing test on a slimmer worker.
- Lenguaje dominante
- TypeScript
- Estrellas
- 705
- Forks
- 40
- Merge medio
- 12 h 9 min
- PR fusionados (30 d)
- 376
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de callstackincubator/simlock
-
request:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstackincubator/simlock#1806 ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
callstackincubator/simlock#1780 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
task:draft
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
callstackincubator/simlock#1441 ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
callstackincubator/simlock#1805 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug:new
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
callstackincubator/simlock#1804 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstackincubator/simlock
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Update project links after the repository renamesPosiblemente ocupada @JonathanTSilva la tomó hoy. Abiertoai-generated priority: p2 size: xs type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
JonathanTSilva/jts-website#119 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
promplate/code-review#158 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Docs] CONTRIBUTING points the Backend Remake milestone at a branch that does not existPosiblemente ocupada @franpts2 la tomó hoy. Abiertodocs
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
Los mantenedores suelen responder en 3 días