Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[fix] Terminate accounting export responses after streaming errors

クローズ
#1,701 コメント 7 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 7 日以内に返信

@Rampop01 がすでに取り組んでいます。

2026年10月21日 から。

  • #1720 @Rampop01 による — マージ済み

評価

この issue はまだ評価されていません。

説明

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.

主要言語
TypeScript
スター
18
フォーク
250
平均マージ
5日 6時間
マージ済み PR(30日)
82

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

LabsCrypt/flowfi のほかの issue

LabsCrypt/flowfi の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。