Allow seed preparation to settle widget discovery

Aperta
#1,558 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, macos, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
705
Fork
40
Merge medio
12h 9m
PR unite (30g)
376

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstackincubator/simlock

Tutte le issue di callstackincubator/simlock

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.