-
Couldn't load subscription status.
- Fork 5
Add search-variants-mapi tool #31
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
Conversation
0476582 to
01ce7ba
Compare
7c09fba to
ac6e237
Compare
|
|
||
| const data: AiOperationResultResponse = pollResponse.data; | ||
|
|
||
| if (data.message.includes("still in progress")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not block this task, but: Why is there "still in progress" text in a message? We are using REST over HTTP, so we should return:
- 404 until first message is stored in DB
- 201 until last message is stored in DB (
isLast == true) - 200 while the last message is cached
- 404 after the last message is removed from cache
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be addressed in a separate issue.
ac6e237 to
2ae89ac
Compare
2ae89ac to
830e6ed
Compare
Motivation
Which issue does this fix? Fixes #
issue numberIf no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?
Checklist
How to test
If manual testing is required, what are the steps?