I am experiencing a critical issue where my production deployment is not loading any new environment variables set in the dashboard. Existing variables work correctly, but any newly added secrets are undefined.
The Anomaly:
- Working Keys: My pre-existing secrets like
RESEND_API_KEYand theJWKS/JWT_PRIVATE_KEYauth keys are loading and working perfectly. - Failing Keys: Any new keys I add, specifically
STRIPE_SECRET_KEYandSTRIPE_WEBHOOK_SECRET, are consistentlyundefinedinside my Convex actions.
Irrefutable Proof:
To prove this is a platform sync issue, I ran a specific test:
- I added a new environment variable in the production dashboard named
DUMMY_TESTwith a value of1234. - I triggered a fresh deployment and called an action that logs this variable.
- The server logs for Request ID
240ef5c77e57d120confirm the result:[LOG] 'Attempting to read DUMMY_TEST value:' undefined.
This test proves that my deployment is not receiving any new secrets from the dashboard. Standard redeployments have not fixed this.
My Specific Question:
Could you please investigate Request ID240ef5c77e57d120for my deployment? The logs clearly show a failure to load a newly addedDUMMY_TESTvariable. Why is my production instance failing to sync with new secrets added to the dashboard, while older secrets continue to work?