GitHub Star Verification Fails After Starring the Repository
I found an issue with the GitHub star verification flow on the live project.
When I enter a GitHub username and click Scan, the project correctly asks me to star the repository. I star the repository as instructed and then click Recheck Star.
However, the application sometimes shows:
No star detected. Return to Hub
even though the repository has already been starred.
In some attempts, the application also shows an Engine Failure message instead of completing the verification.
Steps to Reproduce :
Open the live project.
Enter a valid GitHub username.
Click Scan.
Follow the prompt to star the project's GitHub repository.
Star the repository.
Return to the project and click Recheck Star.
Observe the verification result.
Expected Behavior :
After the repository has been starred, clicking Recheck Star should detect the star successfully and allow the user to continue with the GitHub profile analysis.
Actual Behavior :
The application sometimes fails to detect the newly added star and displays:
No star detected. Return to Hub
Additionally, an Engine Failure message appears intermittently during the process.
Impact :
This prevents users from proceeding with the GitHub profile analysis even after completing the required repository-star action.
Environment :
Live project: https://github.0xarchit.is-a.dev/
Repository: https://github.com/0xarchit/github-profile-analyzer
Browser: Chrome
OS: macOS
GitHub account: [Add if relevant]
Additional Notes :
The issue appears to be intermittent, as the verification/engine failure does not occur consistently. It may be worth checking the GitHub star verification/API response and any caching or timing issues immediately after a user stars the repository.