reach: a timed-out run reused after an edit depends on timeouts, so its coverage is no longer required (#90)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
javascript
領域
testing

調査の方向性

Start in the witness module's edit sequence (an edit sequence over the witness module) and find where PR #90 dropped the state a timed-out run reused after an edit. Look at its predicate daemon.evidence.cut < coldRun.evidence.cut, then at how the CLI assigns cut counts, and compare with the #84 fix for the heartbeat state. Done means the cut comes from a recorded count rather than wall-clock timeouts, so the state can be required again and the witness unit passes deterministically. Run the witness unit test to confirm.

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

説明

Summary

PR #90 removed the reach state a timed-out run reused after an edit from the witness module's edit sequence. Its predicate compares the cut counts of a daemon check and a cold run (daemon.evidence.cut < coldRun.evidence.cut), and those counts depend on wall-clock timeouts. Determinism failed on the witness unit because the state was present in one run and not the other.

The state is no longer observed, required, or entered by its constructed history (an edit sequence over the witness module). That is a coverage loss: nothing now claims that the daemon reuses a timed-out run after an edit. Law 9 is still judged on the outcomes of that history, since the comparison runs on every check.

What restores it

A deterministic cut: the witness's hang is cut by a count the CLI records (for example, a call budget or an owner's run count), not by the clock. With that, the state's predicate depends only on the history, and the state can be observed and required again. #84 is the same kind of fix for the heartbeat state.

Authority

Register (2026-11-14): "Determinism under load covers witnesses too: an oracle driver must not rely on wall-clock ordering." The evidence counts are not observed, as for cli (note in the stability check).

主要言語
JavaScript
スター
5
フォーク
1
平均マージ
8時間 31分
マージ済み PR(30日)
60

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

TanStack/oracles のほかの issue

TanStack/oracles の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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