Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up loading of GitHub repositories in the front-end hero page #6060

Open
neubig opened this issue Jan 6, 2025 · 3 comments · May be fixed by #6062
Open

Speed up loading of GitHub repositories in the front-end hero page #6060

neubig opened this issue Jan 6, 2025 · 3 comments · May be fixed by #6062
Assignees
Labels
enhancement New feature or request fix-me Attempt to fix this issue with OpenHands

Comments

@neubig
Copy link
Contributor

neubig commented Jan 6, 2025

What problem or use case are you trying to solve?

I have access to hundreds of GitHub repositories, and the repository picker on the front end hero page takes a long time to load for me. I think we can do two things to increase loading speed:

  1. Increase the number of elements retrieved by one GitHub API query to the maximum value of 1,000
  2. In the case that repos are retrieved from multiple organizations, the retrieval from each organization can be parallelized
@neubig neubig added enhancement New feature or request fix-me Attempt to fix this issue with OpenHands labels Jan 6, 2025
@openhands-agent
Copy link
Contributor

OpenHands started fixing the issue! You can monitor the progress here.

@baxitfund
Copy link

Approved

@openhands-agent
Copy link
Contributor

An attempt was made to automatically fix this issue, but it was unsuccessful. A branch named 'openhands-fix-issue-6060' has been created with the attempted changes. You can view the branch here. Manual intervention may be required.

Additional details about the failure:
Based on the provided information, the issue has not been successfully resolved. Here's why:

  1. The AI agent only mentions editing a test file (use-repositories.test.tsx), but the original issue requires changes to the actual implementation code that handles GitHub repository fetching.

  2. The issue requests two specific improvements:

    • Increasing the API query limit to 1,000 items
    • Implementing parallel fetching for multiple organizations

Simply modifying a test file would not implement these functional changes. To properly resolve this issue, we would need to see changes to:

  • The actual repository fetching logic
  • The API call implementation to increase the limit
  • The organization fetching logic to implement parallelization

Without seeing changes to the actual implementation files and confirmation that both requirements have been addressed, we cannot consider this issue resolved. The PR appears to be incomplete or potentially just at the beginning stages of addressing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix-me Attempt to fix this issue with OpenHands
Projects
None yet
3 participants