Synthesize shell cache spans from RDC enumeration
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 66/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- nextjs, typescript
- Ambito
- observability
Direzione di ricerca
Inizia nel wrapper del componente server e traccia il modo in cui lo store delle work-unit della richiesta espone il proprio resumeDataCache; conferma che le voci della cache possono essere enumerate senza dipendere dall’intercettazione delle letture. Emetti span sintetici cache.get contenenti il digest di ogni chiave e l’età dell’elemento, e documenta che le pagine senza un dynamic hole rimangono invisibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 1.9k
- Merge medio
- 1g 18h
- PR unite (30g)
- 562
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/sentry-javascript
-
Browser Waiting for: Product Owner
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
getsentry/sentry-javascript#24577 · 1 commento ·
-
Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-javascript#24558 · 1 commento ·
-
Task
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
getsentry/sentry-javascript#24557 · 1 commento ·
-
Task
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
getsentry/sentry-javascript#24556 · 1 commento ·
-
Task
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
getsentry/sentry-javascript#24555 · 1 commento ·
Tutte le issue di getsentry/sentry-javascript
Issue simili
-
blocklist removal
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
pastelsky/bundlephobia#1122 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100