Skip to content

Feat/kb 26 - automatic DB branching preview deployments on PR - #18

Closed
kybouw wants to merge 5 commits into
mainfrom
feat/KB-26
Closed

Feat/kb 26 - automatic DB branching preview deployments on PR#18
kybouw wants to merge 5 commits into
mainfrom
feat/KB-26

Conversation

@kybouw

@kybouw kybouw commented Aug 7, 2026

Copy link
Copy Markdown
Owner

No description provided.

Kyle Bouwman and others added 4 commits August 6, 2026 20:51
Creates a Neon branch per PR, applies pending Drizzle migrations to it,
and repoints the Vercel preview deployment for that git branch at it via
a branch-scoped DATABASE_URL. Vercel resolves env vars at build time, so
the first run forces one rebuild; later pushes reuse the existing branch
and skip it. PR close removes both the env var and the Neon branch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
A failure removing the Vercel env var previously skipped the branch
delete, stranding the Neon branch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
allocado Ready Ready Preview Aug 7, 2026 4:09am

Actions echoes a run block's script into the log before executing it, so
masking a literal printed the password in cleartext. create-branch-action
already masks its own connection strings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@kybouw

kybouw commented Aug 7, 2026

Copy link
Copy Markdown
Owner Author

cancelled

@kybouw kybouw closed this Aug 7, 2026
@kybouw
kybouw deleted the feat/KB-26 branch August 7, 2026 04:17
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