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] Implement executePreCondition for packages state machine functionality #189353

Closed
2 tasks done
criamico opened this issue Jul 29, 2024 · 1 comment · Fixed by #190986
Closed
2 tasks done

[Fleet] Implement executePreCondition for packages state machine functionality #189353

criamico opened this issue Jul 29, 2024 · 1 comment · Fixed by #190986
Assignees
Labels
Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@criamico
Copy link
Contributor

criamico commented Jul 29, 2024

Phase 1 of #169147

Follow up of #175592.

In #178657 we introduced a new state machine. We need to add some more functionalities:

Note that this change can be done without actually using it in x-pack/plugins/fleet/server/services/epm/packages/install_state_machine/_state_machine_package_install.ts, so it could be a first step for #175597. In fact the state machine is generic enough that we can use it modularly (i.e. we add an executePreCondition function but then we don't pass it to the actual state transitions).

@criamico criamico added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 29, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

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.

2 participants