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] Move stepStats out of RunRootQuery #26610

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

hellendag
Copy link
Member

@hellendag hellendag commented Dec 19, 2024

Summary & Motivation

Move stepStats out of the root Run query, since it can be expensive. Instead, query for it at the RunMetadataProvider.

This should allow the header, Gantt chart, and logs to load even while the step stats panel of the page continues to load.

How I Tested These Changes

View a very long-running run. Verify that the Run header, Gantt chart, and logs appear fairly quickly, and the right panel takes a bit longer to load.

Changelog

[ui] Improve performance of Run page for very long-running runs.

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 December 19, 2024 20:58
Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-imi8knn8t-elementl.vercel.app
https://dish-move-step-stats.core-storybook.dagster-docs.io

Built with commit 737fa48.
This pull request is being automatically deployed with vercel-action

Copy link
Contributor

@salazarm salazarm left a comment

Choose a reason for hiding this comment

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

nice

Copy link
Member Author

hellendag commented Dec 19, 2024

Merge activity

  • Dec 19, 3:10 PM CST: A user started a stack merge that includes this pull request via Graphite.
  • Dec 19, 3:11 PM CST: A user merged this pull request with Graphite.

@hellendag hellendag merged commit d9ddad4 into master Dec 19, 2024
2 checks passed
@hellendag hellendag deleted the dish/move-step-stats branch December 19, 2024 21:11
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