Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
This branch has not been deployed
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 free
to 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.
Problem
Bootstrap can create a project from a starter, but users still have to deploy hosted services themselves. Users with an existing Compute-enabled project also need a way to install the starter there.
Fix
Allow catalog entries to declare a hosted Compute service, Storage buckets, migrations, and readiness and launch paths. Bootstrap selects a target, stages the starter in a temporary directory, confirms the hosted changes, deploys the named service, waits for HTTP readiness, and returns its URL. Interactive runs open the app in the browser. A local receipt lets a repeat invocation resume or reopen the installation. Existing catalog entries keep their scaffold workflow. With no template argument the picker now precedes the destination prompt, so hosted entries can skip that prompt altogether.
How to test
apps/cliwithpnpm test:integration:run src/commands/bootstrap. The suite supplies a generic hosted starter and simulates the platform API.supabase bootstrap <template> --remote=<project-ref>twice from the same directory. The first run should provision the service. The second should reopen the ready app. The template owns its sign-in flow.QA
CLI-3395