determinism: a daemon pause that cannot engage gives different traces across runs (intermittent, added by #73)

Đang mở
#105 0 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
28/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

Hướng nghiên cứu

Start by reproducing from packages/oracles with the given pnpm exec vitest command against oracle-gaps/vitest.config.mjs, and read the failing test for determinism: constructed history: a daemon pause that cannot engage to see how the history is constructed. Then read src/oracle-property.ts, where the failure message and trace printing live, and compare two runs' traces at the reported observation to find where wall-clock timing leaks in. Done means the history produces identical traces across repeated runs and the test is re-enabled in PR CI. This is an intermittent ordering bug needing familiarity with the oracle driver, so pair with a maintainer.

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

Mô tả

Summary

The determinism unit determinism: constructed history: a daemon pause that cannot engage (added to main by #73) is intermittent. Two runs of one history recorded different traces at observation 4 (incremental). It passed on one run and failed on another for the same commit (4bc4eb1, PR #90). It also failed on main (4d3c8a9) before the stream-order fix, at observation 0 (cli).

PR #90 excludes it from PR CI until this is fixed, so the determinism job is not red at random.

Replay

cd packages/oracles && pnpm exec vitest --run --config oracle-gaps/vitest.config.mjs gap-report-oracle -t "determinism: constructed history: a daemon pause that cannot engage"

The failure message prints the history and the first 2,000 characters of each run's trace. For the full texts, a scratch patch to src/oracle-property.ts that prints them was needed (see #81).

Authority

Register (2026-11-14, determinism under load): an oracle driver must not rely on wall-clock ordering. A daemon pause that depends on timing is that kind of dependency.

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

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.