chore(ci): drop the Clerk entries from turbo globalEnv

Merged
SA
2mo ago
+0-3

Clerk stopped being the auth provider in January. NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, NEXT_PUBLIC_CLERK_SIGN_IN_URL and NEXT_PUBLIC_CLERK_SIGN_UP_URL have no consumer in any app, no matching secret or variable in GitHub, and no reference in any workflow — but globalEnv is part of Turbo's cache key, so it kept hashing them.

Verified with an unfiltered repo-wide sweep. What remains and stays: migration history (immutable), a comment in CTAButtons.tsx explaining a real catch for stale Clerk cookies, and env.test.ts using CLERK_SECRET_KEY as a sample secret for a generic sanitizer.

The local-db columns are handled separately in #7080.

bun run lint and bun run typecheck pass.

https://claude.ai/code/session_01QAQLVm3xTUXsJhpPQo3Nuf


Summary by cubic

Removes NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, NEXT_PUBLIC_CLERK_SIGN_IN_URL, and NEXT_PUBLIC_CLERK_SIGN_UP_URL from Turbo's globalEnv. These variables have no consumers or matching GitHub secrets since Clerk was replaced as the auth provider, but they were still hashed into the cache key.

Summary by CodeRabbit

  • Chores
    • Removed three Clerk-related environment variables from the shared build configuration.
    • No user-facing functionality or behavior was changed.