Skip to content

fix(app): pinned packages stay in Updates - #55

Merged
FedeB2160 merged 1 commit into
mainfrom
claude/v2-pinned-rows-a2dd4d
Nov 10, 2026
Merged

FedeB2160 merged 1 commit into
mainfrom
claude/v2-pinned-rows-a2dd4d

Conversation

@FedeB2160

Copy link
Copy Markdown
Owner

Point 3 of the Phase 1 parity check: blocking pins disappeared from Updates on the next check, while the README says they stay there with 📌.

What changes

  • GetUpgradesAsync passes --include-pinned, with and without --include-unknown. Checked on winget 1.29 with a Blocking pin: winget prints pinned packages in a second table after a line of prose, which WinGetTable.Parse already reads.
  • Pinned rows behave as before: 📌, tick disabled, left out of Select all and the queue, Remove pin from highlighted works from Updates.
  • Counts leave pinned rows out: AvailableText, tab badge, "Found N updates." in the log (now written after the pin read), tray dot, tooltip and notification. With only pinned rows the list stays visible and the log says "No updates available."
  • Note in ADR 0007. README unchanged: the behaviour matches it again. 1.x unchanged.

Tests

  • WinGetCliTests.UpgradesIncludeBlockingPins (real winget output), argument checks updated.
  • UpdatesViewModelTests.PinnedOnlyRowsAreListedButNotCounted; the existing count test now expects 2 of 3.
  • TrayViewModelTests.PinnedPackagesAreNotAnnounced.
  • dotnet test: all new and changed tests green. ElevationTests.CancelStopsTheStepsNotYetStarted, ProcessRunnerTests.OutputFilesAreRemoved and AppStateTests.LinesFromAnotherThreadArePostedToTheUi failed intermittently while other sessions ran tests in parallel; they pass on their own and are not touched here.
  • Manual check: pin in Updates, check again, row stays with 📌, count down by one, Remove pin makes it tickable again.

🤖 Generated with Claude Code

winget upgrade leaves blocking pins out of its list, so a pinned package
vanished from Updates on the next check. Read the list with
--include-pinned (checked on winget 1.29 with a Blocking pin): the pinned
rows come in a second table, which the parser already reads.

Pinned rows keep the pin icon and stay out of Select all and the queue;
they are also left out of the count, the tab badge, "Found N updates."
in the log, and the tray dot and notification. Note in ADR 0007.

Co-Authored-By: Claude <noreply@anthropic.com>
@FedeB2160
FedeB2160 merged commit ce861bc into main Nov 10, 2026
3 checks passed
@FedeB2160
FedeB2160 deleted the claude/v2-pinned-rows-a2dd4d branch November 10, 2026 17:00
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.

1 participant