LW052 Environment variable not set, no default
Severity: WarningFree
An env_var() with no default whose variable neither your environment nor the project’s .env sets — dbt™ fails to compile. In the editor only, since CI’s environment may differ.
- Free in the editor, guaranteed by contract for 99 years: a diagnostic or a quick fix released free stays free in every later version (EULA, Schedule A).
- Its severity can be changed, or the check switched off, in one setting of the extension.
- Reported in the editor only: lineward check, CI and the agent tools run in an environment that may differ from the dbt™ run’s, so they never report it.
How it scores
- Debugging time saved
- Impact
- Time to detection
- Complexity
Our estimates, from 1 to 5, not measurements. Compare it with the other 53 codes →
Part of
- Environment variables this machine lacks