stage 2 cannot review the first bash call of a session
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- typescript
Direção de pesquisa
Start by reading inspectShellSession and the shellSessions handling in the host code; the issue says the fix requires a fork change and fork sync. Reproduce the first-call path where inspection returns undefined, then check that stage 2 can review the command using the session shell or its starting environment. Done means the first bash call can be reviewed without being blocked solely because no shell exists yet.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The first bash call of a session skips stage 2: inspectShellSession returns undefined while shellSessions is empty, so there is no shell to read PATH or aliases from.
call 1 tar -xf a.tar -C out ─▶ stage 1 UNSURE ─▶ stage 2 skipped ("no shell yet") ─▶ blocked
call 2 ls out ─▶ SAFE, shell now exists
call 3 tar -xf a.tar -C out ─▶ stage 1 UNSURE ─▶ reviewer allows ─▶ runs
Seen in the live run for https://github.com/STRML/omp-classifier/issues/258: the same tar was blocked as call 1 ("skipped":"the session's shell cannot be inspected (no shell yet, or it is busy)") and ran as a later call.
Fix is on the host: inspectShellSession would create the session shell for the key when none exists, or report the env it would start with. It needs a fork change and a fork-sync.
- Linguagem predominante
- TypeScript
- Estrelas
- 1
- Forks
- 1
- Merge médio
- 49min
- PRs com merge (30d)
- 82
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 STRML/omp-classifier
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 52/100
STRML/omp-classifier#256 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
STRML/omp-classifier#253 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
STRML/omp-classifier#252 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de STRML/omp-classifier
Issues semelhantes
-
area:cli area:security bug priority:medium
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
rtk-ai/rtk#5127 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
"code source" and "numerique.gouv" links: "new window" mention duplicated in the accessible nameAbertaaccessibility
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
numerique-gouv/lasuite-landingpage#315 ·
Mantenedores costumam responder em até 1 dia
-
needs:triage
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
HyeokjaeChoi/vaultme#585 ·
Mantenedores costumam responder em até 1 dia
-
enhancement priority/P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
beettlle/pi-smart-router#200 ·