Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[fix] Reset pause state before replaying rollback survivors

Aperta
#1,703 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@intelliDean ci sta già lavorando.

Dal 21/10/2026.

  • #1717 di @intelliDean — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
TypeScript
Stelle
18
Fork
250
Merge medio
5g 23h
PR unite (30g)
72

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LabsCrypt/flowfi

Tutte le issue di LabsCrypt/flowfi

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.