-
Notifications
You must be signed in to change notification settings - Fork 11
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
Views - Per Widget job filter #393
Comments
can you give a more concrete use-case for this one ? |
@roydahan can you explain again what is the use case here ? |
The idea is that I can have 2 widgets, same or different one, but in one widget it'll filter only jobs x,y,z and in the second widget it will show jobs a,b,c. |
Can you give a more concrete example when we might need such a thing, when is the filter from the whole view isn't enough ? |
e.g. the view I needed to build for each one of 2024.2 coordinator instead of 1 view with 3 widgets. |
If we have 3 plans, that we can show in one view, that would be good enough for this use case ? |
I don't understand the question. |
This commit implements per-widget entitity filtering for views, allowing users to select which tests/groups/releases they want shown on the widget in a specific view. To facilitate this, stat fetching has been modified to accept widget id (position) of a view and then filter tests accordingly. On the frontend side to facilitate conflict-free stat fetching (for example from two TestDashboards) a hashmap has been introduced to handle multiple stat objects and to dispatch them correctly to each widget. Caveats: * Release Planner views in general are not supported and contain several unwanted interactions: * If test dashboard is modified to filter anything, release planner stat bar will be gray (since there's no more anchor for it to get the stats from) * Anything version related will conflict * TestDashboard has a setting for a specific ScyllaVersion filter preset - this is not compatible and will make that filter set only output that version, which might be undesirable. * Aside from TestDashboard, currently no other widgets implement stat fetch, so filtering for them might not be interesting. However the widget will now receive filtered set of tests, which should make the performance summaries automatically support this feature. Fixes scylladb#393
This commit implements per-widget entitity filtering for views, allowing users to select which tests/groups/releases they want shown on the widget in a specific view. To facilitate this, stat fetching has been modified to accept widget id (position) of a view and then filter tests accordingly. On the frontend side to facilitate conflict-free stat fetching (for example from two TestDashboards) a hashmap has been introduced to handle multiple stat objects and to dispatch them correctly to each widget. Caveats: * Release Planner views in general are not supported and contain several unwanted interactions: * If test dashboard is modified to filter anything, release planner stat bar will be gray (since there's no more anchor for it to get the stats from) * Anything version related will conflict * TestDashboard has a setting for a specific ScyllaVersion filter preset - this is not compatible and will make that filter set only output that version, which might be undesirable. * Aside from TestDashboard, currently no other widgets implement stat fetch, so filtering for them might not be interesting. However the widget will now receive filtered set of tests, which should make the performance summaries automatically support this feature. Fixes scylladb#393
Add a per-widget setting to filter the jobs selected for a view, e.g. One test dashboard widget for rolling upgrades and one for longevity.
cc @roydahan @fruch
The text was updated successfully, but these errors were encountered: