test: absolute time bounds and other flakes under load (server, parallel suites)

Abierto
#436 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

Start by listing tests that use absolute wall-clock bounds across the core, mcp, server, and pivotkit-report workspaces. Read the timing-test changes in #421 and #423, then run the affected suites in parallel to reproduce flakes. Update each test to use ratio bounds or interleaved best-of-N rounds while confirming it still fails on the defect it was written to detect.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:tests

When all 8 workspaces' test suites run at the same time (harder than npm test, which runs them one after another), other tests with absolute time bounds fail now and then. Example: pivotkit-report "hostile markup ... in linear time" took 1046 ms against a 1 s bound. Tests in core, mcp and server failed occasionally as well.

This is the same pattern that #421 fixed for the xlsx used-range test. The CI runs one workspace at a time, so this has not caused a red main.

Fix: list the tests that use absolute wall-clock bounds. Move them to ratio bounds or interleaved best-of-N rounds, as in #423, without loosening what they detect: each must still fail on the defect it was written for.

Lenguaje dominante
JavaScript
Estrellas
1
Forks
1
Merge medio
3 h 34 min
PR fusionados (30 d)
213

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eizedev/pivotkit

Todos los issues de eizedev/pivotkit

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.