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

Đang mở
#166 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
39/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, typescript
Lĩnh vực
testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
5
Fork
1
Merge trung bình
11 giờ 18 phút
Pull request đã merge (30 ngày)
66

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TanStack/oracles

Tất cả issue của TanStack/oracles

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.