Run the Device lab on a phone with 6 GB of memory or less

Đang mở Phù hợp với người mới
#44 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, node.js, react-native, typescript
Lĩnh vực
mobile, testing-qa

Hướng nghiên cứu

Làm theo mục 1 trong docs/devices.md để cài đặt và xác minh APK xem trước, sau đó chạy Device lab trên điện thoại có bộ nhớ từ 6 GB trở xuống. Nếu chạy xong, hãy gửi báo cáo và liên kết đến báo cáo tại đây; nếu dừng, hãy bình luận kèm lỗi, mẫu điện thoại, dung lượng bộ nhớ và phiên bản Android. Hoàn tất khi có liên kết đến kết quả từ ít nhất hai mẫu điện thoại khác nhau, lý tưởng là một mẫu có 6 GB và một mẫu có 4 GB.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

device-lab

Why

docs/devices.md says Hermit is built for phones with 8 GB of memory or more, that with less the app says so and lets you continue, and that those reports help the most. ROADMAP.md, Now: the Device lab.

What to do

What these reports show: on these phones Hermit picks a lower tier (tierFor() in packages/model/src/runtime.ts), with its own batch size, thinking budget and context (TIER_DEFAULTS in the same file), and the device table has no such phone yet. A run that fails to load the model is a finding too.

  1. Install the newest preview APK from https://github.com/DojoCodingLabs/hermit/releases and check its SHA-256 against the release notes, as docs/devices.md, section 1, explains.
  2. Open Hermit and let it download its model once (about 530 MB; Wi-Fi is best). Before the download, Hermit shows "This phone is below what Hermit needs" with the memory reason. Tap Download anyway (Descargar igual).
  3. Turn battery saver off, and let the phone cool down if it's warm.
  4. Open Settings, then Device lab, and tap Start the lab (in Spanish: Ajustes, Laboratorio del teléfono, Empezar la prueba). Keep Hermit open on that screen until it ends: leaving the screen stops the lab. docs/devices.md says it runs for about 10 minutes on a mid-range phone.
  5. Read the report. If you're happy to share it, tap File it on GitHub, sign in, tick the box that says the report contains no personal data, and submit the Device report form. If the report is too long for a link, the app copies it and opens an empty form: paste it into the Report field.
  6. Wait for the workflow's comment on your report issue. Then comment here with a link to it, plus anything worth knowing, such as a phone case, charging, or other apps open.
  7. If the lab stops with an error, there is no report. Comment here with the message it showed, the phone model, its memory and its Android version.

Done when

  • Reports, or comments about runs that stopped, from at least two different phone models with 6 GB of memory or less are linked here, ideally one with 6 GB and one with 4 GB.

How to check

Before you file, you can run the same check yourself. Tap Copy in the lab, save the text as report.json on a computer, and run this from a clone of the repository. It needs only Node 24.9 or later, no install:

node scripts/devices/validate.mjs report.json

It prints valid: report.json, or what is wrong. Your phone shows up in the device table in docs/devices.md after a maintainer merges the device-data branch.

Keep in mind

  • Nothing is sent on its own. The report leaves the phone only when you file it, copy it or share it.
  • A report holds device and benchmark facts only. Keep personal details out of the form's Notes field and out of this issue: GitHub issues are public and show your account.
  • File the report exactly as the app made it. The check refuses any field the schema doesn't list (docs/devices/schema.json).
  • Hermit is pre-alpha. If something else breaks, file it with the Bug report form.
Ngôn ngữ chính
TypeScript
Star
11
Fork
0
Merge trung bình
10 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DojoCodingLabs/hermit

Tất cả issue của DojoCodingLabs/hermit

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.