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

switch tick filters to contained set rather than every permutation #23781

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

prha
Copy link
Member

@prha prha commented Aug 21, 2024

Summary & Motivation

We want to set up a constrained set of indices to make the tick query faster. We can do that more efficiently for common queries if we restrict the views enabled in the UI.

I think the common modes are going to be All ticks, Failed, and Requested.

I don't think it's very useful to see Started or Skipped ticks in isolation.

Screen.Recording.2024-08-20.at.5.39.58.PM.mov

How I Tested These Changes

BK

Copy link

github-actions bot commented Aug 21, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-4jujjhxmu-elementl.vercel.app
https://prha-job-tick-filter.core-storybook.dagster-docs.io

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

Comment on lines 63 to 65
ALL = 'ALL',
FAILED = 'FAILED',
SUCCESS = 'SUCCESS',
Copy link
Contributor

@salazarm salazarm Aug 21, 2024

Choose a reason for hiding this comment

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

you could do just

Suggested change
ALL = 'ALL',
FAILED = 'FAILED',
SUCCESS = 'SUCCESS',
ALL,
FAILED,
SUCCESS,

@prha prha force-pushed the prha/job_tick_filter branch from 062d295 to e2f652d Compare August 21, 2024 16:05
@prha prha merged commit 06621e7 into master Aug 21, 2024
2 checks passed
@prha prha deleted the prha/job_tick_filter branch August 21, 2024 16:49
prha added a commit that referenced this pull request Aug 29, 2024
…23781)

## Summary & Motivation
We want to set up a constrained set of indices to make the tick query
faster. We can do that more efficiently for common queries if we
restrict the views enabled in the UI.

I think the common modes are going to be `All ticks`, `Failed`, and
`Requested`.

I don't think it's very useful to see `Started` or `Skipped` ticks in
isolation.



https://github.com/user-attachments/assets/fa2df72b-ad8f-43ae-9b16-640b53bdabcd



## How I Tested These Changes
BK
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