query.scope-omission-reacquisition (chromium-opfs): nondeterministic trace at opfsCleanupRetry

オープン
#2,436 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
testing-qa

調査の方向性

Start with e2e/query-scope-omission-oracle.browser.test.ts and the adapter-oracles-chromium project; reproduce the reported chromium-opfs trace mismatch at opfsCleanupRetry. Then trace how the browser driver records that observation and compare the two runs. Done means the cause is addressed by making retry observation deterministic or excluding the retry count, with the choice recorded oracle-first.

索引モデルが issue の本文から書いたものです。

説明

A browser oracle recorded different traces on two runs of the same history on PR #2432's CI. #2432 changes only scripts/lint-scope-oracle.property.test.js, so this nondeterminism is on main.

  • Job: E2E (adapter-browser), job 131624497770
  • File: e2e/query-scope-omission-oracle.browser.test.ts (project adapter-oracles-chromium): 1 failed, 786 passed
  • Error: query.scope-omission-reacquisition.chromium-opfs: two runs of "generated 1" recorded different traces at observation 14 ("opfsCleanupRetry").

A determinism unit that fails means the run depends on something besides its history. Here the likely cause is the timing of OPFS cleanup retries. Either the driver must make the retry observation deterministic (for example, with a controlled clock or a fixed retry schedule), or the observation must leave out the retry count. Record which, oracle-first.

This issue was written by Isaac.

主要言語
TypeScript
スター
4k
フォーク
286
平均マージ
1日 1時間
マージ済み PR(30日)
104

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TanStack/db のほかの issue

TanStack/db の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。