[codex] Fix Vercel Turbo env forwarding#2612
Merged
juliusmarminge merged 1 commit intomainfrom May 9, 2026
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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.
What changed
globalEnvallowlist:APP_VERSIONVITE_HOSTED_APP_URLVITE_HOSTED_APP_CHANNELWhy
The Vercel release deploy warned that these project environment variables were missing from
turbo.json, so Turborepo could strip them fromturbo build --filter @t3tools/web. These values affect the hosted web build output, including the displayed app version, hosted router URL, and release channel.Validation
bun fmtbun lintbun typecheckbun run release:smokeNote
Add
APP_VERSION,VITE_HOSTED_APP_URL, andVITE_HOSTED_APP_CHANNELto Turbo env forwardingAdds three missing environment variables to turbo.json so Vercel Turbo correctly forwards them during builds.
Macroscope summarized e8f439e.
Note
Low Risk
Low risk configuration-only change that affects build-time environment forwarding; main risk is unintended cache invalidation or differing build outputs if these vars are set differently across environments.
Overview
Updates
turbo.jsonto expand theglobalEnvallowlist so Turborepo/Vercel forwards additional hosted-web release variables (APP_VERSION,VITE_HOSTED_APP_URL,VITE_HOSTED_APP_CHANNEL) during builds.Reviewed by Cursor Bugbot for commit e8f439e. Bugbot is set up for automated code reviews on this repo. Configure here.