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

[fix] Terminate accounting export responses after streaming errors

Chiusa
#1,701 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@Rampop01 ci sta già lavorando.

Dal 21/10/2026.

  • #1720 di @Rampop01 — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

backend bug points: 150 Stellar Wave

Labels: bug, backend, points: 150
File/location: backend/src/services/export.service.ts:222

Description:
Both exporters write headers/body before database work; their catch blocks only respond when headersSent is false. A database/mapping failure after the first write leaves the HTTP response open indefinitely.

Acceptance Criteria:

  • Terminate or destroy an already-started export response when database access or record mapping fails; do not leave the socket pending.
  • Inject failures before the first record and mid-export for CSV and JSON, and assert deterministic response completion without an unhandled error.

Notes:
Injected a database failure into both real exporters after their first write; both returned with headersSent=true and no end/destroy.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1191, #819. 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 6h
PR unite (30g)
82

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.