Skip to content

fix(extension): improve UX when daemon is not running#424

Merged
jackwener merged 1 commit intomainfrom
fix/extension-daemon-hint
Mar 25, 2026
Merged

fix(extension): improve UX when daemon is not running#424
jackwener merged 1 commit intomainfrom
fix/extension-daemon-hint

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

  • Show helpful hint in popup when disconnected: "This is normal. The extension connects automatically when you run any opencli command."
  • Stop eager reconnect after 6 attempts (reaching 60s backoff) to reduce ERR_CONNECTION_REFUSED noise in DevTools console; keepalive alarm still retries every ~24s at low frequency.

Test plan

  • Load extension without daemon running, click popup icon — verify hint is shown
  • Start daemon, verify popup shows "Connected to daemon" and hint hides
  • Check DevTools console — errors should stop after ~2 minutes instead of looping indefinitely

- Show helpful hint in popup when disconnected: "This is normal. The
  extension connects automatically when you run any opencli command."
- Stop eager reconnect after 6 attempts (reaching 60s backoff) to
  reduce ERR_CONNECTION_REFUSED noise in console; keepalive alarm
  still retries every ~24s at low frequency.
@jackwener jackwener merged commit bf5f327 into main Mar 25, 2026
21 checks passed
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