feat(skills): add sync all CLIs action#2486
feat(skills): add sync all CLIs action#2486Myoontyee wants to merge 1 commit intofarion1231:mainfrom
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2022d9cab9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if skill.apps.is_enabled_for(app) { | ||
| skipped_count += 1; | ||
| } |
There was a problem hiding this comment.
Count skipped apps only when sync is actually skipped
sync_all_to_supported_apps increments skipped_count for already-enabled apps, but it still executes sync_to_app_dir for those same app/skill pairs. This lets one operation be counted as both skipped and synced (or failed), so result totals become internally inconsistent and callers cannot reliably interpret progress metrics from SkillSyncAllResult.
Useful? React with 👍 / 👎.
|
@claude review |
|
Claude finished @farion1231's task in 2m 43s —— View job Code Review
Overall this is a clean, well-scoped feature. The layer separation (service → command → hook → component), i18n coverage across all three locales, and the included regression test are all good practices. A few issues worth addressing before merge, one of which is a logic bug that makes the result metrics unreliable. P2 — Bug:
|
|
@claude review (Re-running with the updated review prompt for comparison.) |
|
Claude finished @farion1231's task in 1m 37s —— View job Code Review (re-run with updated prompt)
Important —
|
Summary
Test plan
cargo test --manifest-path src-tauri/Cargo.toml sync_all_to_supported_apps_enables_and_copies_every_installed_skill(blocked locally: disk space exhausted during compilation)pnpm typecheck(blocked locally: node_modules are not installed in this checkout)Notes