iiitl / iiitl/Opensource_Compass
[BUG] Setup Guide fails with 500 Internal Server Error due to undefined repository owner
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
The "Setup Guide" feature fails to generate instructions for certain repositories. The frontend is incorrectly passing the string undefined as the repository owner in the API request. This causes the github-service to attempt a fetch from a non-existent path, resulting in a 500 error, which subsequently causes the core_service and ai_service to fail.
Steps to Reproduce
*Navigate to the Recommendations page.
*Select a repository (e.g., free-programming-books).
*Click on the Setup button.
*Observe the "Failed to generate setup guide" error message.
The "View on github" link in the Recommendations page is also broken.
Service Logs (Error Confirmation):
As seen in the attached screenshot, the github-service receives a malformed request where the repository owner is undefined. This triggers a 500 response.
Contributor guide
Assessment
This issue has not been assessed yet.