oracle-gaps e2e: an abort stop owes SIGABRT under a setup file that throws (main and #131)
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
- 領域
- testing
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- JavaScript
- 星號
- 5
- 分支
- 1
- 平均合併
- 11 小時 18 分鐘
- 30 天內合併 PR
- 66
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TanStack/oracles 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 25/100
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 83/100
swc-project/swc-next-issues#532 ·
-
domain/checkout Platform(Default) priority/low testing/acceptance
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆
-
bug confirmed css v6
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
check:passed logos:edit
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆