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

[ui] Show warning on partitions that did not materialize due to canceled runs #28045

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Feb 25, 2025

Summary & Motivation

It is confusing for partitions that were not materialized due to canceled runs do not show any messaging indicating that a failure or cancellation occurred on the asset partition detail page.

This is because we only show the banner if the run failed. Update this to show a banner if it was canceled as well. Use a "warning" intent for the cancellation banner, to help visually distinguish it from the failed run.

Also updated the copy a bit, since it's the runs that fail or are canceled.

Screenshot 2025-02-25 at 11 02 31 Screenshot 2025-02-25 at 11 00 19

How I Tested These Changes

View partition that failed to materialize due to cancellation. Verify that the yellow banner appears.

View partition that failed to materialize due to failed run. Verify that the red banner appears.

Changelog

[ui] For asset partitions that fail to materialize due to a run cancellation, show this information on the asset partition detail page.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@hellendag hellendag marked this pull request as ready for review February 25, 2025 17:06
Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-9361pd52b-elementl.vercel.app
https://dish-fe-787-failed-partition.core-storybook.dagster-docs.io

Built with commit 82e3b46.
This pull request is being automatically deployed with vercel-action

Copy link
Member Author

hellendag commented Feb 25, 2025

Merge activity

  • Feb 25, 11:21 AM CST: A user started a stack merge that includes this pull request via Graphite.
  • Feb 25, 11:22 AM CST: A user merged this pull request with Graphite.

@hellendag hellendag merged commit 6fd9c6a into master Feb 25, 2025
7 checks passed
@hellendag hellendag deleted the dish/fe-787-failed-partition branch February 25, 2025 17:22
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