Skip to content

fix: clear OpenCode package alias cache#58

Merged
freshtechbro merged 1 commit into
mainfrom
codex/test-opencode-inspiredesign-output
May 17, 2026
Merged

fix: clear OpenCode package alias cache#58
freshtechbro merged 1 commit into
mainfrom
codex/test-opencode-inspiredesign-output

Conversation

@freshtechbro

Copy link
Copy Markdown
Owner

Summary

  • Clear OpenCode's stale ~/.cache/opencode/packages/opendevbrowser@latest/ package alias cache during opendevbrowser --update.
  • Preserve unrelated OpenCode package aliases while reusing the existing cache-root and symlink safety checks.
  • Update README and CLI docs, and add regression coverage for alias cache cleanup, symlink refusal, held-lock preservation, and malformed-manifest ordering.

Review

  • RepoPrompt review update-cache-review-4E958C found two P2 issues.
  • RepoPrompt rereview update-cache-review-5B11EC found 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.ts
  • npm run typecheck
  • npm run lint
  • npm run build
  • git diff --check
  • npm run extension:build
  • npm run version:check
  • npm run test - 271 files passed, 1 skipped; 4417 tests passed, 1 skipped; coverage 98.22% statements, 97% branches, 97.95% functions, 98.29% lines

- 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>
@freshtechbro freshtechbro merged commit 7350fa4 into main May 17, 2026
8 checks passed
@freshtechbro freshtechbro deleted the codex/test-opencode-inspiredesign-output branch May 17, 2026 00:16
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