Uh oh!
There was an error while loading. Please reload this page.
fix: include scopes from deno.json - #3773
Merged
Merged
Conversation
Pull Request Test Coverage Report for Build 15905585012Details
💛 - Coveralls |
pullBot
pushed a commit
to oogalieboogalie/cli
that referenced
this pull request
Aug 24, 2026
## TL;DR Local Function bundling now mounts the workspace paths declared under an import map's `scopes`, even when they resolve outside the Supabase project. ## what's biting the users? `supabase functions serve`, `supabase start`, and `supabase functions deploy` silently dropped `scopes` targets that resolve above the project, so an enclosing Deno workspace never reached the Edge Runtime container and each Function died with `Relative import path "@acme/thing" ... not in import map`. This bites monorepos where the Supabase project is a nested repository or a submodule, and nothing was logged at any level, so the failure surfaced as a Deno resolution error rather than a missing mount.... ## now fixed by: targets declared under `scopes` that resolve outside the project are mounted read only, and each surviving mount prints a warning naming the host path. Those mounts are excluded from the file watch set, so a mounted workspace directory cannot become a watch root. Server side bundling, reached with `--use-api` or when the Docker daemon is stopped, is unchanged and still does not carry scope targets... ## ref: - closes: supabase/supabase#35021 - extends: supabase#3773
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
supabase/supabase#35021 (comment)
What is the new behavior?
Mount scopes directories when serving and deploying functions.
Additional context
Add any other context or screenshots.