Android snapshot helper: a capture cancelled in its first milliseconds stalls the next capture
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- android, typescript
Línea de trabajo
Start with packages/platform-android/src/__tests__/snapshot-helper-session.test.ts and read the test named “cancels a stalled snapshot, retires its helper, and starts the next capture cleanly.” Trace how that test triggers cancellation and how the helper is retired or reused; the issue does not name the implementation file. Done means the test explicitly exercises cancellation at the risky early points and confirms the next capture starts within its normal budget.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Found while working on #4021 (#4005). This happens on main's sources and was not introduced by that PR.
Symptom. In CI Coverage, packages/platform-android/src/__tests__/snapshot-helper-session.test.ts › "cancels a stalled snapshot, retires its helper, and starts the next capture cleanly" timed out at 5 s (run 40711232553).
Trigger. The test aborts the stalled capture with a fixed 10 ms timer. When the same flow is aborted 0–2 ms in instead, the next capture hangs for more than 3 s. This reproduces on main's sources and on #4021 alike. On a slow CI host the 10 ms abort lands early in the flow, which turns this into an intermittent timeout.
Possible product impact. If a real snapshot is cancelled right after it starts, the next capture on that device may stall instead of starting cleanly. That fits the "persistent session didn't answer" runs reported in #4005 and #3929.
Required behavior.
- A capture cancelled at any point leaves the helper retired or reusable.
- The next capture starts within its normal budget.
- The test drives the abort at the risky points explicitly, rather than through a wall-clock timer.
- Lenguaje dominante
- TypeScript
- Estrellas
- 5.2k
- Forks
- 359
- Merge medio
- 12 h 54 min
- PR fusionados (30 d)
- 637
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
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 callstack/agent-device
-
bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
callstack/agent-device#4018 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
callstack/agent-device#3945 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Limrun iOS fill reports success but drops non-ASCII textPosiblemente ocupada @mvanhorn la tomó hace 8 días. Abiertobug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
callstack/agent-device#3819 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
callstack/agent-device#1869 ·
Los mantenedores suelen responder en 1 día
-
backlog bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
callstack/agent-device#4026 ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstack/agent-device
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Graphify-Labs/graphify#4860 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
sveltejs/eslint-plugin-svelte#1615 ·
Los mantenedores suelen responder en 7 días
-
Parallel reticle_verify opens per-flow leases without the source lease's ignoreHTTPSErrorsPosiblemente ocupada @as992949791 la tomó hoy. Abiertogood first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
reticlehq/reticle#2033 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día