Android/ColorOS: OplusHans freezes the persistent snapshot helper after idle, causing daemon_transport_timeout instead of one-shot fallback
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
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- android, typescript
- Área
- backend, mobile-dev
Línea de trabajo
Start by tracing the Android snapshot helper’s persistent mode and the timeout path that returns daemon_transport_timeout; compare it with the one-shot instrumentation fallback. Reproduce using the issue’s 50-second idle interval on ColorOS, then identify a change that handles a frozen helper. Done when the later snapshot succeeds or falls back after idle without breaking the initial persistent snapshot.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
On a physical OPPO device running ColorOS 16 / Android 16, the persistent
Android snapshot helper is frozen by ColorOS OplusHans/OFreezer after being
idle for tens of seconds.
The initial snapshot succeeds. After waiting 50 seconds, the next snapshot
fails with daemon_transport_timeout.
Forcing the snapshot helper into one-shot instrumentation mode avoids the
problem.
This reproduces with the current public npm release, [email protected].
This is different from #2364:
- The helper installs successfully.
- The first persistent snapshot is healthy.
- The failure happens later, when ColorOS freezes the already-running helper.
- There is no
INSTALL_FAILED_TEST_ONLYor vendor install error-99.
Environment
| Component | Value |
|---|---|
| agent-device | 0.21.31, fetched directly from registry.npmjs.org |
| Host | Windows 11 Enterprise LTSC, build 26100 |
| Node.js | 24.22.0 |
| npm | 11.9.0 |
| adb | 1.0.41 / platform-tools 37.0.1 |
| Device | OPPO PGT110 physical device over USB |
| Android | 16 |
| ColorOS | V16.0.0 |
| Snapshot helper | 0.21.31 |
The screen was on and unlocked. adb devices -l continued to report the
device as device.
Minimal reproduction
PowerShell:
$env:npm_config_registry = 'https://registry.npmjs.org/'
$env:AGENT_DEVICE_STATE_DIR = "$PWD\.agent-device-coloros-repro"
npx --yes --package [email protected] agent-device open <APP_PACKAGE> `
--platform android `
--session coloros-freeze-repro `
--foreground `
--json
Start-Sleep -Seconds 50
npx --yes --package [email protected] agent-device snapshot `
-i `
-d 0 `
--session coloros-freeze-repro `
--timeout 10000 `
--json
- Lenguaje dominante
- TypeScript
- Estrellas
- 5.1k
- Forks
- 339
- Merge medio
- 12 h 22 min
- PR fusionados (30 d)
- 701
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
-
iOS: the alert-unrecognized warning of `open --launch-url` says to `alert accept`, which grants App Tracking Transparency when that is the alertPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
callstack/agent-device#3921 · 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 2 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
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
callstack/agent-device#3931 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
callstack/agent-device#3924 ·
Los mantenedores suelen responder en 1 día
Todos los issues de callstack/agent-device
Issues similares
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixPosiblemente ocupada @ItsDeadlyProgrammer la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
appsmithorg/appsmith#42471 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ehmpathy/rhachet-roles-bhrain#705 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Status: Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
mermaid-js/mermaid#8546 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
Los mantenedores suelen responder en 1 día