-
Notifications
You must be signed in to change notification settings - Fork 52
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - api_get_specification
is broken
#761
Labels
Comments
trallard
added
the
needs: investigation 🔎
Someone in the team needs to look into this issue before scoping
label
Oct 16, 2024
@peytondmurray can you check if this is still an issue? |
peytondmurray
removed
the
needs: investigation 🔎
Someone in the team needs to look into this issue before scoping
label
Oct 19, 2024
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
api_get_specification
HTTP endpoint seems to be completely broken. There are two bugs here:Bug 1:
The task here can be a
str
sometimes, which causes aValueError
. I think it needs to be wrapped intoAsyncResult
here.Bug 2:
There's no
.packages
inSolve
anymore. This was introduced when the DB schema was refactored, way before I was even part of the project. The new proper name ispackage_builds
.Expected behavior
The endpoint
return
s some data instead of raising an error.How to Reproduce the problem?
Just call the endpoint. Some tests call it as well, which is how I noticed, but maybe those tests expect status codes 500 or 400, so they all pass. Those tests need to be looked at.
Output
This is printed to the terminal:
Versions and dependencies used.
Current main (988445b).
Anything else?
No response
The text was updated successfully, but these errors were encountered: