[BUG] Updates page stuck on "No updates" - the engine inside the GUI finds nothing, but the same engine run --headless in the same session finds them
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start by comparing the GUI hosted engine with the headless engine around the WinGet ListUpdates task and the single instance path; the report names src/UniGetUI.PackageEngine.Managers.WinGet and WindowsPackageManager.Interop. Reproduce by querying updates through the GUI session, then running the same binary with --headless in the same session. Done means both modes return the same expected updates for this reproduction.
索引モデルが issue の本文から書いたものです。
説明
Please confirm these before moving forward
- I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- I have tested that this issue has not been fixed in the latest (beta or stable) release.
- I have checked the FAQ section for solutions.
- This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
2026.3.3 (Build 107, Avalonia UI, installed from the setup exe - not the MSIX)
Windows version, edition, and architecture
Windows 11 Pro 25H2, build 26200, x64. winget 1.29.380 (DesktopAppInstaller 1.29.380.0). Single user, admin capable, normally running unelevated.
Describe your issue
The Updates page shows "No updates" permanently. Weird part: it's only the engine instance hosted by the GUI that does this, not the app's engine in general.
Proof from the same box, same user, same Windows session, minutes apart:
- GUI running: querying that exact session through its IPC (uniget package updates) returns {"updates": []} every time
- kill the GUI, run UniGetUI.exe --headless from PowerShell, same session: the app's CLI returns 4 updates with isUpgradable true (KillDisk, Battle.net, NS-USBloader, Ubisoft Connect)
- winget upgrade in that same console agrees with the headless engine (3 upgrades + 2 unknown, which are exactly the Battle.net/NS-USBloader pair)
I went after every suppression path first so this report would be clean: trimmed WinGetAlreadyUpgradedPackages.json and WinGetUpdateAttempts.json (app closed, byte-verified afterwards, no affected ids in there), ignore list empty, no pins on the affected packages, restarted a bunch, ran elevated (same result), fresh boot after clearing a zombie instance. GUI keeps saying 0. Elevated doesn't change it either.
One more thing that matters: winget itself returns different upgrade lists in the console vs over ssh on this machine (same user) - I'm filing that over at microsoft/winget-cli#6140 where it partially fits. But the GUI-empty thing above reproduces fully inside one session, so it's separate from the ssh/session thing.
Steps to reproduce the issue
- Open UniGetUI, Updates page shows "No updates". While it's open: uniget package updates -> {"updates": []} (this CLI probe attaches to the GUI's own session registration)
- Quit UniGetUI completely. From plain PowerShell, same user:
UniGetUI.exe --headless --ipc-api-transport tcp --ipc-api-port 7061 - uniget --transport tcp --tcp-port 7061 package updates
-> 4 updates, isUpgradable true - winget upgrade in the same console -> 3 upgrades + 2 unknown, matches the headless engine
- Relaunch the GUI, reload Updates -> still 0
Also, from inside one GUI session: package installed returns correct rows (e.g. Audacity 3.7.9) and package search finds the catalog entry (Audacity 4.0.2 available, isUpgradable false). So installed-side and available-side data are both fine in that same session - only the update computation comes back empty.
UniGetUI Log
2026.3.3 keeps app/manager logs in memory per session (no file export), so this is the tail captured live over the IPC API while the GUI session was alive:
App log (GUI session): normal boot - Build 107, UI Framework: Avalonia, .NET 10.0.14, Elevated: False, Packaged (MSIX): False, "Api running on named pipe UniGetUI.IPC". One recurring warning: "Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element not found" (x2 at boot). Managers load normally afterwards.
Package Managers Logs
winget manager, GUI session (over IPC):
- Logged subprocess task on manager Winget, type RefreshIndexes - winget.exe " source update --disable-interactivity " - start 15:07:38, end 15:07:39 - Return code: SUCCESS (0)
- Logged native task on manager Winget, type ListUpdates - start 15:07:39, end 15:07:47 - "The task reported success"
- OtherTask - native, success
Both scan tasks report SUCCESS, then the update list served by that session stays empty ({"updates": []}, queried repeatedly via its own token). The same binary run --headless in the same session minutes later produces the correct list.
winget.exe upgrade, same console session (ground truth):
Active@ KillDisk 25 LSoftTechnologies.ActiveKillDisk < 26.0.7 -> 26.0.7 winget
Epic Online Services EpicGames.EpicOnlineServices 4.2.1 -> 4.3.1 winget
Ubisoft Connect Ubisoft.Connect < 175.0.0.13393 -> 175.0.0.13393 winget
3 upgrades available. 2 package(s) have version numbers that cannot be determined. (those 2 = Battle.net + NS-USBloader, which the headless engine does include)
Relevant information
Possibly related: #4545 (winget CLI reports upgrades but UniGetUI didn't - fixed in 2026.1.7 with the reload refresh fix; I'm on 2026.3.3 and this survives that fix, but the split is different: GUI-hosted engine vs headless engine in the same session). #5541 also shows GUI/headless hosting differences in this layer. Upstream context: microsoft/winget-cli#6140 (winget returns different sets per session type - I'm adding a comment there with same-user data).
My unproven suspicion: the native ListUpdates COM task inside the GUI-hosted process (src/UniGetUI.PackageEngine.Managers.WinGet + WindowsPackageManager.Interop) returns S_OK with zero results once the Avalonia shell has booted, while headless (no UI shell) enumerates fine. Also seen: relaunching while an old instance is mid-exit gets redirected into a zombie that has no working engine or API at all (MainInterface pipe redirect) - maybe worth a look on the single-instance path too.
Happy to test a debug build or pull more captures - the headless/GUI differential is a 60 second repro on my side.
Screenshots and videos
Nothing visual that helps - it's just an empty Updates page with a working engine behind it. Can record the CLI differential live if you want it.
- 主要言語
- C#
- スター
- 26.8k
- フォーク
- 970
- 平均マージ
- 17時間 47分
- マージ済み PR(30日)
- 126
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Devolutions/UniGetUI のほかの issue
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
Devolutions/UniGetUI#5692 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug priority: low winget
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Devolutions/UniGetUI#5688 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug priority: medium
難易度 4/5 1〜2日 初心者へのやさしさ 43/100
Devolutions/UniGetUI#5685 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
new-feature priority: low
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
Devolutions/UniGetUI#5677 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug chocolatey priority: medium
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Devolutions/UniGetUI#5672 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Devolutions/UniGetUI の issue をすべて見る
似ている issue
-
enhancement needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/microsoft-ui-reactor#1460 ·
メンテナーはふだん 1 日以内に返信
-
t/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
dotnet/maui#39950 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
The server's default HttpClient fails on plain http and on HTTPS servers without HTTP/2対応中かも @yasmoradi が今日担当しました。 オープンarea / templates
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
bitfoundation/bitplatform#14659 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CommunityToolkit/Datasync#600 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NimblePros/deviq-hugo#121 ·
メンテナーはふだん 1 日以内に返信