Skip to content

fix: add error handling for share queries and filter fetch retries#417

Merged
Movm merged 1 commit intomasterfrom
feature/error-handling-improvements
Jan 29, 2026
Merged

fix: add error handling for share queries and filter fetch retries#417
Movm merged 1 commit intomasterfrom
feature/error-handling-improvements

Conversation

@Movm
Copy link
Copy Markdown
Collaborator

@Movm Movm commented Jan 29, 2026

Summary

  • Gracefully handle getUserShares failures in the share controller by returning an empty result instead of crashing
  • Add retry logic with cooldown (max 3 retries, 30s cooldown) to fetchFilterValues in the notebook store to prevent infinite fetch loops on failure
  • Add apps/api/services/remotion/out/ to .gitignore

Test plan

  • Verify share image endpoint returns empty array when DB query fails
  • Verify filter fetching stops retrying after 3 failures
  • Verify filter fetching resumes after cooldown period
  • Verify successful filter fetch clears previous error state

- Gracefully handle getUserShares failures by returning empty result
- Add retry logic with cooldown to prevent infinite filter fetch loops
- Add remotion build output to gitignore
@Movm Movm merged commit 9f2d8e1 into master Jan 29, 2026
9 of 10 checks passed
@Movm Movm deleted the feature/error-handling-improvements branch March 10, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant