Skip to content

Use Turbo to determine Vercel deployments #1930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

bensleveritt
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Apr 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
file-upload-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
form-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
gcmp-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
image-upload-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-chat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-chat-1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-chat-2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-homepage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-inspector ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-multi-cursors ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-pets ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
jazz-todo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
music-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
passkey-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
passphrase-auth-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
passwords-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm
reactions-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 16, 2025 1:56pm

@bensleveritt bensleveritt changed the title Attempt Attempt to use Turbo to determine Vercel deployments Apr 16, 2025
@bensleveritt bensleveritt changed the title Attempt to use Turbo to determine Vercel deployments UseTurbo to determine Vercel deployments Apr 16, 2025
@bensleveritt bensleveritt changed the title UseTurbo to determine Vercel deployments Use Turbo to determine Vercel deployments Apr 16, 2025
@bensleveritt bensleveritt force-pushed the use-turbo-to-determine-deployments branch from 4647018 to 28bff97 Compare April 16, 2025 13:53
@bensleveritt
Copy link
Collaborator Author

Just going to add my notes here to come back to.

Projects in Vercel don't match what Turbo thinks are the names of the projects, so process.env.APP_NAME is nearly always wrong. To compensate for this adding project name to the env var JAZZ_PROJECT_NAME to the Vercel project can be picked up by the script.

Any attempt to use Turbo's =filter=...[SHA] seems to fail as the checkout is shallow and we can't use Git history to determine if the project has changed.

Further investigation needs to look at if there other ways to tell if a project has been changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant