Skip to content

[BUG] Setup Guide fails with 500 Internal Server Error due to undefined repository owner #50

@ApoorvTripathi6388

Description

@ApoorvTripathi6388

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.

Image

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.

Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions