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

feat: liveness signal for wedged provider streams (5min chunk timeout hides stalls)

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
typescript

調査の方向性

provider.ts の wrapSSE から調査を始め、DEFAULT_CHUNK_TIMEOUT が現在どのように欠落した chunk を検出しているかを確認します。issue で提案されている個別の no-first-byte/liveness シグナルと、待機が継続していることを示すインジケーターを比較し、実装前にどの動作を仕様として定めるべきかを特定します。完了の条件は、意図的に低速な provider stream にリグレッションを起こさず、詰まった stream がより早く見えるようになることです。

索引モデルが issue の本文から書いたものです。

説明

Found during the v0.8.8 release review (Chaos Gremlin / on-call SRE, P2 deferred).

#844 raised DEFAULT_CHUNK_TIMEOUT from 2min to 5min. The watchdog (wrapSSE in provider.ts) only fires when a chunk fails to arrive within the window, so a genuinely wedged provider stream (connection alive, no data) now hangs a user for ~5 minutes before the timeout aborts — up from ~2. Errors are surfaced, not silent, but the user-visible stall doubled.

This was an intentional tradeoff (slow warehouse/LLM streams were tripping the 2min watchdog), so it is deferred. Possible follow-up: a separate, shorter "no first byte" / liveness signal distinct from the steady-state chunk timeout, or surfacing a "still waiting…" indicator past N seconds so a wedged stream is visible before the hard timeout.

主要言語
TypeScript
スター
813
フォーク
134
平均マージ
2日 2時間
マージ済み PR(30日)
67

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

AltimateAI/altimate-code のほかの issue

AltimateAI/altimate-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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