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

Ouverte
#436 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript
Domaine
performance, testing

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
JavaScript
Étoiles
1
Forks
1
Merge moyen
3 h 34 min
PR mergées (30 j)
213

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de eizedev/pivotkit

Toutes les issues de eizedev/pivotkit

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.