test(master-stack): wait for settled drag-resize state #142
No reviewers
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic!142
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/master-stack-drag-sync-race"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The
master_stackdrag-resize tests were still waiting for an exact relayout log transition even though drag-resize sync is asynchronous and already covered elsewhere with a looser at-most-one relayout contract. On CI that made thenmaster 2path fail even when@mosaic-mfactand the later split geometry were correct.Solution
Wait for the window fingerprint to settle after the drag-resize mfact change before asserting the synced
@mosaic-mfactvalue and the follow-up split geometry. Apply the same stabilization to the top-orientation drag-resize case so both tests wait on settled state instead of exact relayout timing.