Mac source Home: Browser shows 'needs preparation' (unstamped image row, missing TURN program, config-only exit)
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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).
- 主要語言
- Rust
- 星號
- 6
- 分支
- 2
- 平均合併
- 1 天 3 小時
- 30 天內合併 PR
- 42
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
elastos/elastos-runtime 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
elastos/elastos-runtime#563 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
elastos/elastos-runtime#508 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
elastos/elastos-runtime#436 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
elastos/elastos-runtime#427 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
elastos/elastos-runtime#405 ·
維護者通常 1 天內回覆
查看 elastos/elastos-runtime 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 73/100
quarto-dev/q2#1155 ·
維護者通常 1 天內回覆
-
backlog priority: low ui
難度 2/5 1-3 小時 新手友好度 65/100
storytold/vectorcraft#6445 · 1 則留言 ·
維護者通常 1 天內回覆
-
area: cli kind:docs priority: P3
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
tursodatabase/libsql#2312 ·
維護者通常 11 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
paritytech/trie#251 ·
維護者通常 1 天內回覆