Skip to content

fix(stats): fall back after full sync failure - #41411

Merged
adamdotdevin merged 6 commits into
devfrom
stats-sync-fallback
Aug 9, 2026
Merged

fix(stats): fall back after full sync failure#41411
adamdotdevin merged 6 commits into
devfrom
stats-sync-fallback

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • attempt the daily full stats refresh once per UTC day
  • allow Athena queries up to 30 minutes to complete as usage volume grows
  • fall through to the incremental refresh when the full Athena query fails or times out
  • keep the hourly data page current without repeatedly blocking on an expensive failed full refresh

Testing

  • bun typecheck (packages/stats/core)
  • bun typecheck (packages/stats/server)

Requested by: @jayair (Jay via Slack)

@adamdotdevin
adamdotdevin enabled auto-merge (squash) August 9, 2026 15:54
@adamdotdevin
adamdotdevin merged commit 0bff28d into dev Aug 9, 2026
10 of 11 checks passed
@adamdotdevin
adamdotdevin deleted the stats-sync-fallback branch August 9, 2026 15:59
HQ123-BOOP pushed a commit to HQ123-BOOP/LibreCode that referenced this pull request Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants