Observed on PR #244 (a ui/-only change - cannot be the cause), cargo test + clippy (macos-latest), run 30764460161:
thread 'tray::tests::aggregate_tray_icon_is_error_when_any_account_errors' panicked at src-tauri/src/tray.rs:1733:9:
assertion `left == right` failed: once every account is Idle the aggregate is Idle
left: NetworkAttention
right: Idle
406 other lib tests passed in the same process. NetworkAttention leaking into the aggregate suggests shared process-global state (menubar/tray note_state map?) mutated by a concurrently-running test rather than a logic bug in the assertion's own setup. Rerun cleared it.
Found while shipping the agent-QA harness (#239). Worth a look at whether the tray aggregate map needs per-test isolation like the keychain got in #214.
🤖 Generated with Claude Code
https://claude.ai/code/session_015jEKvjBzVjaWLq6o5zg2PV
Observed on PR #244 (a ui/-only change - cannot be the cause),
cargo test + clippy (macos-latest), run 30764460161:406 other lib tests passed in the same process.
NetworkAttentionleaking into the aggregate suggests shared process-global state (menubar/tray note_state map?) mutated by a concurrently-running test rather than a logic bug in the assertion's own setup. Rerun cleared it.Found while shipping the agent-QA harness (#239). Worth a look at whether the tray aggregate map needs per-test isolation like the keychain got in #214.
🤖 Generated with Claude Code
https://claude.ai/code/session_015jEKvjBzVjaWLq6o5zg2PV