You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's a disconnect between Deno runtime and Deno Deploy documentation regarding environment variables with the DENO_ prefix:
The runtime documentation lists several special environment variables starting with DENO_ that developers can use during development.
However, when deploying to Deno Deploy, setting any environment variable with the DENO_ prefix results in an error: Invalid key: DENO_ is a reserved prefix
This restriction is not documented in the Deno Deploy environment variables documentation.
Impact:
Developers following the runtime docs may use DENO_ prefixed variables during local development
These applications will fail when deployed due to the undocumented restriction
This creates a frustrating developer experience and requires unnecessary debugging time
Environment variables with the DENO_ prefix are reserved and cannot be set in Deno Deploy. While these variables (like DENO_AUTH_TOKENS) work in local development, you'll need to use alternative approaches when deploying.
Additional Suggestions:
List common DENO_ variables that developers might try to use and their alternatives in Deploy
Consider adding this warning to the runtime docs where DENO_ variables are mentioned
This documentation update will help developers avoid deployment issues and provide a smoother development experience.
The text was updated successfully, but these errors were encountered:
Currently, there's a disconnect between Deno runtime and Deno Deploy documentation regarding environment variables with the
DENO_
prefix:DENO_
that developers can use during development.DENO_
prefix results in an error:Invalid key: DENO_ is a reserved prefix
Impact:
DENO_
prefixed variables during local developmentProposed Documentation Update:
Add a prominent note in the Deploy environment variables documentation stating:
Important
Environment variables with the DENO_ prefix are reserved and cannot be set in Deno Deploy. While these variables (like DENO_AUTH_TOKENS) work in local development, you'll need to use alternative approaches when deploying.
Additional Suggestions:
DENO_
variables that developers might try to use and their alternatives in DeployDENO_
variables are mentionedThis documentation update will help developers avoid deployment issues and provide a smoother development experience.
The text was updated successfully, but these errors were encountered: