Skip to content

Conversation

@bombaywalla
Copy link
Contributor

@bombaywalla bombaywalla commented Oct 9, 2025

  • I added a entry in changelog under unreleased section.

The tool-calls-with-prompt-stop-test was falky in CI/CD.
Likely because it relied on sleep times.
Added promises to the test to coordinate between the concurrent tool
calls and the prompt stop.
Hopefully, this works better.

Changed tool-calls-with-prompt-stop to
tool-calls-with-prompt-stop-test for consistency.

Fixed a reflection warning in deep-sleep by casting the sleep arg to
long.
@bombaywalla
Copy link
Contributor Author

bombaywalla commented Oct 9, 2025

The failing tests seems unrelated to this PR.
Would you please check?

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.

Looks good, I will fix windows ones soon

@ericdallo
Copy link
Member

@bombaywalla am I wrong or the macos one froze on your test?

@bombaywalla
Copy link
Contributor Author

Looks that way.
If I understand the logs correctly, it is hanging on concurrent-tool-calls-test.
But I cannot understand why that test would hang.
There is no deref in that test.

In order to make the tests more resilient, added timeouts to derefs so
that the tests would not hang.

Adjusted the sleeps so that there was a better chance that the tests
would not be flaky.
@bombaywalla
Copy link
Contributor Author

I did some defensive programming and added timeouts to the derefs so that the tests should not hang.
I adjusted some of the timeouts to make the tests more likely to succeed.
I ran each of the two new tests 10 times manually and they worked.

The failing tests in the PR seem to be unrelated to my changes.

Hope this works better.

@ericdallo ericdallo merged commit 2354227 into editor-code-assistant:master Oct 10, 2025
6 of 8 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