Skip to content

Conversation

@zbynekh
Copy link
Contributor

@zbynekh zbynekh commented Sep 5, 2025

Motivation

Which issue does this fix? Fixes #issue number

If no issue exists, what is the fix or new feature? Were there any reasons to fix/implement things that are not obvious?

Checklist

  • Code follows coding conventions held in this repo
  • Automated tests have been added
  • Tests are passing
  • Docs have been updated (if applicable)
  • Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test

If manual testing is required, what are the steps?

@zbynekh zbynekh requested review from a team and JiriLojda as code owners September 5, 2025 07:11
@zbynekh zbynekh force-pushed the search-variants-mapi branch 4 times, most recently from 0476582 to 01ce7ba Compare September 8, 2025 14:54
@zbynekh zbynekh force-pushed the search-variants-mapi branch 2 times, most recently from 7c09fba to ac6e237 Compare September 9, 2025 15:30

const data: AiOperationResultResponse = pollResponse.data;

if (data.message.includes("still in progress")) {

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

Copy link
Contributor Author

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.

@zbynekh zbynekh force-pushed the search-variants-mapi branch from ac6e237 to 2ae89ac Compare September 9, 2025 21:54
@zbynekh zbynekh force-pushed the search-variants-mapi branch from 2ae89ac to 830e6ed Compare September 10, 2025 08:22
@zbynekh zbynekh merged commit 629083f into master Sep 10, 2025
1 check passed
@zbynekh zbynekh deleted the search-variants-mapi branch September 10, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants