Mac source Home: Browser shows 'needs preparation' (unstamped image row, missing TURN program, config-only exit)
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
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Read elastos/crates/elastos-server/src/setup.rs and trace ensure_browser_vm_image_for_local_engine, then compare it with scripts/prepare-release-platform.sh and scripts/release-platform-input.py's stage-browser-image path. Add a test for setup-source-home with a verified staged image set; done means Browser opens without the preparation error and the source Home setup test passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens: on a Mac source Home set up with a locally staged Browser image set, Browser says "Browser Engine needs preparation. Prepare it or choose another approved Engine." Prepare can't fix it. The gateway log says "Browser image release package requires a stamped lowercase SHA-256 checksum".
Why:
setup-source-homecopies the template's darwin-arm64browser-vm-imagerow, which has no checksum or size (present since82ae48cd9, 8 Oct; Mac-only sinceb725316d7, 13 Oct).- The Runtime checks a locally staged image in place only when that row is absent (
elastos/crates/elastos-server/src/setup.rsensure_browser_vm_image_for_local_engine). With the unstamped row,browser_vm_image.rsvalidate_infofails, and Prepare runs the same code.
Release path: release preparation writes this row with a checksum and size (scripts/prepare-release-platform.sh runs scripts/release-platform-input.py stage-browser-image, which writes both), and the 0.8.0 Browser image admission run stamped it. From the source, this gap is in the source setup path. No installed packaged Home has opened Browser with the new image yet; the installed check on the packaged candidate covers that.
Fix: when setup-source-home links a verified staged image set, drop the unstamped row, or stamp it from the image receipt. Add a test that a source Home with a staged image opens Browser without the error.
Found during the 0.8.0-alpha.25 Browser check on 21 Oct (#474, #473). The test Home was repaired by removing the row by hand. After that change, the restart helper refuses to restart that Home (installation receipt components_hash).
- Ngôn ngữ chính
- Rust
- Star
- 6
- Fork
- 2
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 elastos/elastos-runtime
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastos/elastos-runtime#563 ·
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 76/100
elastos/elastos-runtime#508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documents: Markdown preview web links go through Home's confirmed link flow (#430 follow-up)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastos/elastos-runtime#436 · 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 78/100
elastos/elastos-runtime#427 ·
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
elastos/elastos-runtime#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của elastos/elastos-runtime
Issue tương tự
-
bug good first issue help wanted linux macos testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: app type: test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
storytold/photocraft#12706 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority-low to-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
examples/dca and limit-order: swap always fails on the real Soroswap router (deadline equals now)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
sorocon-labs/sorocron#172 ·
Maintainer thường phản hồi trong vòng 1 ngày