Skip to content

only auto-install content packages newer than the installed version

46637f4
Select commit
Loading
Failed to load commit list.
Merged

[Fleet] only auto-install content packages newer than the installed version #262509

only auto-install content packages newer than the installed version
46637f4
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check completed Apr 10, 2026 in 2m 42s

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)