Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[fix] Reset pause state before replaying rollback survivors

Đã đóng
#1,703 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 7 ngày

@intelliDean đang làm issue này rồi.

Từ ngày 21/10/2026.

  • #1717 của @intelliDean — đã merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

backend bug high-priority points: 150 Stellar Wave

Labels: bug, backend, high-priority, points: 150
File/location: backend/src/services/checkpoint.service.ts:400

Description:
Recomputation initializes pause fields from the current (reverted) row and CREATED resets only isActive. Rolling back a PAUSED event while retaining CREATED leaves the stream incorrectly paused; reverted pause duration can also survive.

Acceptance Criteria:

  • Initialize reconstructible pause fields from a canonical baseline before replaying surviving events, instead of the reverted row.
  • Verify rollback of PAUSED, RESUMED and repeated pause cycles restores isPaused, pausedAt and totalPausedDuration to their pre-reverted values.

Notes:
Executed recomputeStreamState with only CREATED surviving a PAUSED rollback; the output retained isPaused=true and pausedAt=20.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1468. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
82

Chuẩn bị môi trường

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 LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

Issue tương tự

Thêm issue về TypeScript

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.