readest/apps
Huang Xin ec6781fe76
Some checks are pending
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
CodeQL Advanced / Analyze (rust) (push) Waiting to run
Publish Docker image / build (linux/amd64, ubuntu-latest) (push) Waiting to run
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm) (push) Waiting to run
Publish Docker image / merge (push) Blocked by required conditions
PR checks / rust_lint (push) Waiting to run
PR checks / build_web_app (push) Waiting to run
PR checks / test_web_app (1) (push) Waiting to run
PR checks / test_web_app (2) (push) Waiting to run
PR checks / test_extensions (push) Waiting to run
PR checks / build_tauri_app (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
fix: media-session teardown race + page_stat view migration idempotency (#5019)
* fix(tts): guard media session against teardown during bind()

TTSMediaBridge.bind() resolves #mediaSession, then awaits the cover fetch and
setActive. A concurrent unbind() (a stop during startup) nulls #mediaSession
mid-flight, so the subsequent this.#mediaSession.setActive/.updateMetadata threw
"Cannot read properties of null" (READEST-1A). Capture the session in a local for
the awaited calls, and bail before wiring action handlers if it was torn down.
Adds a regression test forcing the Tauri branch with a mid-fetch unbind.

Fixes READEST-1A

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(stats): make the page_stat view migration idempotent under turso

turso ignores IF NOT EXISTS on CREATE VIEW (core/schema.rs discards the flag), so
CREATE VIEW IF NOT EXISTS page_stat still throws "View page_stat already exists"
when the view is present (a KOReader-imported statistics DB, or a
partially-applied migration re-running). DROP VIEW IF EXISTS first (turso honors
that) so the statistics migration stays idempotent. Editing the existing
migration only affects DBs that have not applied it yet; version-tracked DBs
fast-path skip. Adds a real-turso regression test.

Fixes READEST-13

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 20:37:02 +02:00
..
readest-app fix: media-session teardown race + page_stat view migration idempotency (#5019) 2026-07-08 20:37:02 +02:00
readest-calibre-plugin feat(calibre): add Readest calibre plugin to push books and metadata (#4918) 2026-07-04 16:40:16 +02:00
readest.koplugin perf(koplugin): defer and cache Library group covers (#4954) (#4974) 2026-07-06 17:55:51 +02:00