Allow seed preparation to settle widget discovery

Abierto
#1,558 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ios, macos, typescript

Línea de trabajo

Start by locating the seed preparation and shutdown path in the simlock sources and see how initial widget discovery is triggered and when the seed is torn down; the payload names no files, so the first read is the seed lifecycle code. Reproduce on a macOS host with several simulator clones and compare resident memory and widget extension process counts against the ~0.8 GB baseline. Done means either preparation waits for widget icon state to stabilise or an option exists to prepare a seed without default widgets, with the behaviour documented and verified on at least one other host.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

request:new
The problem

On one macOS VM, clones of an iOS simulator seed appeared to repeat initial widget discovery after the seed was shut down. They retained around 40 widget extension processes, with roughly 1.26 GB per simulator versus 0.8 GB after our local workaround. The cause has not been verified independently and these measurements are from one setup.

Who runs into this

Operators running multiple iOS simulators for coding agents on a shared worker.

What you would like to happen

Could seed preparation allow initial widget discovery to finish before shutdown, or provide a way to prepare a seed without the default widgets? Our workaround waits for the widget icon state to stop changing before shutting the seed down. It would be useful to check whether this helps on other hosts and runtimes.

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de callstackincubator/simlock

Todos los issues de callstackincubator/simlock

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.