tr
TryGhost
GitHub
Ghost
Workspace
GitHub
CI Pipeline Executions
Filtered
Runs
Demo
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Overview
⌘K
Ghost
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
Failed
30286
463401c8 Fixed analytics freshness regressions from the Tinybird swap no ref Review follow-up. The swap inherited the app-wide refetchOnWindowFocus: false, but the old charts-lib SWR layer revalidated on focus - an analytics dashboard left open went stale until navigation. Pipe queries now refetch stale data on window focus. Active-visitors polling also stopped in hidden tabs (v5's refetchIntervalInBackground default); it now keeps polling like the old interval tick did. Both covered by new unit cases.
by Steve Larson
S
Succeeded
30286
a820a6f7 Changed Tinybird queries to react-query no ref The @tinybirdco/charts useQuery wrapper ran analytics data through SWR: a second client cache besides the app's react-query, with SWR's revalidate-on-focus default contradicting the admin's refetchOnWindowFocus: false, and invisible to react-query devtools and the acceptance harness's per-test QueryClient teardown. Tinybird pipe queries now ride the framework's react-query with an explicit policy: 60s staleTime (analytics reads fresh), retry off so Tinybird errors surface immediately, and the app-wide focus-refetch default inherited. Active visitors polls via refetchInterval instead of busting the cache key with a _refresh param every minute. The bearer token stays out of the query key — it is auth material, not data identity — so the scheduled 2h token refresh no longer drops and refetches every pipe query (the old SWR keys embedded the token in the URL). The queryFn reads the current token each fetch, and a 401/403 mid-rotation refreshes the token once and retries; the old path had no recovery. The token also moves from a URL param to an Authorization header, keeping it out of request logs. @tinybirdco/charts had no other imports, so the dependency is removed (dropping swr and echarts from the tree).
by Steve Larson
S
Previous
Next