flaky: atlas-host pty::tests::a_title_* fail on loaded Linux CI runners
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
- 72/100
Direção de pesquisa
Start with crates/atlas-host/src/pty/tests.rs, especially the two failing title tests around lines 545 and 569, and inspect how they wait for the shell to exit and collect pty_title events. Run these tests repeatedly under load to reproduce the timing failure. Done when the tests reliably observe the expected title events with a deadline and pass in the Linux CI run.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
atlas-host pty::tests::a_title_* fail intermittently on the Linux CI runner (Rust (Linux)), unrelated to the PR under test. A rerun of the failed job passes.
Evidence
- Run 44101988098 (PR #461, head
eb47a231), job 134104287831:FAIL atlas-host pty::tests::a_title_that_returns_to_an_earlier_value_is_a_change, atcrates/atlas-host/src/pty/tests.rs:569:
assertion left == right failed left: ["x"] right: ["x", "y", "x"]. The rerun of the same head passed. - Run 44104330309 (PR #487, head
2d01391f), job 134114260709 (Linux):FAIL atlas-host pty::tests::a_title_repeated_by_the_program_is_pushed_onceattests.rs:545. The rerun passed. - Frequency: 2 failures in the roughly 8 Rust (Linux) attempts I watched on 2026-11-17, while the runners were heavily queued (many PRs at once). Both ran in the full nextest run (4171 tests, 4 threads), not alone.
Suspected cause (not verified)
Both tests drive a shell that prints OSC titles 20 ms apart (sleep 0.02) and rely on each landing in its own 8 ms coalescing window of the pty reader, then call until_exited and read pty_title events with try_recv. On a loaded runner a 20 ms sleep can stretch, or the reader can drain two OSCs in one window, or the exit can be observed before the last pushes are flushed; the failure shows only the first title arriving (["x"]). The tests wait for the process to exit, not for the expected number of titles. Waiting for the expected events (with a deadline) instead of a fixed sleep and a post-exit drain would remove the timing dependency.
No fix in the PRs where it was seen.
- Linguagem predominante
- Rust
- Estrelas
- 3
- Forks
- 1
- Merge médio
- 9h 51min
- PRs com merge (30d)
- 310
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
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 codeatlasdev/atlas
-
type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
codeatlasdev/atlas#597 ·
Mantenedores costumam responder em até 1 dia
-
area: ci os: linux type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
codeatlasdev/atlas#496 ·
Mantenedores costumam responder em até 1 dia
-
area: ci type: bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
codeatlasdev/atlas#596 ·
Mantenedores costumam responder em até 1 dia
-
os: linux type: bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 68/100
codeatlasdev/atlas#591 ·
Mantenedores costumam responder em até 1 dia
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Abertaarea: ci os: windows type: bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 56/100
codeatlasdev/atlas#550 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de codeatlasdev/atlas
Issues semelhantes
-
marketing
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitAbertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
nledford/Ladderback#1091 ·
Mantenedores costumam responder em até 1 dia
-
bug fix packaging ui user-sprint
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Vondor/KassenSturz#1197 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia