Skip to content

feat: add partial sync command for targeted package re-sync#33

Merged
monkey666-cr merged 1 commit into
monkey666-cr:mainfrom
runchen0919:feat/partial-sync
Jun 3, 2026
Merged

feat: add partial sync command for targeted package re-sync#33
monkey666-cr merged 1 commit into
monkey666-cr:mainfrom
runchen0919:feat/partial-sync

Conversation

@runchen0919

@runchen0919 runchen0919 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a "Partially Sync Package" context menu command that re-syncs only the selected package and its reverse dependencies, avoiding a full workspace re-import
  • New Rust JNI function nativeGetReverseDepsInProjects for reverse transitive dependency lookup
  • Java partialSync command handler that queries targets, computes reverse deps, runs aspect build, and refreshes classpaths for affected projects
  • VS Code UI integration with progress reporting, sync guard to prevent concurrent syncs, and automatic project creation for new targets

Test plan

  • Right-click a folder with a BUILD file in VS Code explorer and verify "Bazel: Partially Sync Package" appears
  • Run partial sync on a package and verify only that package and its reverse deps are refreshed
  • Verify new targets trigger project creation and full sync
  • Verify sync guard prevents concurrent partial/full syncs
  • Verify no BUILD file in folder shows info message

🤖 Generated with Claude Code

Adds a "Partially Sync Package" command (available via folder context menu)
that re-syncs only the selected package and its reverse dependencies,
avoiding a full workspace re-import. This includes a new Rust JNI function
for reverse transitive dependency lookup, a Java partialSync command handler,
and VS Code UI integration with progress reporting and sync guard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@monkey666-cr monkey666-cr merged commit 6d21f50 into monkey666-cr:main Jun 3, 2026
3 checks 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.

2 participants