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

Abierto
#106 0 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
28/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, javascript

Línea de trabajo

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.

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

Descripción

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"
Lenguaje dominante
JavaScript
Estrellas
5
Forks
1
Merge medio
8 h 31 min
PR fusionados (30 d)
60

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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

Todos los issues de TanStack/oracles

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.