PTY snapshot suite: rare non-repeating case failures under parallel load (pass in isolation)
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
- 45/100
Direção de pesquisa
Comece com just snapshot-test migration e o PTY snapshot runner, usando rust-toolchain.toml e os fixtures de migração listados como superfície de reprodução. Compare execuções paralelas com cache frio com execuções isoladas e com cache aquecido, adicionando a instrumentação sugerida de tempo, verbosidade ou tentativas. Está concluído quando as falhas sensíveis à carga estiverem explicadas e a suíte de migração não produzir mais falhas intermitentes inexplicadas.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
Running the full migration* PTY snapshot suite in parallel occasionally fails a small, non-repeating set of cases (~0.4% of case-executions). Every affected case passes deterministically when run in isolation, and the failing names differ between runs — so this looks like load-sensitivity in the PTY runner environment rather than any individual fixture or product bug. Filing per m0g3r's suggestion in #2483 after it showed up there first.
Observations (macOS arm64, M-series, just snapshot-test migration)
Five full-suite runs across two commits, all with a fresh packages/cli/dist (freshness guard green):
| run | commit | result | failed cases |
|---|---|---|---|
| A | 31163c5 (PR #2483 branch) |
151/154 | migration_dynamic_oxc_configs, migration_framework_shim_vue, migration_standalone_yarn4_idempotent |
| B | cc20535d (main) |
159/161 | migration_not_supported_vitest3, migration_from_tsup_monorepo_success |
| C | cc20535d (main) |
161/161 | — |
| D | cc20535d (main) |
161/161 | — |
| E | 31163c5, earlier same-day |
148/154 | different set again (incl. migration_husky_or_prepare, migration_standalone_bun_install) |
- No case name repeats across runs. Union of failures over five runs: 10+ distinct fixtures, each failing exactly once.
- Every one of them passes in isolation (
just snapshot-test <name>), immediately after the failing run, unchanged tree. - The failure-heavy runs were the first suite run after a fresh build / cold caches; warm re-runs (C, D) were fully green. Cold-state work on first touch (managed runtime provisioning, registry-bridge first hits) overlapping with ~14 parallel PTY cases is my best guess at the mechanism, but I have not isolated it.
- m0g3r additionally verified in #2483 that the flaked fixtures are structurally unremarkable (step counts mid-pack; one of 21 double-
vp migratefixtures).
Why it may matter
Locally it's a shrug; in CI a 0.4% per-case flake across ~650 cases makes a meaningful fraction of runs red for reasons unrelated to the diff under test, and the changing names make it hard for contributors to tell signal from noise (it cost a round of triage on #2483).
Environment
- macOS arm64 (Darwin 25.2), 14 threads reported by the runner
just snapshot-test migration(both flavors), toolchain perrust-toolchain.toml
Happy to re-run with any added instrumentation (timings, per-case retries, runner verbosity) if that helps narrow it — I can reproduce roughly one flaky run per two or three cold full-suite runs.
- Linguagem predominante
- Rust
- Estrelas
- 6.5k
- Forks
- 297
- Merge médio
- 20h 56min
- PRs com merge (30d)
- 234
Preparar o ambiente
Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.
- Sem Dockerfile nem arquivo Docker Compose
- Sem 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 voidzero-dev/vite-plus
-
triage: not actionable
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
voidzero-dev/vite-plus#3296 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
pending triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
voidzero-dev/vite-plus#3235 ·
Mantenedores costumam responder em até 1 dia
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and laterTalvez já em andamento @kshanxs assumiu há 8 dias. Abertadocumentation
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
voidzero-dev/vite-plus#3219 · 2 comentários · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
pending triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
voidzero-dev/vite-plus#2882 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
e2e-failure
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 18/100
voidzero-dev/vite-plus#3302 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de voidzero-dev/vite-plus
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
longbridge/nsh#804 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
devex good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
calcit-lang/calcit#2538 ·
Mantenedores costumam responder em até 1 dia