From 7e436b53f289683d27617f1e2b2f2b5899ecfffb Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 9 Jun 2026 22:42:39 +0300 Subject: v0.41.1 --- internal/mcp/handlers_prompt_test.go | 8 ++++++-- internal/version.go | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'internal') diff --git a/internal/mcp/handlers_prompt_test.go b/internal/mcp/handlers_prompt_test.go index 17b0607..f3a9d87 100644 --- a/internal/mcp/handlers_prompt_test.go +++ b/internal/mcp/handlers_prompt_test.go @@ -885,8 +885,12 @@ func TestServer_Run_InvalidJSON(t *testing.T) { done <- server.Run() }() - // Give time for processing - time.Sleep(50 * time.Millisecond) + // Wait for processing to complete + select { + case <-done: + case <-time.After(2 * time.Second): + t.Fatal("server.Run() did not return in time") + } // Should have written error response if outBuf.Len() == 0 { diff --git a/internal/version.go b/internal/version.go index e569bfa..585f499 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,4 +1,4 @@ // Package internal provides the Hexai semantic version identifier used by CLI and LSP binaries. package internal -const Version = "0.41.0" +const Version = "0.41.1" -- cgit v1.2.3