Skip to content

Conversation

@bobrowadam
Copy link
Contributor

@bobrowadam bobrowadam commented Jan 21, 2026

Summary

Fix flaky basic-tool-calling-prompt-test that was causing intermittent CI failures.

The test was expecting a strict order of messages, but there's a race condition between progress messages ("Calling tool", "Generating") and tool state messages (toolCallRunning, toolCalled). Changed from strict ordering to using m/in-any-order which checks that all expected messages are present without requiring a specific order.

  • I added a entry in changelog under unreleased section.

N/A - test-only change that doesn't affect end users.

🤖 Generated with eca

The test was expecting a strict order of messages, but there's a race
condition between progress messages ("Calling tool", "Generating") and
tool state messages (toolCallRunning, toolCalled). Their relative order
in the middle section is non-deterministic.

Changed from strict ordering to using m/in-any-order which checks that
all expected messages are present without requiring a specific order.

🤖 Generated with [eca](https://eca.dev)

Co-Authored-By: eca <noreply@eca.dev>
@bobrowadam
Copy link
Contributor Author

@ericdallo Fixed PR comments

Copy link
Member

@ericdallo ericdallo left a comment

Choose a reason for hiding this comment

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

thank you!

@ericdallo ericdallo merged commit 91209a0 into editor-code-assistant:master Jan 21, 2026
9 checks passed
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.

2 participants