Skip to content
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

properly track hook running #6059

Merged
merged 3 commits into from
Nov 7, 2022
Merged

properly track hook running #6059

merged 3 commits into from
Nov 7, 2022

Conversation

ChenyuLInx
Copy link
Contributor

@ChenyuLInx ChenyuLInx commented Oct 13, 2022

resolves #5625

Description

This will add a BaseResult to node_results for failed Hook run. That base result is being used to calculate the exit code for the who dbt execution. This way if a pre/post hook failed, dbt will have failed exit code, and also write out run results.

Checklist

@ChenyuLInx ChenyuLInx requested a review from a team October 13, 2022 00:35
@ChenyuLInx ChenyuLInx requested a review from a team as a code owner October 13, 2022 00:35
@cla-bot cla-bot bot added the cla:yes label Oct 13, 2022
@github-actions
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

@stu-k stu-k requested a review from a team as a code owner November 7, 2022 15:53
@stu-k stu-k merged commit 930bd35 into main Nov 7, 2022
@stu-k stu-k deleted the chenyu/run_result_with_failed_hook branch November 7, 2022 16:44
@emmyoop emmyoop mentioned this pull request Dec 15, 2022
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-1003] run_results.json not generated when on-run-end fails
2 participants