mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 02:37:01 -06:00
global_override_reaches_shortcut_of_and_tools failed about once in a hundred full ui-egui runs: the override and workspace-name mirrors (read by menus and the shortcut dispatcher, which have no app access) were process-wide, and every frame of any headless test running in parallel synced its own default UI state into them, wiping the test's overrides between its sync and its assertions. - One `ui_mirror!` declares both mirrors: process-wide in the app, one per thread under cfg(test), so each test only sees the state of the app it drives. - New test: a sync from another thread leaves this thread's overrides and workspace names alone (fails with a shared mirror). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>