A missing configured encryption key leaves a newly created cloud project after push fails
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
- 73/100
Direção de pesquisa
Start by tracing push_projects and the project/config manager flow that creates a cloud project and saves its cloud-id; then inspect where encrypted files are prepared and the configured key path is opened. Add a regression test for a first push with a deleted key file, using the real managers and mocked API described in the issue. Done means the push fails without creating or linking a cloud project, while a successful configured-key push still works.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Observed
A new local project with encrypted: true and an encryption-key-path pointing to a deleted file creates a cloud project and saves its cloud ID before the push discovers that the key cannot be opened. The push then fails without uploading its files, but leaves that project and the local/cloud link behind.
Reproduced on master at 3842533 using real push/project/config managers, a fake filesystem, and a mocked successful API. projects.create was called once, projects.update was never called, and the local config retained the returned cloud-id after push_projects returned False with a missing-file error.
Reproduction
- Create a local Python project without a cloud ID.
- Encrypt its files with a synthetic key and record the key path in its config.
- Delete or move the key file.
- Push the project without flags.
Required result
Reject the unusable key before creating or linking a cloud project, or undo those side effects when file preparation fails. Keep successful configured-key pushes unchanged and add a regression test for the failed first push.
Priority P2: the push reports its failure, and the leftover project/link can be removed or reused after restoring the key.
- Linguagem predominante
- Python
- Estrelas
- 335
- Forks
- 172
- Merge médio
- 6h 54min
- PRs com merge (30d)
- 37
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 QuantConnect/lean-cli
-
priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
QuantConnect/lean-cli#792 ·
Mantenedores costumam responder em até 1 dia
-
priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
QuantConnect/lean-cli#786 ·
Mantenedores costumam responder em até 1 dia
-
priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
QuantConnect/lean-cli#785 ·
Mantenedores costumam responder em até 1 dia
-
A partially written live command result aborts polling with JSONDecodeErrorTalvez já em andamento @pcbeingused333 assumiu há 3 dias. Abertapriority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
QuantConnect/lean-cli#784 ·
Mantenedores costumam responder em até 1 dia
-
Container lookup failures during result polling are masked by UnboundLocalErrorTalvez já em andamento @pcbeingused333 assumiu há 5 dias. Abertapriority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
QuantConnect/lean-cli#783 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de QuantConnect/lean-cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
Mantenedores costumam responder em até 4 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
pimutils/vdirsyncer#1242 ·
-
backlog
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
sagemathinc/sagebrush#2768 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
vllm-project/vllm-ascend#23791 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
briandconnelly/context-audit#33 ·
Mantenedores costumam responder em até 1 dia