Skip to content

test(mecatui): fix effort handoff source-close flake - #1890

Merged
jbeda merged 1 commit into
mainfrom
fix/1889-effort-handoff-flake
Sep 24, 2026
Merged

jbeda merged 1 commit into
mainfrom
fix/1889-effort-handoff-flake

Conversation

@jbeda

@jbeda jbeda commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the post-fork phaseIdle synchronization with the existing predicate-based source-close wait
  • make the E2E assertion wait for the asynchronous CloseSession command it verifies

Fixes #1889

Verification

  • go test -race ./cmd/mecatui/ui -run '^TestEffortE2EForkPreservesTranscript$' -count=20

@jbeda
jbeda merged commit 4c57723 into main Sep 24, 2026
36 checks passed
@jbeda
jbeda deleted the fix/1889-effort-handoff-flake branch September 24, 2026 17:26
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 25, 2026
2 tasks
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.

test(mecatui): fix effort handoff source-close flake

1 participant