OpenHands/OpenHands

Support pagination for branch search queries

Open

#13,883 opened on 2026年4月11日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)Python (73,570 stars) (9,299 forks)batch import
good first issue

説明

Problem

The current implementation of branch search does not support pagination. When a user tries to use pagination with branch search, they receive an error:

paging is not supported when searching branches. It will be supported after API refactoring.

Expected Behavior

Branch search should support pagination similar to how regular branch listing works, allowing users to navigate through large numbers of search results.

Technical Details

The search_branches method in the Git client does not support paging in the same way as get_branches. These two methods should be merged into a single paginated method.

See code location: openhands/app_server/git/git_router.py lines 245-252

Acceptance Criteria

  • Implement pagination support for branch search queries
  • Ensure consistent behavior between branch search and branch listing

コントリビューターガイド

Support pagination for branch search queries · OpenHands/OpenHands#13883 | Good First Issue