Synthesize shell cache spans from RDC enumeration
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 66/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- nextjs, typescript
調査の方向性
サーバーコンポーネントのラッパーから開始し、リクエストの work-unit ストアがその resumeDataCache をどのように公開しているかを追跡します。読み取りのインターセプトに依存せずにキャッシュエントリを列挙できることを確認します。各キーのダイジェストとアイテムの経過時間を含む合成 cache.get スパンを出力し、dynamic hole のないページは引き続き不可視であることを文書化します。
索引モデルが issue の本文から書いたものです。
説明
Example:
export default function Page() {
return (<><CachedHeader /> {/* 'use cache', baked into the static shell */}
<Suspense fallback={<Sk/>}><LiveStock /></Suspense></>);
}
A request serves the shell, including the cached header, from the Resume Data Cache before any of our code runs. The handler instrumentation never fires. The trace shows LiveStock and nothing about the cached half of the page.
Solves: "was my cached content used, and how old was it?" for shell-served entries.
Fix idea: from code in the dynamic hole (the server-component wrapper), read the request work-unit store's resumeDataCache, enumerate its entries, and emit synthetic cache.get spans with key digest and item age. Research verified that enumeration works and read interception does not. Pages without a dynamic hole stay invisible. Document that limit instead of fighting it.
- 主要言語
- TypeScript
- スター
- 8.7k
- フォーク
- 1.9k
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 562
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-javascript のほかの issue
-
Browser Waiting for: Product Owner
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
getsentry/sentry-javascript#24577 · コメント 1 件 ·
-
Task
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/sentry-javascript#24558 · コメント 1 件 ·
-
Task
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
getsentry/sentry-javascript#24557 · コメント 1 件 ·
-
Task
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
getsentry/sentry-javascript#24556 · コメント 1 件 ·
-
Task
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
getsentry/sentry-javascript#24555 · コメント 1 件 ·
getsentry/sentry-javascript の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·