Skip to content

Conversation

@jamesnetherton
Copy link
Contributor

The openai component is not in the 4.17.0 catalog. This scenario happens occasionally, so I added a small 'enhancement' to the check-extension-pages mojo. So that it can continue to generate the expected doc resources. I intend to immediately remove the additional plugin config once this change lands on the camel-main branch.

.statusCode(204);

// Assert the streamed results
IntStream.rangeClosed(1, 10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we rely on message ordering for expectation ? If yes, not sure the route would preserve order, not sure of the opposite though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do rely on ordering for this test...

Unless the LLM gets the order of numbers wrong (unlikely), won't the streamed chunks come in the expected 1-10 order?

Or do you think the messages arriving at the seda endpoint might be out of order (I've not seen it happen so far in local testing)?

Copy link
Contributor

@aldettinger aldettinger Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was more fearing a kind of race condition with wireTap thread pool but nothing demonstrated. If we could not simply switch to non order expectations now, we are not taking a big risk anyway. Even if flaky, it would not happen a lot 🤞 .

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok - thanks for the feedback. Lets see how it goes. If it does prove to be flaky on CI, I will rework it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aldettinger I think you are right about this!

Seems the latest Windows failure is due to unexpected ordering.

I'll try to rework the test to make it more reliable.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, that said the probability should have been quite low. Anyway, no order in the route is not a big deal, just need to relax assertion.

Copy link
Contributor

@aldettinger aldettinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few neat questions. The comments and doc are really helpful for review 👏

@jamesnetherton
Copy link
Contributor Author

I need to fix things up for Windows where I added test file deletion:

The process cannot access the file because it is being used by another process 

@jamesnetherton jamesnetherton marked this pull request as draft January 30, 2026 10:13
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.

3 participants