random seed: every outcome class: a classification counterexample (seed -972199262, path 0:1), on main too

未關閉
#109 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@KyleAMathews 已經在處理了。

開始於 2026年11月17日。

  • #147 來自 @KyleAMathews —— 未關閉

評估

難度
4/5
預估耗時
1-2 天
新手友好度
42/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
javascript
領域
testing-qa

研究方向

Start in packages/oracles and run the supplied Vitest replay command with the seed, path, property, and unit filters to reproduce the classification failure. Read src/sut.ts at the reported optional-chain location and inspect the oracle gap report around the cli classification. Done when the replay confirms the cause and the classification law passes; the issue does not specify a proposed fix.

由索引模型根據 Issue 內容生成。

描述

Summary

The random unit random seed: every outcome class found a counterexample in CI on PR #90 (head 7baf1d2, run 43725781217, job Gap report end-to-end oracle (random seed, 2/3)). The classification law fails at cli: src/sut.ts:f0:35:optional-chain#0: not-distinguished, owed crashed.

It reproduces with the same seed and path on origin/main (4d3c8a9, twice) and on the PR head (twice), so the base has it. Under the M phase-1 rule it is filed, not blocking. Filed under P4; not rerun away.

Replay

cd packages/oracles && ORACLE_SEED=-972199262 ORACLE_PATH=0:1 ORACLE_PROPERTY=oracle-gaps.report ORACLE_UNIT='random seed: every outcome class' pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "^oracle-gaps\.report(?: | > )random seed: every outcome class$"

The printed Replay line omits the config, so it does not run as printed (#108).

Notes

The unit took 596 s in this run, so the random shard that holds it ran over 12 minutes with the shrinking. The P12 concern is in #106's scope for the random shards too.

主要語言
JavaScript
星號
5
分支
1
平均合併
8 小時 31 分鐘
30 天內合併 PR
60

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TanStack/oracles 的其他 Issue

查看 TanStack/oracles 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。