microsoft / microsoft/winget-cli

JetBrains ETW Host Service (x64) incorrectly listed as having updates

Open
#2,992 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Matching Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

When running winget upgrade, JetBrains' ETW Host Service (x64) is listed as having an update available, but the update itself seems to be for Jetbrains ReSharper, which uses the ETW Host Service but is different from it.

Not only that, but trying to update anyway does nothing.

Here is a screenshot of the output in PowerShell 7:
Screenshot_20230221_094207

Steps to reproduce
  1. Download and install the ETW Host Service (x64) from JetBrains
  2. Run winget upgrade and/or winget upgrade --all

This also happens if you let the ETW Host Service get installed by JetBrains Rider and then search for updates in winget.

Expected behavior

The ETW Host Service should either not be included among the list of updatable packages (typically, JetBrains' software automatically installs and manages it) or retrieve the correct update information.

JetBrains ReSharper != JetBrains ETW Host Service.

Actual behavior

Currently, the host service seems to be treated as being identical to ReSharper + the update itself does nothing (probably because there is no actual package to update).

Environment
Windows: Windows.Desktop v10.0.22621.1265
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing winget upgrade and winget upgrade --all with the JetBrains ETW Host Service installed, then inspect how the CLI identifies its package and compares it with JetBrains ReSharper. Check the package metadata or update-detection entry point responsible for this match. Done means the host service is excluded when it has no update, or its genuine update is identified and applied correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.