GitHub
04/29/2026, 9:27 PMSTACKED=1 meltano invoke --print-var STACKED echo -> STACKED=4
STACKED=1 meltano --environment=prod invoke --print-var STACKED echo -> STACKED=12345
In the first case we expect that no environment will be active, and so the value of STACKED will be 124. Instead it appears the plugin env is being expanded without os.environ or the project-level env vars being supplied to expand STACKED, so it results in 4 at that level, then overwrites the project-level value.
It probably assumes that the environment-level env (level 3) will have STACKED defined with the value from the project-level (level 2), but in this case it is empty.
Related:
• #6253
Code
No response
meltano/meltanoGitHub
04/29/2026, 9:27 PM