random seed: an edit sequence through the daemon: authored mutant a2 runs to its backstop (timeout, owed killed), seed 964713679 on #99

Abierto
#167 1 comentario 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
javascript, vite
Área
testing-qa

Línea de trabajo

Start with the e2e oracle command and seed in the counterexample, then inspect the authored mutants law at the cli checkpoint and the history details in the issue. The report identifies a timeout in file b's authored:a2 copy, but the cause is still unknown and history replay depends on #157. Done means reproducing and explaining the timeout; the issue assigns this investigation to #99's author for a later follow-up round.

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

Descripción

Counterexample

A random seed of the e2e oracle on #99 at 83a0b3a8 (pool, then twice more, and on macOS: reproducible):

ORACLE_SEED=964713679 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: an edit sequence through the daemon' GAP_E2E_SHRINKS=0 vitest run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: an edit sequence through the daemon$'
  • Law authored mutants, at checkpoint cli (the cold run): the authored mutant a2 is timeout, owed killed. Its result is {"outcome":"timeout","cause":"backstop"}.
  • File b's copy for authored:a2 runs to its backstop: 20.05 s, where the limit is 20 s plus 3 s × 0.018 s. Its file's unmutated run takes 0.018 s.
  • The history (cut at 2,000 characters in the log) has:
    • two functions, if x > 4 push and push, owned by a and b;
    • a test of file a with input 5, and a test of file b with input 1 on f1;
    • authored: {stmt: 0, kind: apply}, secondAuthored: true, ordinary: true, contexts: 4, budget: one;
    • cliPath: spaced, unbuiltDep: true, packageType: commonjs, configFile: vite.config.cts, concurrentStart: true.
  • The same seed passes on main 97a4e7a, but there it draws a different history, because #99 shifts the draws. So base attribution needs a replay by history (#157), which is not built yet.

What is known

  • The copy is not idle by state. If it were, it would be killed by no progress. It also has no call budget (an authored copy counts no calls).
  • The copy either loops synchronously, or waits before any test starts. Before a test starts the sampler does not judge idle; an example is a module fetch over the runner's RPC (#148).
  • It is not caused by #99's clocked-by-state hook: with that hook's completion record disabled, the unit fails the same way.

Owner

#99's author, in the next round on the deterministic-cuts follow-ups. Replay the full history on main once #157 lands; if main fails it too, this does not block #99 (M, "Main's determinism failures").

Lenguaje dominante
JavaScript
Estrellas
5
Forks
1
Merge medio
11 h 18 min
PR fusionados (30 d)
66

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.