-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Include assets with failed/missing partitions in “Materialize un…
…synced" (#20985) Fixes #20463 ## Summary & Motivation This PR updates the behavior of "Materialize unsynced". In addition to assets with the staleStatus = MISSING, we now include assets with missing or failed partitions. I also adjusted the types a bit in these code paths -- because `staleCauses` can be undefined in the types passed to `isAssetStale`, you could technically call it with "include=self" and never get anything but false, which felt a little scary. I broke the function apart into two with stricter types. ## How I Tested These Changes Tested with a graph that includes some partially materialized partitioned assets! --------- Co-authored-by: bengotow <[email protected]>
- Loading branch information
Showing
7 changed files
with
84 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...CalculateChangedAndMissingDialog.types.ts → ...ts/types/CalculateUnsyncedDialog.types.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
3d206d5
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.
Deploy preview for dagit-core-storybook ready!
✅ Preview
https://dagit-core-storybook-20y2t736j-elementl.vercel.app
Built with commit 3d206d5.
This pull request is being automatically deployed with vercel-action