Skip to content

Conversation

@tbavelier
Copy link
Member

@tbavelier tbavelier commented Nov 19, 2025

What does this PR do

  • New fact to check if a downgrade is happening, and if yes, sets the flag agent_datadog_force_reinstall to have the current MSI be uninstalled so the older version can be installed

Motivation

  • Consistency with Linux: allow downgrades instead of erroring out due to MSI limitation

Review

Base is #683, so only commit to review is f5fc068

QA

  • Start with no version specified, it will download and install latest one
  • Add datadog_agent_version to a lower one, and verify the warning is shown and the task Uninstall installed Datadog Agent... is ran
    image
  • Re-run after with same playbook and ensure we're not re-downloading and re-installing since it's the same version

@tbavelier tbavelier requested a review from a team as a code owner November 19, 2025 15:19
@tbavelier tbavelier changed the base branch from tbavelier/windows-skip-install to main November 19, 2025 15:21
@tbavelier tbavelier requested a review from a team as a code owner November 19, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants