Skip to content

Phase 10: branch previews - #8

Merged
tweinmann merged 1 commit into
mainfrom
phase-10-branch-previews
Oct 28, 2026
Merged

tweinmann merged 1 commit into
mainfrom
phase-10-branch-previews

Conversation

@tweinmann

Copy link
Copy Markdown
Owner

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.

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>
@tweinmann
tweinmann merged commit e97df82 into main Oct 28, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant