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

Offen
#109 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
javascript
Bereich
testing-qa

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
JavaScript
Sterne
5
Forks
1
Ø Merge
8 Std. 31 Min.
Gemergte PRs (30 T.)
60

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus TanStack/oracles

Alle Issues in TanStack/oracles

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.