Skip to content

test(mecatui): fix carryover handoff close flake - #2020

Merged
jbeda merged 2 commits into
mainfrom
test/fix-carryover-handoff-flake-1787
Oct 1, 2026
Merged

jbeda merged 2 commits into
mainfrom
test/fix-carryover-handoff-flake-1787

Conversation

@jbeda

@jbeda jbeda commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #1787.

Wait for the old session close while the UI program is still running. The carryover re-create signal only establishes that CreateSessionWithCarryover was entered; quitting immediately could prevent the close command from being scheduled or executed, and waiting after quit could not repair that.

Verification

No production lifecycle behavior is changed; this corrects test synchronization on the successful handoff path.

Synchronize on the handoff close while the UI program is still running, rather than waiting after quitting when the pending command may never execute.

Co-authored-by: Mecatl <[email protected]>
@jbeda
jbeda marked this pull request as draft September 30, 2026 19:14
Co-authored-by: Mecatl <[email protected]>

* origin/main:
  fix(modules): pin published adapters v0.1.1 (#2023)
  fix(adapters): use released module dependencies for standalone tests (#2021)
@jbeda
jbeda marked this pull request as ready for review September 30, 2026 22:30
@jbeda
jbeda merged commit d3c39ce into main Oct 1, 2026
37 of 61 checks passed
@jbeda
jbeda deleted the test/fix-carryover-handoff-flake-1787 branch October 1, 2026 05:21
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 1, 2026
2 tasks

This branch was successfully deployed

1 active deployment
Preview — 5287b163 Deployed Sep 30, 2026 by vercel[bot]
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.

flake: TestCarryoverHandoff can miss old-session close

1 participant