Skip to content

fix: avoid redundant AI extension updates#87

Open
CollieIsCute wants to merge 2 commits into
masterfrom
fix/lazy-ai-extension-sync
Open

fix: avoid redundant AI extension updates#87
CollieIsCute wants to merge 2 commits into
masterfrom
fix/lazy-ai-extension-sync

Conversation

@CollieIsCute

Copy link
Copy Markdown
Owner

Summary

  • check npm releases and the shared skills revision in parallel on every full apply
  • run Claude, Codex, and OpenCode updates only when their installed version is stale or missing
  • stage and validate OpenCode cache replacements so failed or concurrent updates preserve the known-good cache
  • replace the templated inventory with direct declarations and run sync regression checks in Linux/macOS CI

Verification

  • bash tests/sync-ai-extensions.sh
  • chezmoi verify
  • chezmoi diff --exclude=scripts is empty
  • opencode debug config
  • claude doctor
  • repeated no-change chezmoi apply -v: 0.636s

Check remote versions in parallel and invoke plugin managers only when stale. Stage and validate OpenCode cache updates so failures preserve installed versions.
Keep the implementation in the only place that invokes it and remove the unused manual command.
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