Skip to content

Fix paused reconnects, add double-click seeking, and run tests in CI - #9

Merged
jaibhasin merged 3 commits into
mainfrom
fix/reconnect-and-double-click-seek
Oct 3, 2026
Merged

jaibhasin merged 3 commits into
mainfrom
fix/reconnect-and-double-click-seek

Conversation

@jaibhasin

@jaibhasin jaibhasin commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

Paused article sessions could lose their background connection when Chrome idled the Manifest V3 worker, and every disconnect told the user to refresh. Keep the worker active during a listening session, try once to recover at the current word while preserving pause state and voice, and retain cached playback after a completed stream disconnects. Only an invalidated extension context requires a refresh.

During article playback, double-clicking a word now seeks to its cached timestamp or starts a new stream from that word if its audio is not available yet. DOM source offsets distinguish repeated words and paragraphs, preserve highlighting, and leave selected-text listening intact.

Add GitHub Actions for pushes, pull requests, and manual runs covering type checking, the production build, JavaScript tests, Python bridge tests, and browser playback checks without a Fish API key.

Validation: Type checking, production build, 62 JavaScript tests, both Python bridge tests, and diff checks passed locally. Chromium playback checks passed for a 45-second frozen-tab pause, cached and uncached word seeking, recovery and retry limits, selected-text listening, listener cleanup, and cached playback after disconnect. Both GitHub Actions jobs also passed on the latest commit, including the full browser playback check with hosted Google Chrome.

The browser test uses real Web Audio with synthetic PCM and a controlled extension port. The environment blocks unpacked extension installation, so installed-extension worker lifecycle behavior and live Fish Audio still need manual verification. Reload the extension and refresh existing article tabs once after installing the update.

@coderabbitai

coderabbitai Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 148b7d50-6d53-48e5-bec9-131647122e75
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jaibhasin
jaibhasin merged commit f104841 into main Oct 3, 2026
6 of 7 checks passed
@jaibhasin
jaibhasin deleted the fix/reconnect-and-double-click-seek branch October 3, 2026 22: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