Repository navigation
test(server): steady the side answer queue test that blocked desktop releases - #1041
Merged
Merged
Conversation
…releases "keeps the queue held when a newer turn fails before the side answer ends" waited for exactly two provider sends in total. Astra's side answer is also a send, and it can reach the provider before or after the thread's new turn, so the total sometimes went from 1 straight to 3 and the wait timed out. It failed about half the time locally and failed main's CI on a78c1c6, which blocked three nightly desktop releases. The wait now counts only sends to the thread's own agent.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The nightly desktop release has failed three times since Nov 21. It checks that CI passed on main's latest commit, and one server test failed there: "keeps the queue held when a newer turn fails before the side answer ends" in
ProviderCommandReactor.test.ts.The test waited for exactly two provider sends in total. Astra's side answer is also a send, and it can reach the provider before or after the thread's new turn, so the total sometimes jumped from 1 to 3 and the wait timed out. A state dump from a failing run showed this. It failed 6 of 12 runs locally.
The wait now counts only sends to the thread's own agent. It passed 15 of 15 runs afterwards, and the whole file passes (177 tests).