Terminal update and Undo leave Home stopped

Aberta
#509 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
66/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
backend

Direção de pesquisa

Start by tracing the elastos update and elastos update --rollback-to command paths and how they stop Home; compare them with the System > About update flow, which restarts Home. Check the installed tests around update and rollback, then add coverage for both terminal paths when Home was running. Done means Home is running on the new version afterwards, or INSTALL.md documents the behavior in both Undo and Terminal sections.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Seen on the signed 0.8.0-alpha.26 on Linux and Jetson (#93 comments 6521408803 and the Linux acceptance comment): elastos update and elastos update --rollback-to <head CID> stop a running Home and end with "Home is stopped. Start it with: …". The running Home prints "Error: Home stopped. Start Home again." and exits; nothing restarts it. An update through System > About restarts Home by itself.

docs/INSTALL.md "Undo an update" does not say Home stops, and Undo is terminal-only, so a person who uses Undo is left with Home down until they run the printed command.

Done means (0.8.1): when Home was running before a terminal update or Undo, it is running again on the new version afterwards (or, if that is not wanted, INSTALL.md says so in the Undo and Terminal sections); an installed check covers both cases.

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

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de elastos/elastos-runtime

Todas as issues de elastos/elastos-runtime

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.