-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated defer in the dbt Cloud IDE docs #6856
base: current
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @nataliefiann , thanks for opening this up! i'm not sure if it's just me not understanding the thread but some of the info was confusing so left some comments to clarify.
it sounds like @benmosher said the ide behaves in the same way as cloud cli. which means the following is prob what needs to be added but i would def confirm with ben and the team:
By default, the dbt Cloud IDE will prefer metadata from the project's "Staging" environment (if defined), otherwise "Production."
IDE deferral did initially defer directly to production, so it makes sense that the docs reflect this, but has since been amended to work the same as CLI (staging if exists, else production) 🎯 |
hey @nataliefiann , thanks for the updates! not sure if i'm just confusing things so might be good to have this reviewed again by someone else. i noticed some areas where the explanation of defer in the cloud ide doesn’t seem to align with the actual behavior (from what i gathered in the thread). to make sure we accurately capture how defer interacts with staging vs. production, especially since the IDE now follows the same logic as the CLI, i added the below comments/questions:
let me know if you have any questions! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks technically accurate to me! I commented some suggestions just trying to reinforce the staging OR production deferral.
Might be good to have someone from @dbt-labs/dx review as well?
Co-authored-by: Ben Mosher <[email protected]>
Co-authored-by: Ben Mosher <[email protected]>
What are you changing in this pull request and why?
I have created this PR following this thread: https://dbt-labs.slack.com/archives/C01Q230T0E8/p1738162535339299 (reported by Gouthami / CSE) where a user expected defer to point to production references. It was confirmed, once defer is set jobs will configure to the staging env if it exists, regardless of job existence or success.
Checklist
🚀 Deployment available! Here are the direct links to the updated files: