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

[Fleet] Improve UI for agent upgrade in batches to hide complexity #135801

Closed
juliaElastic opened this issue Jul 6, 2022 · 3 comments · Fixed by #136663
Closed

[Fleet] Improve UI for agent upgrade in batches to hide complexity #135801

juliaElastic opened this issue Jul 6, 2022 · 3 comments · Fixed by #136663
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@juliaElastic
Copy link
Contributor

juliaElastic commented Jul 6, 2022

As a side effect of bulk actioning in batches in 8.4, the UI shows now multiple banners when agent upgrade is executed in batches.
image

This is because for each batch execution, there is a new entry created in .fleet-actions index, and the UI shows a banner for each (returned by /current_upgrades API).

This can be confusing to users, they should not be exposed to the complexities of how bulk action is executed.

To improve, Fleet could store a new field (e.g. originatingId) in .fleet-actions that would associate the action documents originating from the same action.
The UI then could read this field, and show only one banner for multiple actions having the same originating id.
In case of abort, the UI would send abort on all action ids that belong to the same originating id.

@juliaElastic juliaElastic added bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team labels Jul 6, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic juliaElastic removed the bug Fixes for quality problems that affect the customer experience label Jul 6, 2022
@juliaElastic juliaElastic self-assigned this Jul 7, 2022
@juliaElastic
Copy link
Contributor Author

this improvement would become unnecessary if we moved action batching to Fleet Server #141567

@nchaulet
Copy link
Member

nchaulet commented Jul 19, 2022

@juliaElastic it's already possible to get multiple action with the same action_id, I think we just missed to use the same action for every batch, and the endpoint that is used to show the current upgrade is already supporting this, (I created a PR to demo this here #136663)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants