P12: Windows e2e shard 2/10 (every outcome class alone) takes 10 min

Aberta
#118 1 comentário 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
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
github-actions, javascript
Domínio
ci-cd, testing

Direção de pesquisa

Start with scripts/pr-shards.mjs and the oracle-gaps-fixed-seed-windows shard assignment, then inspect the every outcome class unit and its Windows end-to-end runtime. Compare the three proposed paths: split the witness history, record a P12 exception, or reduce the Windows cost of the hang witnesses. Done means the shard is under the 10-minute budget and its reach checks still pass, or the maintainer records an exception.

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

Descrição

windows

Summary

The Windows e2e job Windows gap report end-to-end oracle (fixed seed, 2/10) runs one unit, fixed seed 20261105: every outcome class. On PR #115 it took 10m05s (run 43783774902, job 133026717354; the unit alone took 562 s). On main it took 9m13s (run 43693786590, job 132749781500). That is over, or at, the P12 budget of 10 minutes per job.

#115 does not cause it. Its only change is an oracle comparison that is linear in the number of gap lines, and the unit takes as long on main. The job also fails on main and on #115 on the reach gate: "did not enter a hang cut off for idleness". That is the Windows idle gap recorded in the e2e oracle's Limits, and #99 owns it.

Why the shard can't be split

Shard 2/10 already holds this one unit (scripts/pr-shards.mjs, oracle-gaps-fixed-seed-windows, shard 2). Splitting the job means splitting the constructed history itself, as #73 did when it moved the warm and abort stops into every outcome class, the warm and abort stops. Or the witness module's win32 cost must come down.

Options (for the maintainer)

  1. Split every outcome class again, for example the hang and slow witnesses apart from the rest. The framework checks reach over the union of the halves, as it does for the current split.
  2. Record a win32 exception to P12 for this unit while the Windows e2e jobs are non-blocking (C entry (c)).
  3. Reduce the win32 cost of the hang witnesses: the idle sampler's window and the backstop.

Related: #106, the same P12 problem for the witness module's determinism unit on Linux.

Authority

P12 (register): every CI job stays under 10 minutes, and the cost comes from real cuts first and sharding second.

Linguagem predominante
JavaScript
Estrelas
5
Forks
1
Merge médio
8h 31min
PRs com merge (30d)
60

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 TanStack/oracles

Todas as issues de TanStack/oracles

Issues semelhantes

Mais issues de JavaScript

Receba novas issues na sua caixa de entrada

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