Mac source Home: Browser shows 'needs preparation' (unstamped image row, missing TURN program, config-only exit)
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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).
- Linguagem predominante
- Rust
- Estrelas
- 6
- Forks
- 2
- Merge médio
- 1d 3h
- PRs com merge (30d)
- 42
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
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 elastos/elastos-runtime
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
elastos/elastos-runtime#563 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
elastos/elastos-runtime#508 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
elastos/elastos-runtime#436 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
elastos/elastos-runtime#427 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
elastos/elastos-runtime#405 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de elastos/elastos-runtime
Issues semelhantes
-
Panic on live viewport resize when unstyled elements exist in display: none subtreeTalvez já em andamento @GoCoder7 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
DioxusLabs/blitz#1488 ·
Mantenedores costumam responder em até 1 dia
-
🏷️ good first issue enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
S-Needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
vectordotdev/vrl#2042 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia