ai icon indicating copy to clipboard operation
ai copied to clipboard

Feature: repo-query indexing does not retry when 404

Open bdougie opened this issue 1 year ago • 4 comments

Type of feature

🍕 Feature

Current behavior

When indexing a repository that is not found, the repo-query goes and indexes it, but never retries when indexing is done.

Screen Shot 2023-08-15 at 1 25 08 PM

This is what I was explaining in the discord @diivi and @Anush008

Suggested solution

The function looks like it is a loop, but it fails or exits too soon. Not sure if a try/catch or similar is needed.

https://github.com/open-sauced/ai/blob/beta/src/repo-query/pages/indexing.tsx#L45

Additional context

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Contributing Docs

  • [ ] I agree to follow this project's Contribution Docs

bdougie avatar Aug 15 '23 20:08 bdougie