Android/ColorOS: OplusHans freezes the persistent snapshot helper after idle, causing daemon_transport_timeout instead of one-shot fallback
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 55/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- android, typescript
- Domínio
- backend, mobile-dev
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 5.1k
- Forks
- 339
- Merge médio
- 12h 53min
- PRs com merge (30d)
- 644
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de callstack/agent-device
-
Taps on Jetpack Compose buttons refused because of the fake Button child nodeTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
callstack/agent-device#3982 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
callstack/agent-device#3945 ·
Mantenedores costumam responder em até 1 dia
-
Limrun iOS fill reports success but drops non-ASCII textTalvez já em andamento @mvanhorn assumiu há 5 dias. Abertabug ready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 87/100
callstack/agent-device#3819 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
callstack/agent-device#1869 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
callstack/agent-device#3981 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de callstack/agent-device
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
galaxyproject/loom#616 ·
Mantenedores costumam responder em até 1 dia
-
e2e-failure ready-to-code
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
redhat-developer/rhdh-plugin-export-overlays#4580 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 84/100
eknowledger/toolbench#266 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
devdotfast/whiteboard#1415 · 1 comentário ·
Mantenedores costumam responder em até 1 dia