[fix] Reset pause state before replaying rollback survivors
Maintainer thường phản hồi trong vòng 7 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của LabsCrypt/flowfi
-
backend points: 150 testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 7 ngày
-
backend points: 150 testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 7 ngày
-
backend points: 150 testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 7 ngày
-
backend points: 150 testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 7 ngày
-
backend points: 150 testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 7 ngày
Tất cả issue của LabsCrypt/flowfi
Issue tương tự
-
level/task type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
wazuh/wazuh-dashboard-plugins#9508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Testnet EOL page links Zonescan mainnetCó thể đã có người làm @napelvs đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] docs/architecture.mermaid leaves out 21 of the 51 src/ directoriesCó thể đã có người làm @uyg7x đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement status:needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dongdongbh/Mindwtr#1438 ·
Maintainer thường phản hồi trong vòng 1 ngày