Request-body reads can succeed after their deadline

オープン
#327 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

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

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

2026年11月16日 から。

  • #333 @cX3po による — オープン

評価

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

説明

contributors-section

readRequestJson can accept a late chunk or late end-of-stream completion before its overdue timer callback runs. The stream read occupies the event loop past the deadline, then its promise continuation completes first.

The regression test request-body-deadline.test.ts has two late-completion cases and an immediate valid-body control. Our sandbox run logs at base 863f15f29a4e628c1e93943ba9bc5d4b4fdd67bf show the two late-completion cases failing and the control passing. At candidate a13ae527d67225f6c1ee72edb66d068fa1d96bbe all three pass. The candidate checks monotonic elapsed time after reads and JSON decoding.

Note: coverage of parsing-only deadline expiry is not separately exercised.

主要言語
TypeScript
スター
0
フォーク
3
平均マージ
20時間 26分
マージ済み PR(30日)
119

環境構築

はじめの一歩

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

DACS-Agent-commerce/Community のほかの issue

DACS-Agent-commerce/Community の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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