Skip to content

[codex] Fix Vercel Turbo env forwarding#2612

Merged
juliusmarminge merged 1 commit intomainfrom
codex/fix-vercel-turbo-env
May 9, 2026
Merged

[codex] Fix Vercel Turbo env forwarding#2612
juliusmarminge merged 1 commit intomainfrom
codex/fix-vercel-turbo-env

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented May 9, 2026

What changed

  • Add the hosted web release build variables to Turborepo's root globalEnv allowlist:
    • APP_VERSION
    • VITE_HOSTED_APP_URL
    • VITE_HOSTED_APP_CHANNEL

Why

The Vercel release deploy warned that these project environment variables were missing from turbo.json, so Turborepo could strip them from turbo 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 fmt
  • bun lint
  • bun typecheck
  • bun run release:smoke

Note

Add APP_VERSION, VITE_HOSTED_APP_URL, and VITE_HOSTED_APP_CHANNEL to Turbo env forwarding

Adds 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.json to expand the globalEnv allowlist 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.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 9, 2026

Important

Review skipped

Auto reviews are disabled on this repository. 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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: b2cfa7e7-84a1-4449-b492-adefa13a3fde

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
  • Commit unit tests in branch codex/fix-vercel-turbo-env

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

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels May 9, 2026
@juliusmarminge juliusmarminge marked this pull request as ready for review May 9, 2026 05:09
@juliusmarminge juliusmarminge merged commit 6efdf67 into main May 9, 2026
17 checks passed
@juliusmarminge juliusmarminge deleted the codex/fix-vercel-turbo-env branch May 9, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant