P12: the witness module's determinism unit alone takes 9 to 11 minutes in CI
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
- Domaine
- ci-cd, performance, testing
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)
- Accept the job above 10 minutes for this one unit, as an exception recorded in the Limits of the e2e oracle.
- Move that unit's determinism check to a job that is not blocking, with its own issue.
- 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
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TanStack/oracles
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de TanStack/oracles
Issues similaires
-
accepted enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
Bug: Unused media visibility check and missing useMemo dependencies cause stale/invalid actions in MessageToolbox.jsPeut-être pris @yashsarvaiya45 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
RocketChat/EmbeddedChat#1437 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour