Skip to content

git: Use repo snapshot to fetch picker branch list instead of spawning a job#53661

Open
Anthony-Eid wants to merge 2 commits intomainfrom
use-repo-snapshot-for-git-based-pickers
Open

git: Use repo snapshot to fetch picker branch list instead of spawning a job#53661
Anthony-Eid wants to merge 2 commits intomainfrom
use-repo-snapshot-for-git-based-pickers

Conversation

@Anthony-Eid
Copy link
Copy Markdown
Contributor

This should fix a delay where the thread_branch_picker and git_picker would take a while to load the branch list while other git jobs are being processed before hand.

I also added a subscription in both pickers to repository so they refresh their matches when the repo snapshot branch list changes.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 10, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants