Skip to content

Preserve installed disabled extensions in synced extension list - #1471

Open
bpc-oss wants to merge 1 commit into
shanalikhan:masterfrom
bpc-oss:codex/local-issue-143-disabled-extensions
Open

Preserve installed disabled extensions in synced extension list#1471
bpc-oss wants to merge 1 commit into
shanalikhan:masterfrom
bpc-oss:codex/local-issue-143-disabled-extensions

Conversation

@bpc-oss

@bpc-oss bpc-oss commented Jun 27, 2026

Copy link
Copy Markdown

Summary

This change fixes the case from #143 where disabled extensions can disappear from sync because they are installed on disk but missing from the VS Code API extension list.

What changed

  • added a helper to read installed extensions from the extensions directory
  • merged disk-installed extensions into the synced extension list when they are missing from the API result
  • preserved existing fallback behavior for publisherId when extension metadata is missing
  • added targeted regression coverage for the merge and fallback paths

Scope

This is a conservative fix.

It preserves installed disabled extensions during export/sync list creation, but does not attempt to implement full disabled-state synchronization semantics.

Verification

Targeted checks completed locally:

  • npm run tslint-check
  • plugin service regression tests passed

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