Gap e2e random seed: brokenOwner classifies if-false as branch-never-taken, owed indeterminate (main too)

Aperta
#172 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
devtools, testing

Direzione di ricerca

Start by running the supplied replay command with the reported seed and inspect the gap e2e oracle configuration and the classification law at the "cli" checkpoint. Trace how the brokenOwner fault produces the if-false branch result in src/sut.ts; compare the oracle result with the expected indeterminate classification. Done when the replay no longer reports this difference and the relevant oracle checks pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Random-seed counterexample in the gap report e2e oracle, found on #122's CI (run 5, job 135126725001, head 616dbcc5). It fails the same way on main 97a4e7a when the same history is replayed (the #122 reviewer's pool run, tag r122rev3-*), so it is main's and doesn't block #122 (M-20 / R42).

  • Unit: random seed: a declaration fault: brokenOwner
  • Law: classification, at checkpoint "cli"
  • Difference: src/sut.ts:f0:33:if-false#0: branch-never-taken, owed indeterminate
  • Replay (gap e2e oracle config): ORACLE_SEED=541762753 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a declaration fault: brokenOwner' vitest run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: a declaration fault: brokenOwner$'

Counterexample history, as CI printed it (CI cuts it at 2,000 characters, #81; the full log is on the maintainer's machine at /tmp/r122rev/job5-random1.log):

Counterexample: [{"functions":[[{"kind":"throwIf","message":"assertion"},{__proto__:null,"kind":"nearProbe","variant":"former","op":"!==","k":3},{__proto__:null,"kind":"readData","shape":"primitive"},{__proto__:null,"kind":"probeIf","op":"<","k":4}],[{"kind":"nearProbe","variant":"former","op":"<","k":7},{"kind":"oldProbe"},{"kind":"readData","shape":"array"}]],"containers":["free"],"overloads":[false,true,true],"owners":["a"],"library":[[{__proto__:null,"kind":"dollar"},{"kind":"dollar"},{"kind":"push","quote":"`"}],[{"kind":"if","op":"<=","k":3,"not":true,"quote":"`"}]],"libraryOwners":["none"],"runes":[[{__proto__:null,"kind":"runeDerivedBy"},{__proto__:null,"kind":"runeStateRaw"},{"kind":"runeEffect","rune":"$effect.pre"},{"kind":"runeStateRaw"}]],"derived":{__proto__:null,"params":"plain","field":false,"before":[],"form":"arrow","after":[]},"sourceSpelling":"linked","dotGen":true,"ownsSpelling":"redundant","wholeFile":"none","template":true,"tests":[{__proto__:null,"file":"b","route":"determinism","registered":true,"name":"plain","fn":1,"input":1,"judges":true,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":false,"then":{"route":"case","input":3},"work":null,"timed":false},{__proto__:null,"file":"a","route":"random seed","registered":true,"name":"route","fn":1,"input":0,"judges":false,"law":"L","channel":"expect","flaky":true,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":null,"work":null,"timed":false}],"witness":false,"authored":{"stmt":4,"kind":"apply"},"declaration":"wrapper","ownerless":false,"fault":"brokenOwner","stability":"none","ordinary":true,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":true,"setupGlobal":false,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":true,"budget":"one","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"plain","concurrentStart":true,"configFile":"vite.config.js","configPlace":"none","packageType":"module","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":[],"exportOwners":["b","b","a"],"importer":"b","midrunBy":"a","midrunTarget":"helper","prePlugin":false,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":false,"testRoot":"none","loadPlugin":false,"rejectBatch":0,"outMode":"explicit","logBlocked":false,"overlap":false,"stopWitness":false,"spawnStop":false,"spawnSignal":"SIGTERM","spawnDelay":161,"spawnOnStart":false,"claimScenario":false,"logLost":false,"supervisorDeath":false,"unsupervised":false,"psMissing":false,"holdOverlap":false,"replyHeld":false,"spinData":true,"siblingDir":false,"hookStops":false,"spinThrows":false,"slowStart":false,"shortWait":false,"absentObjects":["undefined","undefined"],"optionalChains":[{"links":1,"level":3,"call":"none","returns":"object"},{"links":1,"level":0,"call":"optional","returns":"object"},{__proto__:null,"links":1,"level":2,"call":"none","returns":"nothing"},{__proto__:null,"links":1,"level":2,"call":"plain","returns":"object"},{__proto__:null,"links":3,"level":0,"call":"none","returns":"nothing"},{__proto__:null,"links":2,"level":2,"call":"none","returns":"object"},{__proto__:null,"links":3,"level":2,"call":"optional","returns":"object"},{"links":2,"level":1,"call":"plain","returns":"nothing"}]}]

Not related to #107 or #171, which are other brokenOwner failures.

This issue was written by Isaac.

Lingua principale
JavaScript
Stelle
5
Fork
1
Merge medio
11h 18m
PR unite (30g)
66

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TanStack/oracles

Tutte le issue di TanStack/oracles

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.