New Build Redirects to Login Page After Authentication Issue

Note: The current versions of staging and production are functioning properly. However, redeploying triggers the issue I’m encountering now. This doesn’t seem to be related to Supabase or any similar service, as an older version of the deployment works fine. Even with an empty commit (no code changes), simply redeploying causes the problem. I strongly suspect that something has changed during the build process or on Vercel’s hosting environment.