Skip to content

test(server): steady the side answer queue test that blocked desktop releases - #1041

Merged
badcuban merged 1 commit into
mainfrom
test/steady-side-answer-queue-test
Nov 23, 2026
Merged

badcuban merged 1 commit into
mainfrom
test/steady-side-answer-queue-test

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

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).

…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.
@vercel

vercel Bot commented Nov 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 23, 2026 5:51am UTC

Request Review

@badcuban
badcuban enabled auto-merge November 23, 2026 05:51
@badcuban
badcuban added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 055a48e Nov 23, 2026
23 checks passed
@badcuban
badcuban deleted the test/steady-side-answer-queue-test branch November 23, 2026 06:02

This branch was previously deployed

1 inactive deployment
Preview — 25cebb3c Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant