From fdd9f0891d8c0d79619fdef3c1c635f60883e8b5 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Sat, 31 Oct 2026 18:35:57 -0700 Subject: [PATCH] test(e2e): the bar scenario's mouse command is a plain string `MouseMessage::Command(String)` is an untagged variant, so `"on_middle_click": {"Command": ...}` in the scenario's bar configuration did not deserialize and the bar exited at start ("data did not match any variant of untagged enum MouseMessage"). The value is the string itself. Found by the Windows gate on candidate 5 (win-e2e, S/e2e-win/gate-cand5.md, bar section; the fix is its bar-fix.diff). Verified: ruff clean; not run. --- e2e/platforms/qemu_windows/extras/bar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/e2e/platforms/qemu_windows/extras/bar.py b/e2e/platforms/qemu_windows/extras/bar.py index d4b78d70..53fdde0a 100644 --- a/e2e/platforms/qemu_windows/extras/bar.py +++ b/e2e/platforms/qemu_windows/extras/bar.py @@ -55,7 +55,8 @@ CONFIG = { # bar's PowerShell session "mouse": { "on_extra2_click": {"message": {"type": "Retile"}}, - "on_middle_click": {"Command": "echo komorebi-bar-e2e"}, + # `MouseMessage::Command(String)` is untagged: a plain string, not {"Command": ...} + "on_middle_click": "echo komorebi-bar-e2e", }, }