Skip to content

Scope prune cleanup to SDK directory - #348

Closed
agocke wants to merge 2 commits into
dn-vm:mainfrom
agocke:fix-prune-stale-cleanup
Closed

Scope prune cleanup to SDK directory#348
agocke wants to merge 2 commits into
dn-vm:mainfrom
agocke:fix-prune-stale-cleanup

Conversation

@agocke

@agocke agocke commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • remove uninstall manifest and channel entries only for the matching SDK directory
  • scope stale-channel cleanup to the affected SDK directory
  • deduplicate prune candidates produced by overlapping tracked channels
  • preserve valid copies of the same SDK version installed in other directories

Testing

  • dotnet test test/UnitTests/UnitTests.csproj --nologo (171 passed)

agocke added 2 commits August 8, 2026 16:46
Deduplicate prune candidates and preserve channel state for valid SDK copies installed in other directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ee57eeb5-f628-412d-8641-f5952aef0516
Keep SDK records and channel state for copies of the same version installed in other directories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ee57eeb5-f628-412d-8641-f5952aef0516
@agocke

agocke commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator Author

Closing to split this into two independent fixes: directory-scoped uninstall state and prune stale-channel cleanup.

@agocke agocke closed this Aug 8, 2026
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