Skip to content

Commit 2fe1670

Browse files
authored
[asset health] helper text for component statuses (#29117)
## Summary & Motivation Adds various graphene metadata types so that the FE needs to build the text based on the health status and the metadata available tests in dagster-io/internal#14895 Messages intended to be as follows: - Asset checks - `UNKNOWN` status: "No checks executed" or "X/Y checks not executed" - with a link to the checks tab added by FE - `WARNING` status: "X/Y checks warning" - with a link to the checks tab added by FE - `DEGRADED` status: "X/Y checks failed" or "X/Y checks failed, Z/Y checks warning" - with a link to the checks tab added by FE - `HEALTHY` status: no message - `NOT_APPLICABLE` status: "No asset checks defined" - no metadata type for this because there is no info the BE needs to pass to the FE - Asset materialization, partitioned asset - `UNKNOWN` status: "No materializations" - no metadata type for this because there is no info the BE needs to pass to the FE - `WARNING` status: "X/Y partitions missing" - with a link to the partitions tab added by FE - `DEGRADED` status: "X/Y partitions failed" or "X/Y partitions failed, Z/Y partitions missing" - with a link to the partitions tab added by FE - `HEALTHY` status: no message - Asset materialization, non-partitioned asset - `UNKNOWN` status: "No materializations" - no metadata type for this because there is no info the BE needs to pass to the FE - `DEGRADED` status: "Failed in run" (run id and link added by FE) - `HEALTHY` status: no message ## How I Tested These Changes
1 parent 7b96284 commit 2fe1670

File tree

5 files changed

+410
-48
lines changed

5 files changed

+410
-48
lines changed

Diff for: js_modules/dagster-ui/packages/ui-core/src/graphql/possibleTypes.generated.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: js_modules/dagster-ui/packages/ui-core/src/graphql/schema.graphql

+43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: js_modules/dagster-ui/packages/ui-core/src/graphql/types.ts

+175
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)