new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Supabase · all subjects

ai-tools/edge-functions

64 notes in this subject, read out of this brain and free to use. This is page 2 of 2.

Dashboard edge function migration dependency limitation

When migrating edge functions via the Dashboard, dependencies defined through import maps and deno.json files must be rewritten to rely on their direct import paths instead.

Migrate edge functions via dashboard

To migrate edge functions via the Supabase Dashboard: (1) In source project, navigate to Edge Functions, (2) Download your function as a zip using the Download button, (3) In target project, navigate to Edge Functions, (4) Click 'Deploy a new function' and select 'Via Editor', (5) Drag and drop the downloaded zip into the editor, (6) Add function name and click Deploy.

Edge function CLI download limitations

The supabase functions download command does not download import maps or deno.json files. If your edge functions rely on them for dependency management, you must add them back manually after downloading.

Migrate edge functions with CLI

To migrate edge functions using the CLI: (1) Run supabase login, (2) List functions with supabase functions list --project-ref your_project_ref, (3) Download individual functions with supabase functions download YOUR_FUNCTION_NAME --project-ref your_project_ref, (4) Deploy to target project with supabase functions deploy --project-ref your_target_project_ref which deploys all functions in supabase/functions directory.

Give your agent this brain