[Fleet] Implement executePreCondition for packages state machine functionality #189353
Closed
2 tasks done
Labels
Team:Fleet
Team label for Observability Data Collection Fleet team
Phase 1 of #169147
Follow up of #175592.
In #178657 we introduced a new state machine. We need to add some more functionalities:
executePreCondition
for consistency.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).The text was updated successfully, but these errors were encountered: