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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Better error or response handling when repo does not exist for voting #59

Open
1 of 2 tasks
bdougie opened this issue Nov 11, 2022 · 0 comments
Open
1 of 2 tasks
Labels
馃挕 feature A label to note if work is a feature 馃憖 needs triage
Milestone

Comments

@bdougie
Copy link
Member

bdougie commented Nov 11, 2022

Type of feature

馃崟 Feature

Current behavior

Today a repo is submitted and does not exist in the API it presents an error (either 500 or 400 status code - @janie-lee-developer will need to share more context) message. The expectation is that the repo is added to a queue for indexing or instantly indexed.

Suggested solution

Provide a consistent response (200) code and message when a submitted repo and waiting to be indexed.

If the data is unavailable, it should show "sync in progress" or "updating" or similar.

Additional context

open-sauced/hot#394

Code of Conduct

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

Contributing Docs

  • I agree to follow this project's Contribution Docs
@bdougie bdougie added 馃憖 needs triage 馃挕 feature A label to note if work is a feature labels Nov 11, 2022
@bdougie bdougie added this to the API Features milestone May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃挕 feature A label to note if work is a feature 馃憖 needs triage
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant