Automate base replay of random counterexamples (R42)

Đang mở
#157 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
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, javascript
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Start by reading rule v21.2 R42, the referenced “Main's determinism failures” and “Replay by history” guidance, and the CI behavior described in issues #81, #90, and #122. Find the CI step that runs random or drawn-base units and trace how it records failing histories and selects the merge base. Done means the full history is preserved, replayed on the merge base, and the job distinguishes “main also fails” from “this PR's own”; the payload does not name files or tests.

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

Mô tả

When a random seed or drawn base finds a counterexample on a PR, the rule (v21.2 R42; M "Main's determinism failures" and "Replay by history") is: replay the full history on the base commit. If the base fails too, file it and don't block. Today that step is manual: an agent replays and files, and a rerun turns the job green. CI also cuts the failing history at 2,000 characters (#81), so the history has to be reprinted at the failing commit.

Proposal: when a random or drawn-base unit fails, a CI step writes the full history to an artifact, replays it on the merge base, and marks the job as "main also fails" or "this PR's own". Found in the #90 and #122 reviews.

This issue was written by Isaac.

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

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.