Skip to content

docs: document blocked dbt environment variable names#766

Merged
rephus merged 1 commit into
mainfrom
mintlify/85be21a1
Jun 4, 2026
Merged

docs: document blocked dbt environment variable names#766
rephus merged 1 commit into
mainfrom
mintlify/85be21a1

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Jun 4, 2026

Summary

Document the new validation that rejects dangerous dbt environment variable keys when creating or updating a project.

Changes

  • Added a "Reserved and blocked variable names" section to the dbt projects reference, listing the keys and prefixes that Lightdash now rejects (e.g. PATH, NODE_OPTIONS, LD_*, DYLD_*, GIT_CONFIG_*).
  • Noted the validation rules (allowed characters, no leading digit) and clarified that existing projects continue to compile — the check only runs on save.

Context

Source PR adds server- and UI-side validation that blocks a curated set of environment variable keys which could otherwise alter how dbt or its child processes execute. Customer-defined names such as DBT_ENV and custom LD_*-prefixed names that aren't on the block list remain supported.

cc @rephus

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

🤖 Documentation Bot

Status

⚠️ 1 broken link needs manual attention


🔗 Broken Links (Manual Fix Required)

Click to view details
   📄 timezones-draft.mdx

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Jun 4, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Jun 4, 2026, 2:21 PM

@rephus rephus merged commit 7d56e7c into main Jun 4, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant