fix: clear OpenCode package alias cache#58
Merged
Conversation
- Clear OpenCode's opendevbrowser@latest package alias cache during update repair. - Preserve unrelated package aliases and strengthen lock, manifest, and symlink safety tests. - Document the expanded update cleanup behavior in README and CLI docs. Co-authored-by: Codex <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.cache/opencode/packages/opendevbrowser@latest/package alias cache duringopendevbrowser --update.Review
update-cache-review-4E958Cfound two P2 issues.update-cache-review-5B11ECfound no remaining P0/P1/P2 issues.Testing
npm run test -- tests/cli-update.test.ts tests/cli-lifecycle-command.test.ts tests/cli-update-skill-modes.test.tsnpm run typechecknpm run lintnpm run buildgit diff --checknpm run extension:buildnpm run version:checknpm run test- 271 files passed, 1 skipped; 4417 tests passed, 1 skipped; coverage 98.22% statements, 97% branches, 97.95% functions, 98.29% lines