Skip to content

Vercel branch previews#2002

Draft
webguru-hypha wants to merge 1 commit intomainfrom
cursor/vercel-branch-previews-34aa
Draft

Vercel branch previews#2002
webguru-hypha wants to merge 1 commit intomainfrom
cursor/vercel-branch-previews-34aa

Conversation

@webguru-hypha
Copy link
Contributor

Add stable branch-based preview URLs for Vercel deployments by aliasing each PR's deployment.

The vercel deploy --prebuilt command generates a unique URL per commit, which is not suitable for consistent PR previews. Since Vercel's native git branch URLs are not available with this deployment method, a custom alias is created post-deployment to provide a stable, shareable link for each pull request. This also includes cleanup for aliases on PR closure and concurrency handling for multiple commits.

Open in Web Open in Cursor 

Co-authored-by: webguru-hypha <webguru-hypha@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Mar 12, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 12, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d39a0dc4-099b-4558-8405-6ae82aeaa2c4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/vercel-branch-previews-34aa
📝 Coding Plan for PR comments
  • Generate coding plan

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

2 participants