Android/ColorOS: OplusHans freezes the persistent snapshot helper after idle, causing daemon_transport_timeout instead of one-shot fallback
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- android, typescript
- Lĩnh vực
- backend, mobile-dev
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 5.1k
- Fork
- 339
- Merge trung bình
- 12 giờ 50 phút
- Pull request đã merge (30 ngày)
- 632
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của callstack/agent-device
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
callstack/agent-device#3945 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Limrun iOS fill reports success but drops non-ASCII textCó thể đã có người làm @mvanhorn đã nhận 4 ngày trước. Đang mởbug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
callstack/agent-device#3819 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
callstack/agent-device#1869 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS keyboard capture can race dismissal and omit the input assistant barCó thể đã có người làm @shamilovtim đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 51/100
callstack/agent-device#3957 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
iOS fill can report TEXT_ENTRY_MISMATCH before the confirmation deadlineCó thể đã có người làm @shamilovtim đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
callstack/agent-device#3952 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstack/agent-device
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
grafana/profiles-drilldown#1212 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
grafana/traces-drilldown#980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Manager flashes an empty "errorOccurred" dialog while redirecting a logged-out user to loginĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openremote/openremote#3487 · 1 bình luận ·
-
triage:needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
garrytan/gbrain#7635 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
coollabsio/jean#867 ·
Maintainer thường phản hồi trong vòng 1 ngày