determinism: the CLI's heartbeat list depends on wall-clock timing, so five determinism units fail on main
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, typescript
- Ambito
- testing
Direzione di ricerca
Start by reproducing one failing unit with the command given: cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: a declaration fault: brokenOwner", and read the History: {...} payload plus the structural diff against $.heartbeats. Then read the determinism units themselves and the CLI heartbeat recording code they exercise, alongside the related issue #84, to see where wall-clock ordering enters. Done means the five listed units pass reliably, but the fix path (excluding the heartbeat set from comparison versus a test-only pause point) is undecided and needs a maintainer call first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Five determinism units of the end-to-end gap oracle fail on main (35422e3). Each one runs a history twice and compares the two traces. The traces differ in the CLI's heartbeats list, which records which busy mutants beat. Whether a mutant beats depends on wall-clock timing, so the comparison is timing-dependent. Found by the determinism units that CI-1 moves onto pull requests (PR #90).
Failing units (main 35422e3, one Arclet, one Vitest worker)
determinism: constructed history: an edit sequence over the witness moduledeterminism: constructed history: every outcome classdeterminism: constructed history: a declaration fault: brokenOwnerdeterminism: constructed history: a declaration fault: noTypescriptdeterminism: generated 2
Evidence
Each failure is at observation 0 (cli). A structural diff of the two full traces (captured with a scratch patch that prints the untruncated texts, since the message keeps 2,000 characters) differs only in $.heartbeats. For brokenOwner, one run's list includes sut.ts:M177 and the other's does not. The other units show the same kind of shift in the list.
Replay
Determinism units have no replay line. Run one unit with the project's command:
cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: a declaration fault: brokenOwner"
The history is printed in the failure message (History: {...}).
Why it matters
The register's "determinism under load" decision (2026-11-13) says that an oracle driver must not rely on wall-clock ordering. This comparison records a timing-dependent set, so it fails under load even when the CLI is deterministic. #84 is the reach side of the same timing (the heartbeat state's count per shard). This issue is the determinism side.
Open question for the maintainer
Either the determinism comparison should leave the heartbeat set out, since "each beat is observed as its mutant and file, not how long or how often it beat" (the law's own wording), or the beat set should be made deterministic through a test-only pause point as in #84's proposed fix. Not decided here.
- Lingua principale
- JavaScript
- Stelle
- 5
- Fork
- 1
- Merge medio
- 6h
- PR unite (30g)
- 56
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TanStack/oracles
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
TanStack/oracles#120 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
windows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
TanStack/oracles#118 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TanStack/oracles
Issue simili
-
Edit: Telemante [YT]Apertachannels:edit check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
fix
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
idean3885/claude-ops-agent#1083 ·
I maintainer di solito rispondono entro 1 giorno
-
入群码过期Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
aliyun/ai-agent-handbook#29 · 1 commento ·
-
docs documentation need-triage SaaS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/cloudstack#14719 ·
I maintainer di solito rispondono entro 1 giorno