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

refactor: rename is_failure to is_failure_or_canceled #7200

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

rexledesma
Copy link
Contributor

Summary

This could technically break people who are using our internal APIs? considering that this is returned in the results when executing in process.

  • rename existing references of DagsterRun instances invoking .is_failure to .is_failure_or_canceled
  • implement .is_failure to only check for failure status

Test Plan

existing bk

@vercel
Copy link

vercel bot commented Mar 25, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

dagster – ./docs/next

🔍 Inspect: https://vercel.com/elementl/dagster/FFi6fSpEYUXX13nH1ZU4qz47DKp6
✅ Preview: Canceled

[Deployment for 1e1f506 canceled]

dagit-storybook – ./js_modules/dagit/packages/ui

🔍 Inspect: https://vercel.com/elementl/dagit-storybook/92coDa4UnMNZMYUVxMTxwsxanX6V
✅ Preview: Canceled

[Deployment for 1e1f506 canceled]

@vercel vercel bot temporarily deployed to Preview – dagster March 25, 2022 19:15 Inactive
@vercel vercel bot temporarily deployed to Preview – dagit-storybook March 25, 2022 19:15 Inactive
@rexledesma
Copy link
Contributor Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@rexledesma rexledesma self-assigned this Mar 25, 2022
Copy link
Member

@alangenfeld alangenfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

surprised theres so few call sites

@rexledesma rexledesma force-pushed the rl/rename-is-failure-dagster-run branch from ec473c6 to 1e1f506 Compare March 25, 2022 20:56
@vercel vercel bot temporarily deployed to Preview – dagster March 25, 2022 20:57 Inactive
@vercel vercel bot temporarily deployed to Preview – dagit-storybook March 25, 2022 20:57 Inactive
@rexledesma rexledesma merged commit e642465 into master Mar 25, 2022
@rexledesma rexledesma deleted the rl/rename-is-failure-dagster-run branch March 25, 2022 21:37
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.

2 participants