Skip to content

flaky: tray::tests::aggregate_tray_icon_is_error_when_any_account_errors (macOS CI) #246

Description

@pmaxhogan

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtestTesting work

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions