Skip to content

fix: optimize db egress#89

Merged
landsman merged 8 commits intodevfrom
fix/db-egress
Mar 27, 2026
Merged

fix: optimize db egress#89
landsman merged 8 commits intodevfrom
fix/db-egress

Conversation

@landsman
Copy link
Copy Markdown
Owner

resolve #88

@github-actions
Copy link
Copy Markdown

Deno Outdated - Supabase

Package Current Update Latest
npm:lucide-react 0.577.0 0.577.0 1.7.0
npm:@vitejs/plugin-react 5.2.0 5.2.0 6.0.1
npm:vite 7.3.1 7.3.1 8.0.3

@github-actions
Copy link
Copy Markdown

Deno Outdated - Web

Package Current Update Latest
npm:lucide-react 0.577.0 0.577.0 1.7.0
npm:@vitejs/plugin-react 5.2.0 5.2.0 6.0.1
npm:vite 7.3.1 7.3.1 8.0.3

@landsman landsman merged commit 34378f0 into dev Mar 27, 2026
2 checks passed
@landsman landsman deleted the fix/db-egress branch March 27, 2026 08:01
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements several optimizations to reduce Supabase egress, including batching database queries, removing unused data returns on upserts, and reducing cron job frequency. It also adds database diagnostic tools and documentation. Feedback focuses on improving the reliability of diagnostic scripts, ensuring Makefile portability across operating systems, and centralizing duplicated configuration strings.

Comment thread supabase/diagnostics/egress/06_estimated_egress_per_query.sql
Comment thread .docs/decision-records/002-reduce-egress.md
Comment thread Makefile
Comment thread supabase/functions/lastfm-library-artists/index.ts
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.

optimize db egress

1 participant