Gap CLI: a nondeterministic test's no-progress verdict kills, and a copy run alone has no idle detection
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 56/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- javascript
- 領域
- testing-qa
研究方向
Start with classify.mjs (outcomeOf and cutOf) and check.mjs (countOnly, runUnit, and captureLines) to trace the two reported cases. Then inspect the existing constructed-history tests and add coverage for a nondeterministic idle copy and a batch error followed by a hanging copy. Done means the model and runtime agree on the nondeterministic verdict, and runUnit applies whole-row capture checks and idle detection.
由索引模型根據 Issue 內容生成。
描述
Two cases that the merge-gate review of #99 found (L1 and L3). #99 records both in its Limits with this issue as their owner.
1. A nondeterministic test's no-progress verdict kills (L1)
- A test whose observations differ between the two unmutated runs is nondeterministic. Its ordinary failures judge nothing (
classify.mjsoutcomeOf, thenondeterministic.hascheck). - A built-in verdict skips that filter:
outcomeOfadds eachbuiltInverdict of a cut copy without it. - #99 closes the spin half: a spin kills only when the test is in
baseline.work(check.mjscountOnly), and that set leaves out every nondeterministic test. - The no-progress half stays open: a copy of a nondeterministic test that goes idle is killed by
no progress. - The classify oracle's model makes the same prediction (
cutOfgives a flaky test'srunIdlethe law), so it does not see the case. - What would close it: the model judges a nondeterministic test's built-in verdict as it judges the test's ordinary failures, and
outcomeOffiltersbuiltInverdicts by theirkey. The cut rows already carry the key.
2. A copy run alone has no idle detection, and its spin row has no whole-row guard (L3)
- A batch whose run reports an error outside any test reruns each copy alone (
unitsBatch, thenrunAlone, thenunit, thenrunUnit). runUnitgives its state noidleMs, so a copy that hangs there runs to its backstop: a gap where R50 owes ano progresskill.runUnit'sspinRowsplits the raw capture text and parses the spin line. It does not usecaptureLines' whole-row guard, which runner law L1 requires.- Reach is low: the path is entered only after a batch completes with an unattributed error.
- What would close it:
runUnitreads its cut rows throughcaptureLineswithpartial: true, and it cuts an idle row as the batch watchdog does. Add a constructed history whose batch reports an error outside any test beside a hanging copy.
- 主要語言
- 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 天內回覆