fix(cli): stream edge runtime bootstrap (CLI-2216) - #6273
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 21e069dd08
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Supabase CLI previewnpx --yes https://pkg.pr.new/supabase/cli/supabase@21e069dd0865ac6d270d2e416db958b5314b72f1Preview package for commit |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
TL;DR
fixes
supabase startandfunctions servedying with edge-runtime's "failed to determine entrypoint" on Docker daemons that cannot see the client's filesystem (remote tcpDOCKER_HOSTcontexts, podman machines)index.tsout of thesh -cargv onto a single file host bind mount to fix theWindows ENAMETOOLONGcrashstartreuse that serve core which left the bind sourcing a host path such daemons silently materialize as an empty directory at/root/index.tsso now the bundled template is streamed into the created container with
docker cpbeforedocker start,the same delivery Kong, Postgres, and Supavisor secret files already use since:
which fixes bring-up on non local daemons while the earlier
ENAMETOOLONGfix stays intact since nothing returns to the
spawn argvand the template no longer stages on host disk at all....ref: