Skip to content

fix: keep tray command failures visible - #31

Merged
abrichr merged 2 commits into
mainfrom
agent/report-tray-command-failures
Jul 28, 2026
Merged

fix: keep tray command failures visible#31
abrichr merged 2 commits into
mainfrom
agent/report-tray-command-failures

Conversation

@abrichr

@abrichr abrichr commented Jul 28, 2026

Copy link
Copy Markdown
Member

What changed

  • Treat a False IPC result as a failed command for stop, open, teach, pause, and resume actions.
  • Keep the last valid needs-attention count when an IPC payload is missing or unreadable.
  • Report browser and desktop open failures to the user.
  • Emit recording notifications only when the recording lifecycle changes.

Why

Several tray paths discarded a failure result and then rendered a success-shaped state. A failed stop command could remain at RECORDING_STOPPING. A failed pause command could report SYNCED. An invalid count could clear the badge to zero. An unrelated sync update could also emit Recording Stopped.

Validation

  • uv run --extra dev pytest tests -q — 208 passed, 2 skipped
  • uv run --extra dev ruff check .
  • uv build --wheel --out-dir /tmp/oa-tray-failure-sweep-dist
  • git diff --check

@abrichr
abrichr marked this pull request as ready for review July 28, 2026 05:33
@abrichr
abrichr merged commit dbc8ece into main Jul 28, 2026
10 checks passed
@abrichr
abrichr deleted the agent/report-tray-command-failures branch July 28, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant