Skip to content

fix: remove alarms permission from Chrome extension#906

Merged
stevez merged 1 commit into
mainfrom
fix/remove-alarms-permission
May 15, 2026
Merged

fix: remove alarms permission from Chrome extension#906
stevez merged 1 commit into
mainfrom
fix/remove-alarms-permission

Conversation

@stevez

@stevez stevez commented May 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove alarms permission from manifest.json — rejected by Chrome Web Store review
  • Remove alarm code from background.ts that periodically recreated the offscreen document
  • The offscreen document's own setInterval (10s health check in offscreen.ts:128) keeps it alive and handles WebSocket reconnection, making the alarm redundant

Context

The alarm was added in #650 for the bridge WebSocket keepalive. The bridge was removed in v0.27.0 but the alarm remained as dead code.

Test plan

  • pnpm run build passes
  • pnpm test — all unit tests pass
  • Extension E2E — 216 passed
  • CLI E2E replay passes

🤖 Generated with Claude Code

The alarm was added in #650 to keep the offscreen document alive for
the bridge WebSocket. The bridge was removed in v0.27.0 but the alarm
remained. The offscreen document's own setInterval (10s health check)
prevents Chrome from killing it, making the alarm redundant.

Closes #906

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stevez stevez merged commit dd92a9d into main May 15, 2026
8 checks passed
@stevez stevez deleted the fix/remove-alarms-permission branch May 15, 2026 03:04
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