Skip to content

Create Team repository search is missing repositories #354

@ed-grow

Description

@ed-grow

Description:

When you try to create a team and select repositories for that team from the Add Repositories search box, not all of the repositories are selectable from the search box. Searching for a repo by name yields "No repositories found".

In my case, my personal access token grants access to 3 organizations. Through some brute force testing, it seems like the search function seems to only return repositories that are within the first ~31 repositories (sorted alphabetically) of the first organization (sorted alphabetically). It does not return the other ~490 repositories in the first organization or any of the repositories in the other 2 organizations.

Steps to reproduce:

  1. Create an organization with ~50 repositories
  2. Create a personal access token with access to that organization
  3. Set up a GitHub integration using that personal access token
  4. Go to the Create Team screen
  5. Enter the name of the last (50th) repository (alphabetically) in the search box

Expected behavior:

You see the name of the repository in the search dropdown and you can select the repository

Actual behavior:

"No repositories found"

Screenshot 2024-05-14 at 1 21 05 PM

Server Setup Information:

  • Operating System: MacOS Sonoma 14.4.1
  • Deployment Method: Docker middlewareeng/middleware:0.1.2

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersweb-serverIssue related to web-server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions