Repository navigation
Phase 10: branch previews - #8
Merged
Merged
Conversation
Every branch of a tenant becomes an isolated preview of the whole app, when the operator switches previews on with `shelf app add|credentials --previews[=N]`. The reusable workflow publishes `branch-<slug>` for every branch and deletes the tag when the branch is deleted; a provider per app follows those tags, and the platform ResourceSet `previews` runs each one in a namespace `<app>--<slug>` with a quota and limits, its own generated secrets, and no exposure. - `shelf build-plan --branch`, `schema.BranchSlug` - chart: `platform.preview` generates secrets with lookup - `shelf app status|open --preview <branch>`, previews in `--json` - `shelf app rm` removes the previews too - registry build cache in the reusable workflow - `just smoke-previews`; dev registry allows deletes - tenant skill: wait in the background, watch CI, previews Measured on the dev cluster: 23 s from tag to a Ready first preview, 17 s for a later commit, 30 Mi RAM per preview of examples/hello. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Every branch of a tenant becomes an isolated preview of the whole app, when the operator switches previews on with
shelf app add|credentials --previews[=N]. The reusable workflow publishesbranch-<slug>for every branch and deletes the tag when the branch is deleted; a provider per app follows those tags, and the platform ResourceSetpreviewsruns each one in a namespace<app>--<slug>with a quota and limits, its own generated secrets, and no exposure.shelf build-plan --branch,schema.BranchSlugplatform.previewgenerates secrets with lookupshelf app status|open --preview <branch>, previews in--jsonshelf app rmremoves the previews toojust smoke-previews; dev registry allows deletesMeasured on the dev cluster: 23 s from tag to a Ready first preview, 17 s for a later commit, 30 Mi RAM per preview of examples/hello.