[Fleet] only auto-install content packages newer than the installed version #262509
Would not approve (click on check for details)
- Eligibility
- Correctness
Note
More information about how approvability works can be found in our Help Center.
Details
Eligibility
This PR changes the runtime behavior of when content packages get auto-installed, switching from version mismatch detection to semantic version comparison to prevent downgrades. While the change is focused and well-tested, it modifies package installation decision logic that could affect production deployments, and the author is not a designated owner of the Fleet files being changed.
Notes:
@juliaElastic isn't a code owner for 2 files:
• x-pack/platform/plugins/shared/fleet/server/tasks/auto_install_content_packages_task.test.ts (owned by @elastic/fleet)
• x-pack/platform/plugins/shared/fleet/server/tasks/auto_install_content_packages_task.ts (owned by @elastic/fleet)