oracle-gaps e2e: an abort stop owes SIGABRT under a setup file that throws (main and #131)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript
- Bereich
- testing
Rechercherichtung
Start by replaying the supplied Vitest command with the given seed and unit, then inspect the oracle-gaps report law and the stop-run handling that produces the stopped checkpoint. Trace how a setup file that throws interacts with the abort stop obligation. Done means the replay reports the expected SIGABRT error line instead of a completed report.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
A random unit of the gap report's end-to-end oracle fails on main and on #131 with the same difference. This was found by the merge gate's F6 sweep on #131.
- Unit:
random seed: a declaration fault: setupThrows. - Law: greppable stream, checkpoint
stopped. - Difference: "the stopped run's last line is
oracle-gaps: done completed, 4 gaps (provisional), report <package>/out-stop/summary.md, notoracle-gaps: done error, the run's process exited with SIGABRT". - Replay:
ORACLE_SEED=2039724679 ORACLE_PATH=0 ORACLE_PROPERTY='oracle-gaps.report' ORACLE_UNIT='random seed: a declaration fault: setupThrows' vitest run -t '^oracle-gaps\.report(?: | > )random seed: a declaration fault: setupThrows$'. - The replay on main 2552d6a (Arca
mc-attr-setup-main) and on #131 at 21d37bc (mc-attr-setup-head) fails the same way, so the defect is main's (base-replay attribution, v21.2 R42).
The likely cause:
- The history combines the
setupThrowsfault with a stop run whosewhenisabort. - A setup file that throws fails file a before any test runs, so file a's aborting test never runs, and the stop run completes.
- The law still owes the abort's error line for it. This is a model or driver precondition gap (v21.2 R7: an obligation whose precondition contradicts the model's own prediction). It is not confirmed.
Full history (the M entry "Replay by history"):
Counterexample: [{"functions":[[{"kind":"optional"}]],"containers":[],"overloads":[],"owners":[],"library":[],"libraryOwners":[],"runes":[],"derived":null,"sourceSpelling":"linked","dotGen":false,"ownsSpelling":"plain","wholeFile":"none","template":true,"tests":[{__proto__:null,"file":"b","route":"fixed history","registered":true,"name":"route","fn":0,"input":1,"judges":false,"law":"L","channel":"observe","flaky":false,"judgeBy":"soft","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":true,"cleanupThrows":false,"asProp":false,"then":{__proto__:null,"route":"determinism","input":1},"work":null,"timed":false},{"file":"b","route":"determinism","registered":true,"name":"route","fn":7,"input":0,"judges":true,"law":"reach agreement","channel":"observe","flaky":false,"judgeBy":"verdict","hangs":false,"slow":false,"shrinks":false,"draws":false,"ioWait":false,"stops":false,"rawImport":false,"cleanupThrows":true,"asProp":true,"then":{"route":"determinism","input":1},"work":null,"timed":false},{__proto__:null,"file":"b","route":"fixed history","registered":true,"name":"route","fn":7,"input":6,"judges":false,"law":"reach agreement","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":"random seed","input":0},"work":null,"timed":false}],"witness":"capture","authored":{"stmt":19,"kind":"ambiguous"},"declaration":"wrapper","ownerless":false,"fault":"setupThrows","stability":"reformat","ordinary":false,"lazyGate":false,"secondAuthored":false,"consoleOutput":false,"config":"function","configEnv":true,"setupGlobal":true,"native":"none","depSubpath":false,"unbuiltDep":false,"boot":true,"budget":"one","stopRuns":[{"signal":"SIGTERM","pool":"threads","when":"run"},{__proto__:null,"signal":"SIGINT","pool":"forks","when":"abort"}],"onlyRun":false,"pragma":false,"cliPath":"plain","concurrentStart":false,"configFile":"vite.config.mjs","configPlace":"discovered","packageType":"commonjs","configAwait":false,"configRequire":false,"contexts":4,"steps":null,"dataOwners":["none","a","none"],"exportOwners":["a","none","b"],"importer":"a","midrunBy":"b","midrunTarget":"helper","prePlugin":true,"fsRead":"none","laterSteps":[],"tornRows":false,"pauseEngages":true,"warmReplaced":true,"testRoot":"parent","loadPlugin":true,"rejectBatch":0,"replyHeld":false,"spinData":false,"siblingDir":true,"hookStops":false,"spinThrows":true}]
This issue was written by Isaac.
- 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
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus TanStack/oracles
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in TanStack/oracles
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
swc-project/swc-next-issues#532 ·
-
domain/checkout Platform(Default) priority/low testing/acceptance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug confirmed css v6
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
check:passed logos:edit
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag