Repository navigation
fix: tolerate non-URL edge function paths in api platform - #438
Conversation
The Management API can return entrypoint_path and import_map_path as plain paths rather than file:// URLs (Deno 2 deploys), which made fileURLToPath throw "Invalid URL" and broke list_edge_functions and get_edge_function for the whole project. Fall back to the raw path, matching the hosted server. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_014czimsTzzeDpcZQ1dumCTV
Coverage Report for CI Build 41054503567Coverage increased (+0.1%) to 97.722%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
|
The Generated by Claude Code |
Upstream made `schema_version` optional on the snippet content schema, so regenerate `management-api/types.ts` to keep the types check green. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_014czimsTzzeDpcZQ1dumCTV
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014czimsTzzeDpcZQ1dumCTV
|
Merged
No fix exists on Generated by Claude Code |
|
Correction on Check Management API Types: it isn't transient, and it will fail on every PR until Proposed fix on Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014czimsTzzeDpcZQ1dumCTV
|
Merged Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014czimsTzzeDpcZQ1dumCTV
🤖 I have created a release *beep* *boop* --- <details><summary>mcp-server-supabase: 0.16.0</summary> ## [0.16.0](mcp-server-supabase-v0.15.0...mcp-server-supabase-v0.16.0) (2026-11-05) ### Features * bound run_notebook cost ([#511](#511)) ([e90d110](e90d110)) * **mcp-server-supabase:** run selected notebook cells ([#514](#514)) ([8d04248](8d04248)) * **notebooks:** add delete_notebook tool with elicitation confirmation ([#510](#510)) ([f36f74a](f36f74a)) * **notebooks:** enable create_notebook and run_notebook tools ([#509](#509)) ([addc4e5](addc4e5)) ### Bug Fixes * **feedback:** accept null project_id and surface the feedback length limit ([#521](#521)) ([994f56c](994f56c)) * hint agents to re-copy malformed project refs ([#522](#522)) ([0c650bf](0c650bf)) * **notebooks:** return caller errors for client-caused notebook refusals ([#512](#512)) ([5f0d393](5f0d393)) * **pg-meta:** report partition FKs once and add partition_of to list_tables ([#508](#508)) ([2c7fa82](2c7fa82)) * **pg-meta:** return complete check expressions for NOT VALID and NO INHERIT constraints ([#517](#517)) ([c54bb40](c54bb40)) * **sql:** skip destructive confirmation for planner-only EXPLAIN ([#519](#519)) ([95745e5](95745e5)) * tolerate non-URL edge function paths in api platform ([#438](#438)) ([00d07a4](00d07a4)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Requested via Slack thread
list_edge_functionsandget_edge_functionthrewTypeError: Invalid URLwhenever the Management API returned anentrypoint_pathorimport_map_paththat was not afile://URL, which Deno 2 deploys do, so one such function broke listing for the whole project. This falls back to the raw path, matching what the hosted server already does, and adds tests for the relative-path case.Also regenerates
management-api/types.ts(upstream madeschema_versionoptional) so the types check passes.🤖 Generated with Claude Code
https://claude.ai/code/session_014czimsTzzeDpcZQ1dumCTV