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

Dev diagnostics: ABANDONED_FLIGHTS fires on streamed frame slot args that supersede by design

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, typescript
領域
devtools

調査の方向性

The false positive originates in the per-slot async-arg memo in packages/web/frames/src/client.ts where createMemo(() => args()[key]) causes streamed frames to supersede their own flights. Start by examining how abandonedFlights is counted in the dev diagnostics and whether the check can distinguish intentional supersession from churn. The fix will likely involve exempting or annotating these cases in the diagnostic output.

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

説明

Split out of #3739, where it was reported as an aside.

examples/chat, running under vite-plugin-solid's dev server with the performance tracks on, logs repeated ABANDONED_FLIGHTS while a reply streams:

"computed" abandoned 3 flights in 1000ms
<App> › <For> › <Loading> › children › <Reply> › computed › computed

#3739 asked whether this is the HMR plumbing blind spot. It isn't, and the fix for #3739 (#3850) doesn't change it:

  • The warned node is a named computed. Plumbing nodes have no name, and the check already skips them.
  • abandonedFlights isn't one of the cost checks that checks: false turns off, so it stays on under the performance-tracks hold.
  • <Reply> is a local dynamic(() => reply(...)) server component, not an HMR-wrapped component.

The likely source is the per-slot async-arg memo in packages/web/frames/src/client.ts (createMemo(() => args()[key])). Each streamed frame starts a new flight before the previous one lands, which is supersession by design. The check has no way to tell that apart from accidental churn. This has been traced from the code only; examples/chat hasn't been run to confirm it.

The question is how ABANDONED_FLIGHTS should treat sources that supersede their own flights by design, such as streamed slot args: exempt them, mark them, or calibrate the threshold differently for them.

主要言語
TypeScript
スター
36.1k
フォーク
1.1k
平均マージ
11時間 42分
マージ済み PR(30日)
326

環境構築

はじめの一歩

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

solidjs/solid のほかの issue

solidjs/solid の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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