callstack / callstack/agent-device
iOS runner watchdog stalls for minutes on a large accessibility tree, and close/open does not recover it
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 4.7k
- Fork
- 303
- Merge medio
- 10h 42m
- PR unite (30g)
- 493
Descrizione
What happened
agent-device 0.21.1, iOS simulator, a React Native app whose Home screen holds a long chat list. The first snapshot or press ... --settle on that screen makes the runner crawl the tree for two to three minutes; every command in that window returns:
The iOS runner is still finishing a previous command that exceeded its execution watchdog
agent-device close followed by open on the same session does not stop the crawl; the runner keeps going until its own restart. Seen on every run of a multi-run test (five runs, two days). A queued press after the stall sometimes did not land at all.
Proposal
Bound the crawl (depth or node count) with a partial result and a note, rather than exceeding the watchdog; and have close actually abort the in-flight command so a fresh open starts clean.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci nel simulatore iOS con una schermata React Native contenente un grande albero di accessibilità, iniziando con snapshot o press ... --settle. Traccia il crawl dell’albero di accessibilità e il watchdog di esecuzione, quindi esamina come close gestisce un comando in corso. Il lavoro è completo quando gli alberi grandi restituiscono un risultato parziale con limite e una nota, e close seguito da open interrompe il crawl precedente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, react-native, typescript
- Ambito
- mobile, performance, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100