7 things would fail quietly instead. 3 are worth tidying..
| variable | why | declared for | first read at |
|---|---|---|---|
| NEXT_PRIVATE_ENCRYPTION_KEY | the read raises when unset | build, example, local, prod | packages/ee/server-only/signing/csc/ciphers.ts:25 |
| NEXT_PRIVATE_SIGNING_CSC_OAUTH_CLIENT_ID | the read raises when unset | build, example | packages/ee/server-only/signing/csc/transport.ts:110 |
| NEXT_PRIVATE_SIGNING_CSC_OAUTH_CLIENT_SECRET | the read raises when unset | build, example | packages/ee/server-only/signing/csc/transport.ts:111 |
| NEXT_PRIVATE_SIGNING_CSC_PROVIDER_BASE_URL | the read raises when unset | build, example | packages/ee/server-only/signing/csc/transport.ts:109 |
| NEXT_PUBLIC_DISABLE_EMAIL_PASSWORD_SIGNIN | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_EMAIL_PASSWORD_SIGNUP | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_GOOGLE_SIGNIN | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_GOOGLE_SIGNUP | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_MICROSOFT_SIGNIN | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_MICROSOFT_SIGNUP | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_OIDC_SIGNIN | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| NEXT_PUBLIC_DISABLE_OIDC_SIGNUP | substituted into docker/production/compose.yml with no default | build, example, local, prod | docker/production/compose.yml |
| variable | declared for | read at |
|---|---|---|
| DANGEROUS_BYPASS_RATE_LIMITS | build, ci, example | packages/lib/server-only/rate-limit/assert-organisation-rates-and-limits.ts:32 |
| DATABASE_URL_UNPOOLED | build | packages/prisma/helper.ts:18 |
| DEBUG_PDF_INSERT | — — nowhere | packages/lib/server-only/pdf/insert-field-in-pdf-v1.ts:46 |
| NEXT_PRIVATE_DATABASE_REPLICA_URLS | build | packages/prisma/index.ts:74 |
| NEXT_PRIVATE_DELETED_SERVICE_ACCOUNT_EMAIL | — — nowhere | packages/lib/server-only/user/service-accounts/deleted-account.ts:8 |
| NEXT_PRIVATE_LEGACY_SERVICE_ACCOUNT_EMAIL | — — nowhere | packages/lib/server-only/user/service-accounts/legacy-service-account.ts:8 |
| NEXT_PRIVATE_OIDC_PROMPT | build, example | packages/auth/server/lib/utils/handle-oauth-authorize-url.ts:70 |
| NEXT_PRIVATE_TURNSTILE_SECRET_KEY | build, example | packages/lib/server-only/captcha/verify-captcha.ts:28 |
Nothing raises: the value is simply empty, so whatever depends on it is quietly inactive. This is the shape of bug that reaches production, because the process starts and the tests pass.
Nothing raises: the value is simply empty, so whatever depends on it is quietly inactive. This is the shape of bug that reaches production, because the process starts and the tests pass.
Nothing raises: the value is simply empty, so whatever depends on it is quietly inactive. This is the shape of bug that reaches production, because the process starts and the tests pass.
It is declared for build and nowhere else, so the documented setup path is incomplete: someone configuring this from the example file never learns the variable exists, and whatever it controls is quietly inactive for them.
It is declared for build and nowhere else, so the documented setup path is incomplete: someone configuring this from the example file never learns the variable exists, and whatever it controls is quietly inactive for them.
It is declared for build, ci and nowhere else, so the documented setup path is incomplete: someone configuring this from the example file never learns the variable exists, and whatever it controls is quietly inactive for them.
It is declared for build, ci and nowhere else, so the documented setup path is incomplete: someone configuring this from the example file never learns the variable exists, and whatever it controls is quietly inactive for them.
Declared for build, example. No read of this name appears anywhere in the source, so setting it has no effect - which is worse than useless, because it reads as a working control.
Declared for build, example. No read of this name appears anywhere in the source, so setting it has no effect - which is worse than useless, because it reads as a working control.
Declared for build, example. No read of this name appears anywhere in the source, so setting it has no effect - which is worse than useless, because it reads as a working control.
| variable | example | local | ci | prod | build | any |
|---|---|---|---|---|---|---|
| NEXT_PRIVATE_ENCRYPTION_KEY | yes | yes | no | yes | yes | no |
| NEXT_PRIVATE_SIGNING_CSC_OAUTH_CLIENT_ID | yes | no | no | no | yes | no |
| NEXT_PRIVATE_SIGNING_CSC_OAUTH_CLIENT_SECRET | yes | no | no | no | yes | no |
| NEXT_PRIVATE_SIGNING_CSC_PROVIDER_BASE_URL | yes | no | no | no | yes | no |
| NEXT_PUBLIC_DISABLE_EMAIL_PASSWORD_SIGNIN | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_EMAIL_PASSWORD_SIGNUP | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_GOOGLE_SIGNIN | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_GOOGLE_SIGNUP | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_MICROSOFT_SIGNIN | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_MICROSOFT_SIGNUP | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_OIDC_SIGNIN | yes | yes | no | yes | yes | no |
| NEXT_PUBLIC_DISABLE_OIDC_SIGNUP | yes | yes | no | yes | yes | no |
| DANGEROUS_BYPASS_RATE_LIMITS | yes | no | yes | no | yes | no |
| DATABASE_URL_UNPOOLED | no | no | no | no | yes | no |
| DEBUG_PDF_INSERT | no | no | no | no | no | no |
| NEXT_PRIVATE_DATABASE_REPLICA_URLS | no | no | no | no | yes | no |
| NEXT_PRIVATE_DELETED_SERVICE_ACCOUNT_EMAIL | no | no | no | no | no | no |
| NEXT_PRIVATE_LEGACY_SERVICE_ACCOUNT_EMAIL | no | no | no | no | no | no |
| NEXT_PRIVATE_OIDC_PROMPT | yes | no | no | no | yes | no |
| NEXT_PRIVATE_TURNSTILE_SECRET_KEY | yes | no | no | no | yes | no |
| variable | default | declared for | read at |
|---|---|---|---|
| DOCUMENSO_DISABLE_TELEMETRY | — | build, example | packages/lib/server-only/telemetry/telemetry-client.ts:17 |
| GOOGLE_VERTEX_API_KEY | — | build, example | packages/lib/utils/env.ts:62 |
| GOOGLE_VERTEX_LOCATION | — | build, example | packages/lib/server-only/ai/google.ts:7 |
| GOOGLE_VERTEX_PROJECT_ID | — | build, example | packages/lib/utils/env.ts:62 |
| INNGEST_EVENT_KEY | — | build | packages/lib/jobs/client/inngest.ts:26 |
| INTERNAL_FORCE_JSON_LOGGER | — | — | packages/lib/utils/logger.ts:9 |
| INTERNAL_OVERRIDE_LICENSE_SERVER_URL | — | — | packages/lib/server-only/license/license-client.ts:19 |
| NEXT_DEBUG | — | — | packages/lib/utils/debugger.ts:17 |
| NEXT_DEBUG_AUTH | — | — | packages/lib/utils/debugger.ts:7 |
| NEXT_DEBUG_JOB | — | — | packages/lib/utils/debugger.ts:8 |
| NEXT_DEBUG_MIDDLEWARE | — | — | packages/lib/utils/debugger.ts:9 |
| NEXT_PRIVATE_ALLOWED_SIGNUP_DOMAINS | — | build, example, local | packages/lib/constants/auth.ts:81 |
| NEXT_PRIVATE_BROWSERLESS_URL | — | build | packages/lib/server-only/htmltopdf/get-audit-logs-pdf.ts:32 |
| NEXT_PRIVATE_BULLMQ_CONCURRENCY | — | build | packages/lib/jobs/client/bullmq.ts:58 |
| NEXT_PRIVATE_DATABASE_URL | — | any, build, example, prod | packages/prisma/helper.ts:4 |
| NEXT_PRIVATE_DIRECT_DATABASE_URL | — | any, build, example, prod | packages/prisma/helper.ts:10 |
| NEXT_PRIVATE_DOCUMENSO_LICENSE_KEY | — | build, example | packages/lib/server-only/telemetry/telemetry-client.ts:13 |
| NEXT_PRIVATE_DOCUMENT_CONVERSION_PASSWORD | — | — | packages/lib/constants/document-conversion.ts:42 |
| NEXT_PRIVATE_DOCUMENT_CONVERSION_TIMEOUT_MS | — | — | packages/lib/constants/document-conversion.ts:58 |
| NEXT_PRIVATE_DOCUMENT_CONVERSION_URL | — | — | packages/lib/utils/env.ts:55 |
| NEXT_PRIVATE_DOCUMENT_CONVERSION_USERNAME | — | — | packages/lib/constants/document-conversion.ts:41 |
| NEXT_PRIVATE_ENCRYPTION_SECONDARY_KEY | — | build, example, local, prod | packages/lib/constants/crypto.ts:5 |
| NEXT_PRIVATE_GOOGLE_CLIENT_ID | — | build, example, local, prod | packages/lib/utils/env.ts:64 |
| NEXT_PRIVATE_GOOGLE_CLIENT_SECRET | — | build, example, local, prod | packages/lib/utils/env.ts:64 |
| NEXT_PRIVATE_INNGEST_APP_ID | — | build | packages/lib/jobs/client/inngest.ts:25 |
| NEXT_PRIVATE_INNGEST_EVENT_KEY | — | build, example | packages/lib/jobs/client/inngest.ts:26 |
| NEXT_PRIVATE_INTERNAL_WEBAPP_URL | — | build, example, prod | packages/lib/constants/app.ts:60 |
| NEXT_PRIVATE_JOBS_PROVIDER | — | build, example | packages/lib/jobs/client/client.ts:14 |
| NEXT_PRIVATE_LOGGER_FILE_PATH | — | build, example | packages/lib/utils/logger.ts:16 |
| NEXT_PRIVATE_MAILCHANNELS_API_KEY | — | build, example, local, prod | packages/email/mailer.ts:59 |
| NEXT_PRIVATE_MAILCHANNELS_DKIM_DOMAIN | — | build, example, local, prod | packages/email/transports/mailchannels.ts:85 |
| NEXT_PRIVATE_MAILCHANNELS_DKIM_PRIVATE_KEY | — | build, example, local, prod | packages/email/transports/mailchannels.ts:87 |
| NEXT_PRIVATE_MAILCHANNELS_DKIM_SELECTOR | — | build, example, local, prod | packages/email/transports/mailchannels.ts:86 |
| NEXT_PRIVATE_MAILCHANNELS_ENDPOINT | — | build, example, local, prod | packages/email/mailer.ts:60 |
| NEXT_PRIVATE_MICROSOFT_CLIENT_ID | — | build, example | packages/lib/utils/env.ts:66 |
| NEXT_PRIVATE_MICROSOFT_CLIENT_SECRET | — | build, example | packages/lib/utils/env.ts:66 |
| NEXT_PRIVATE_OIDC_CLIENT_ID | — | build, example | packages/lib/utils/env.ts:69 |
| NEXT_PRIVATE_OIDC_CLIENT_SECRET | — | build, example | packages/lib/utils/env.ts:70 |
| NEXT_PRIVATE_OIDC_PROVIDER_LABEL | — | build, example | packages/lib/utils/env.ts:73 |
| NEXT_PRIVATE_OIDC_SKIP_VERIFY | — | build, example | packages/auth/server/config.ts:50 |
| NEXT_PRIVATE_OIDC_WELL_KNOWN | — | build, example | packages/lib/utils/env.ts:68 |
| NEXT_PRIVATE_PLAIN_API_KEY | — | build, example | packages/lib/plain/client.ts:5 |
| NEXT_PRIVATE_REDIS_PREFIX | — | build, example | packages/lib/jobs/client/bullmq.ts:47 |
| NEXT_PRIVATE_REDIS_URL | — | build, example | packages/lib/jobs/client/bullmq.ts:41 |
| NEXT_PRIVATE_RESEND_API_KEY | — | build, example, local, prod | packages/email/mailer.ts:66 |
| NEXT_PRIVATE_SES_ACCESS_KEY_ID | — | example | packages/ee/server-only/lib/create-email-domain.ts:14 |
| NEXT_PRIVATE_SES_REGION | — | example | packages/ee/server-only/lib/create-email-domain.ts:16 |
| NEXT_PRIVATE_SES_SECRET_ACCESS_KEY | — | example | packages/ee/server-only/lib/create-email-domain.ts:15 |
| NEXT_PRIVATE_SHOW_NEW_ACCOUNT_EMAIL_WARNING | — | example | packages/lib/utils/sender-trust.ts:21 |
| NEXT_PRIVATE_SIGNING_CSC_SIGNATURE_LEVEL | — | build, example | packages/lib/constants/app.ts:143 |
| NEXT_PRIVATE_SIGNING_GCLOUD_APPLICATION_CREDENTIALS_CONTENTS | — | build, example, prod | packages/signing/transports/google-cloud.ts:54 |
| NEXT_PRIVATE_SIGNING_GCLOUD_HSM_CERT_CHAIN_CONTENTS | — | build, example, prod | packages/signing/transports/google-cloud.ts:7 |
| NEXT_PRIVATE_SIGNING_GCLOUD_HSM_CERT_CHAIN_FILE_PATH | — | build, example, prod | packages/signing/transports/google-cloud.ts:8 |
| NEXT_PRIVATE_SIGNING_GCLOUD_HSM_KEY_PATH | — | build, example, prod | packages/signing/transports/google-cloud.ts:47 |
| NEXT_PRIVATE_SIGNING_GCLOUD_HSM_PUBLIC_CRT_FILE_CONTENTS | — | build, example, prod | packages/signing/transports/google-cloud.ts:19 |
| NEXT_PRIVATE_SIGNING_GCLOUD_HSM_PUBLIC_CRT_FILE_PATH | — | build, example, prod | packages/signing/transports/google-cloud.ts:20 |
| NEXT_PRIVATE_SIGNING_GCLOUD_HSM_SECRET_MANAGER_CERT_PATH | — | build, example, prod | packages/signing/transports/google-cloud.ts:31 |
| NEXT_PRIVATE_SIGNING_LOCAL_FILE_CONTENTS | — | build, example, prod | packages/signing/transports/local.ts:6 |
| NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH | — | build, ci, example, local, prod | packages/signing/transports/local.ts:12 |
| NEXT_PRIVATE_SIGNING_PASSPHRASE | — | build, example, local, prod | packages/signing/transports/local.ts:38 |
| NEXT_PRIVATE_SIGNING_REASON | — | example | packages/lib/constants/app.ts:103 |
| NEXT_PRIVATE_SIGNING_TIMESTAMP_AUTHORITY | — | build, example, prod | packages/lib/constants/app.ts:102 |
| NEXT_PRIVATE_SIGNING_TRANSPORT | — | build, example, prod | packages/lib/utils/env.ts:58 |
| NEXT_PRIVATE_SMTP_APIKEY | — | build, example, local, prod | packages/email/mailer.ts:78 |
| NEXT_PRIVATE_SMTP_APIKEY_USER | — | build, example, local, prod | packages/email/mailer.ts:87 |
| NEXT_PRIVATE_SMTP_FROM_ADDRESS | — | build, example, local, prod | packages/lib/constants/email.ts:3 |
| NEXT_PRIVATE_SMTP_FROM_NAME | — | build, example, local, prod | packages/lib/constants/email.ts:4 |
| NEXT_PRIVATE_SMTP_HOST | — | build, example, local, prod | packages/email/mailer.ts:78 |
| NEXT_PRIVATE_SMTP_PASSWORD | — | build, example, local, prod | packages/email/mailer.ts:101 |
| NEXT_PRIVATE_SMTP_PORT | — | build, example, local, prod | packages/email/mailer.ts:84 |
| NEXT_PRIVATE_SMTP_SECURE | — | build, example, local, prod | packages/email/mailer.ts:85 |
| NEXT_PRIVATE_SMTP_SERVICE | — | build, example, local | packages/email/mailer.ts:104 |
| NEXT_PRIVATE_SMTP_TRANSPORT | — | build, example, local, prod | packages/email/mailer.ts:54 |
| NEXT_PRIVATE_SMTP_UNSAFE_IGNORE_TLS | — | build, example, local | packages/email/mailer.ts:97 |
| NEXT_PRIVATE_SMTP_USERNAME | — | build, example, local, prod | packages/email/mailer.ts:98 |
| NEXT_PRIVATE_STRIPE_API_KEY | — | build, example, prod | packages/lib/server-only/stripe/index.ts:6 |
| NEXT_PRIVATE_STRIPE_WEBHOOK_SECRET | — | build, example, prod | packages/ee/server-only/stripe/webhook/handler.ts:31 |
| NEXT_PRIVATE_TELEMETRY_HOST | — | build, ci | packages/lib/server-only/telemetry/telemetry-client.ts:16 |
| NEXT_PRIVATE_TELEMETRY_KEY | — | build, ci | packages/lib/server-only/telemetry/telemetry-client.ts:15 |
| NEXT_PRIVATE_UPLOAD_ACCESS_KEY_ID | — | build, example, local, prod | packages/lib/universal/upload/providers/s3-provider.ts:14 |
| NEXT_PRIVATE_UPLOAD_AZURE_ACCOUNT_KEY | — | — | packages/lib/universal/upload/providers/azure-blob-provider.ts:22 |
| NEXT_PRIVATE_UPLOAD_AZURE_ACCOUNT_NAME | — | — | packages/lib/universal/upload/providers/azure-blob-provider.ts:21 |
| NEXT_PRIVATE_UPLOAD_AZURE_CONTAINER | — | — | packages/lib/universal/upload/providers/azure-blob-provider.ts:23 |
| NEXT_PRIVATE_UPLOAD_AZURE_ENDPOINT | — | — | packages/lib/universal/upload/providers/azure-blob-provider.ts:27 |
| NEXT_PRIVATE_UPLOAD_BUCKET | — | build, example, local, prod | packages/lib/universal/upload/providers/s3-provider.ts:53 |
| NEXT_PRIVATE_UPLOAD_DISTRIBUTION_DOMAIN | — | build | packages/lib/universal/upload/providers/s3-provider.ts:75 |
| NEXT_PRIVATE_UPLOAD_ENDPOINT | — | build, example, local, prod | packages/lib/universal/upload/providers/s3-provider.ts:17 |
| NEXT_PRIVATE_UPLOAD_FORCE_PATH_STYLE | — | build, example, local, prod | packages/lib/universal/upload/providers/s3-provider.ts:18 |
| NEXT_PRIVATE_UPLOAD_REGION | — | build, example, local, prod | packages/lib/universal/upload/providers/s3-provider.ts:19 |
| NEXT_PRIVATE_UPLOAD_SECRET_ACCESS_KEY | — | build, example, local, prod | packages/lib/universal/upload/providers/s3-provider.ts:14 |
| NEXT_PRIVATE_USE_LEGACY_SIGNING_SUBFILTER | — | build, example, prod | packages/lib/constants/app.ts:57 |
| NEXT_PRIVATE_USE_PLAYWRIGHT_PDF | — | — | packages/lib/constants/app.ts:100 |
| NEXT_PRIVATE_WEBHOOK_SSRF_BYPASS_HOSTS | — | build, example | packages/lib/server-only/webhooks/assert-webhook-url.ts:37 |
| NEXT_PUBLIC_AI_FEATURES_ENABLED | — | — | packages/lib/constants/app.ts:91 |
| NEXT_PUBLIC_BASE_PATH | — | build | apps/remix/react-router.config.ts:10 |
| NEXT_PUBLIC_CONTENT_IMAGE_SIZE_UPLOAD_LIMIT | — | — | packages/lib/constants/envelope-content.ts:3 |
| NEXT_PUBLIC_DISABLE_OIDC_AUTO_REDIRECT | — | build, example, local, prod | packages/lib/constants/auth.ts:28 |
| NEXT_PUBLIC_DISABLE_SIGNIN | — | build, example, local, prod | packages/lib/constants/auth.ts:181 |
| NEXT_PUBLIC_DISABLE_SIGNUP | — | build, example, local, prod | packages/lib/constants/auth.ts:166 |
| NEXT_PUBLIC_DOCUMENT_CONVERSION_ENABLED | — | — | packages/lib/constants/document-conversion.ts:20 |
| NEXT_PUBLIC_DOCUMENT_SIZE_UPLOAD_LIMIT | — | build, example, local, prod | packages/lib/constants/app.ts:5 |
| NEXT_PUBLIC_FEATURE_BILLING_ENABLED | — | build, example, prod | packages/lib/constants/app.ts:62 |
| NEXT_PUBLIC_GOOGLE_SSO_ENABLED | — | — | packages/lib/constants/embed-auth.ts:65 |
| NEXT_PUBLIC_IMPRINT_URL | — | — | packages/lib/constants/app.ts:54 |
| NEXT_PUBLIC_IS_DOCUMENSO_CLOUD | — | — | packages/lib/constants/app.ts:70 |
| NEXT_PUBLIC_MICROSOFT_SSO_ENABLED | — | — | packages/lib/constants/embed-auth.ts:66 |
| NEXT_PUBLIC_OIDC_PROVIDER_LABEL | — | — | packages/lib/constants/embed-auth.ts:68 |
| NEXT_PUBLIC_OIDC_SSO_ENABLED | — | — | packages/lib/constants/embed-auth.ts:67 |
| NEXT_PUBLIC_POSTHOG_KEY | — | build, example, local, prod | packages/lib/constants/feature-flags.ts:5 |
| NEXT_PUBLIC_PRIVACY_POLICY_URL | — | — | packages/lib/constants/app.ts:52 |
| NEXT_PUBLIC_SIGNING_CONTACT_INFO | — | build, example, prod | packages/lib/constants/app.ts:46 |
| NEXT_PUBLIC_SIGNING_TRANSPORT_IS_CSC | — | — | packages/lib/constants/app.ts:119 |
| NEXT_PUBLIC_SUPPORT_EMAIL | — | — | packages/lib/constants/app.ts:75 |
| NEXT_PUBLIC_TERMS_OF_SERVICE_URL | — | — | packages/lib/constants/app.ts:49 |
| NEXT_PUBLIC_TURNSTILE_SITE_KEY | — | build, example | apps/remix/app/components/forms/signin.tsx:98 |
| NEXT_PUBLIC_UPLOAD_TRANSPORT | — | build, example, local, prod | packages/api/v1/implementation.ts:226 |
| NEXT_PUBLIC_USE_INTERNAL_URL_BROWSERLESS | — | build, example, local, prod | packages/lib/constants/app.ts:77 |
| NEXT_PUBLIC_WEBAPP_URL | http://localhost:3000 | build, example, prod | packages/app-tests/playwright.config.ts:44 |