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

代理流提前断开时 result() 会一直卡住

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript
領域
api, backend

調査の方向性

Look for the streamProxy() and stream.result() methods in the codebase, likely in a file handling proxy or SSE connections. The issue mentions a local fix and passing npm run check and related tests. Start by running the existing tests to understand the failure case, then examine the event flow for early disconnects. The goal is to ensure result() returns an error instead of hanging when the proxy stream disconnects before done or error events.

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

説明

untriaged
What do you want to change?

代理请求的 SSE 连接如果在 done 或 error 事件之前断开,streamProxy() 会结束事件流,但 stream.result() 会一直等。我想让这种情况返回一个错误事件。

Why?

调用方等最终结果时会卡住。用一个只发 start 就断开的模拟响应就能复现。

How? (optional)

本地已经加了检查和回归测试,npm run check 和相关测试都过了。如果这个方向可以做,麻烦回个 lgtm,我再提 PR。

主要言語
TypeScript
スター
54
フォーク
20
平均マージ
4時間 1分
マージ済み PR(30日)
12

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

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

はじめの一歩

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

stepfun-ai/Step-Code のほかの issue

stepfun-ai/Step-Code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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