Windows: every outcome class fails key stability under an insertGuard edit (fixed seed 20261105 on #147's draws)

未关闭
#166 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
39/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
testing-qa

调研方向

Replay the supplied history as a fixed history on win32, on main and on #147, then print the changed keys and add them to the key stability law's difference. Start by locating the fixed history runner and the law comparison; the issue gives no file paths. Use the key list to investigate whether a win32 timing dependent outcome is involved and whether that belongs to #114's owner.

由索引模型根据 Issue 内容生成。

描述

On win32 only, the fixed-seed unit fixed seed 20261105: every outcome class fails at checkpoint stability, law key stability: "the insertGuard edit changed existing keys or outcomes".

  • Found: #147 at 86d092e6, run 44245048472, job Windows gap report end-to-end oracle (fixed seed, 2/10). It failed on both attempts (attempt 2 reproduces it).
  • Linux: the same unit passes on Linux CI, in fixed-seed partition 1 of the same run.
  • Why only on #147: the PR appends constructed histories and drawn fields (K18, "Randomness wins"), so this seed's generated base now draws stability: 'insertGuard' with the witness module.
  • On main: main's 2/10 job fails on the same unit, but earlier, at reach (did not enter a hang cut off for idleness). Its base draws no insertGuard edit.
  • Generated functions: this history has none with an optional statement. Its only ?. site is the witness module's w_optional, which has one link and an input of 1.
  • Cause: not identified. The key-stability law compares the keys and outcomes of the run before the edit with those after it. A plausible cause is a witness outcome that follows win32 timing, such as #114's w_fastturn work-bound kill or the idle cut that main's 2/10 misses. That is not confirmed: the failure prints no key.

History (the counterexample, with __proto__: null prefixes removed; laterSteps is a literal):

{"functions": [[{"kind": "push", "quote": "`"}]], "containers": ["free", "C1"], "overloads": [true], "owners": ["a"], "library": [[{"kind": "if", "op": "!==", "k": 3, "not": true, "quote": "`"}, {"kind": "if", "op": "<=", "k": 2, "not": false, "quote": "`"}]], "libraryOwners": [], "runes": [[{"kind": "runeDerived"}, {"kind": "runeStateRaw"}, {"kind": "runeStateRaw"}, {"kind": "runeDerivedBy"}]], "derived": null, "sourceSpelling": "dot", "dotGen": false, "ownsSpelling": "plain", "wholeFile": "none", "template": false, "tests": [{"file": "a", "route": "fixed history", "registered": false, "name": "route", "fn": 4, "input": 2, "judges": false, "law": "L", "channel": "observe", "flaky": false, "judgeBy": "verdict", "hangs": false, "slow": false, "shrinks": false, "draws": false, "ioWait": false, "stops": false, "rawImport": false, "cleanupThrows": false, "asProp": true, "then": {"route": "enumerated", "input": 3}, "work": null, "timed": false}], "witness": "capture", "authored": {"stmt": 0, "kind": "apply"}, "declaration": "wrapper", "ownerless": false, "fault": "none", "stability": "insertGuard", "ordinary": true, "lazyGate": false, "secondAuthored": true, "consoleOutput": true, "config": "async", "configEnv": true, "setupGlobal": true, "native": "gyp", "depSubpath": true, "unbuiltDep": true, "boot": false, "budget": "two", "stopRuns": [{"signal": "SIGTERM", "pool": "forks", "when": "run"}, {"signal": "SIGINT", "pool": "threads", "when": "run"}, {"signal": "SIGINT", "pool": "threads", "when": "after"}], "onlyRun": false, "pragma": true, "cliPath": "spaced", "concurrentStart": true, "configFile": "vitest.config.ts", "configPlace": "discovered", "packageType": "module", "configAwait": false, "configRequire": false, "contexts": 4, "steps": null, "dataOwners": ["none"], "exportOwners": ["none"], "importer": "none", "midrunBy": "a", "midrunTarget": "data", "prePlugin": false, "fsRead": "sync", "laterSteps": [], "tornRows": false, "pauseEngages": true, "warmReplaced": true, "testRoot": "tests", "loadPlugin": false, "rejectBatch": 0, "outMode": "explicit", "logBlocked": false, "overlap": false, "stopWitness": false, "spawnStop": false, "spawnSignal": "SIGINT", "spawnDelay": 172, "spawnOnStart": false, "claimScenario": false, "logLost": false, "supervisorDeath": false, "unsupervised": false, "psMissing": false, "holdOverlap": false, "replyHeld": false, "spinData": false, "siblingDir": false, "hookStops": true, "spinThrows": false, "slowStart": false, "shortWait": false, "absentObjects": ["undefined"], "optionalChains": [{"links": 1, "level": 3, "call": "none", "returns": "object"}, {"links": 1, "level": 3, "call": "none", "returns": "object"}, {"links": 1, "level": 2, "call": "none", "returns": "nothing"}, {"links": 3, "level": 2, "call": "none", "returns": "nothing"}, {"links": 1, "level": 0, "call": "none", "returns": "nothing"}]}

Next step:

  1. Replay this history as a fixed history on win32, on main and on #147.
  2. Print the changed keys, and add the key list to the law's difference.
  3. Decide whether a timing-dependent outcome on win32 belongs to #114's owner.

Filed under P4. It was not rerun away.

This issue was written by Isaac.

主要语言
JavaScript
星标
5
派生
1
平均合并
11 小时 18 分钟
30 天内合并 PR
66

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TanStack/oracles 的其他 Issue

查看 TanStack/oracles 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。