TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
pr/fix-use-persisted-reports
c89d3ef8 fix(examples/ts-code-mode-web): persist reports across reloads The debounced save in usePersistedReports was created once and cached in a ref, capturing the initial empty 'reports' Map and null 'activeReportId' from the first effect run. Subsequent renders re-fired the effect but reused the cached closure, so every localStorage.setItem wrote the empty initial state. Recreate the debounced save each effect run; the cleanup cancels the in-flight debounce on each render so debouncing semantics are preserved. Repro: 1. Run examples/ts-code-mode-web (pnpm dev) and open /reporting-agent 2. Generate a report 3. DevTools > Application > Local Storage > 'tanstack-ai-reports' shows {"reports":[],"activeReportId":null,"version":1} despite the populated UI; reload makes the report disappear
by Arnþór Snæ...
A
Succeeded
pr/fix-use-persisted-reports
c89d3ef8 Merge 14f141babf611222a0aef77e38fb3b7381302633 into ff338557d9ea54c960617f52c89c488140d60f85
by Arnþór Snæ...
A
Previous page
Previous
Next
Next page