random seed: a stale authored mutant and a reformat: devBuild binary-swap not-observed, owed indeterminate (seed -1828075873), on main too

Offen
#181 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript
Bereich
testing-qa

Rechercherichtung

Start by running the Vitest command in the issue with the supplied seed and inspect the failing oracle-gaps.report case. The issue attributes the result to main and mentions a possible relation to #134, but does not identify the source file or root cause. Trace why src/sut.ts:devBuild:4:binary-swap#0 is reported as not observed when it is owed indeterminate; done when the seeded case no longer reports that difference.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Counterexample (main's; found on #99)

Found in CI on #99 at cb1de4ff (run 44462540755, random seed 3/4):

ORACLE_SEED=-1828075873 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a stale authored mutant and a reformat' GAP_E2E_SHRINKS=0 vitest run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t '^oracle-gaps\.report(?: | > )random seed: a stale authored mutant and a reformat$'

Difference: src/sut.ts:devBuild:4:binary-swap#0: not-observed, owed indeterminate

Attribution: main has it

I replayed the exact history (printed by the driver at cb1de4ff) on main 6d05f05 as a scratch fixed history (scratch/fix99c-attr2-main, 5933a84e). #99's fields take their neutral values; one of this history's tests had timerWait: {waitMs: 600, unref: true}, which main lacks.

Ref Runs Result
main 6d05f05 3 on the pool the same Difference, 3 of 3
#99 cb1de4ff (scratch/fix99c-attr2-head, 55c89cf2) 1 the same

It is main's, so it does not block #99. It may be related to #134 (a stale authored mutant and a reformat on a new base).

Full history
{"functions":[[{"kind":"push","quote":"'"},{"kind":"bindCall","target":3},{"kind":"helperCall","helper":"reportTwice"},{"kind":"oldProbe"},{"kind":"factoryCall","target":0}],[{"kind":"helperCall","helper":"reportTwice"}]],"containers":[],"overloads":[],"owners":["a"],"library":[[{"kind":"dollar"},{"kind":"push","quote":"`"},{"kind":"if","op":"<","k":0,"not":false,"quote":"'"}],[{"kind":"push","quote":"'"}]],"libraryOwners":["none"],"runes":[],"derived":{"params":"plain","field":false,"before":[{"kind":"push"},{"kind":"early","op":">=","k":3}],"form":"plain","after":[{"kind":"if","op":">=","k":8}]},"sourceSpelling":"linked","dotGen":false,"ownsSpelling":"dot","wholeFile":"none","template":false,"tests":[{"file":"c","route":"case","registered":true,"name":"route","fn":0,"input":2,"judges":false,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":{"route":"fixed history","input":8},"work":null,"timed":false,"slowMs":16000,"loops":0,"timerWait":{"waitMs":600,"unref":true},"pulse":false,"pendingIo":null},{"file":"a","route":"fixed seed","registered":true,"name":"plain","fn":0,"input":3,"judges":false,"law":"L","channel":"expect","flaky":true,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":false,"asProp":false,"then":{"route":"calibration","input":1},"work":null,"timed":false,"slowMs":16000,"loops":0,"timerWait":null,"pulse":false,"pendingIo":null}],"witness":false,"authored":{"stmt":0,"kind":"stale"},"declaration":"oracleProperty","ownerless":false,"fault":"none","stability":"reformat","ordinary":false,"lazyGate":false,"secondAuthored":false,"consoleOutput":true,"config":"object","configEnv":true,"setupGlobal":false,"native":"none","depSubpath":true,"unbuiltDep":false,"boot":true,"budget":"two","stopRuns":[],"onlyRun":false,"pragma":false,"cliPath":"spaced","concurrentStart":false,"configFile":"vitest.config.ts","configPlace":"parent","packageType":"commonjs","configAwait":false,"configRequire":true,"contexts":4,"steps":null,"dataOwners":["a","b","b"],"exportOwners":["a","a","b","b","none"],"importer":"none","midrunBy":"b","midrunTarget":"data","prePlugin":false,"fsRead":"promise","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":true,"testRoot":"none","loadPlugin":false,"rejectBatch":0,"outMode":"explicit","logBlocked":false,"overlap":false,"stopWitness":false,"spawnStop":false,"spawnSignal":"SIGTERM","spawnDelay":236,"spawnOnStart":false,"claimScenario":false,"logLost":false,"supervisorDeath":false,"unsupervised":false,"psMissing":false,"holdOverlap":false,"replyHeld":false,"spinData":true,"siblingDir":false,"hookStops":false,"spinThrows":true,"slowStart":false,"shortWait":false,"absentObjects":["undefined","null","undefined","undefined","undefined","undefined"],"optionalChains":[],"hangMs":null,"heavy":0}

Vorherrschende Sprache
JavaScript
Sterne
5
Forks
1
Ø Merge
11 Std. 18 Min.
Gemergte PRs (30 T.)
66

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/oracles

Alle Issues in TanStack/oracles

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.