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

Ouverte
#166 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
39/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript, typescript
Domaine
testing-qa

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
JavaScript
Étoiles
5
Forks
1
Merge moyen
11 h 18 min
PR mergées (30 j)
66

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de TanStack/oracles

Toutes les issues de TanStack/oracles

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.