P12: the witness module's determinism unit alone takes 9 to 11 minutes in CI

Ouverte
#106 0 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
28/100
Type d'issue
Refactorisation
Clarté
Plutôt claire
Activité
Active
Stack technique
github-actions, javascript

Piste de recherche

Start by reproducing the unit with the replay command (cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: an edit sequence over the witness module") and timing it locally, then read the vitest config in packages/oracles/oracle-gaps/ and the shard setup used by CI (see PR #90, shard 1/5). The issue lists three options and leaves the choice to the maintainer, so the first step is a decision, not an edit; investigate where the 9-11 minutes goes before proposing which option to take. Done means either the job sits under the 10-minute budget or the exception is recorded in the Limits of the e2e oracle with a follow-up issue.

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

Description

Summary

The determinism job that runs the witness module's edit sequence alone (determinism: constructed history: an edit sequence over the witness module) takes about 9 to 11 minutes in CI. That is at or over the 10-minute budget (P12: every job under 10 minutes). The unit is one history, so it cannot be split by name without changing the law (two cold runs and four daemon checks of the witness module, each in full).

Measured

  • Arclet, one Vitest worker, on 4d3c8a9 and 947e936: 344 s and 364 s.
  • CI (PR #90, shard 1/5): 645 s of test time on 082991d (job 11:03); 8:33 job on 947e936; 10:11 job on 4bc4eb1.

Options (for the maintainer)

  1. Accept the job above 10 minutes for this one unit, as an exception recorded in the Limits of the e2e oracle.
  2. Move that unit's determinism check to a job that is not blocking, with its own issue.
  3. Make the witness history cheaper (for example, fewer daemon checks), which changes the witness module's coverage and needs its own review.

Replay

cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: an edit sequence over the witness module"
Langage dominant
JavaScript
Étoiles
5
Forks
1
Merge moyen
8 h 31 min
PR mergées (30 j)
60

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

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

Toutes les issues de TanStack/oracles

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.