Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(remote): apply migrations on fallback in-memory control DB, fix test TS type

2 months ago

008835e
Authored
Davy7/20/2026, 9:36:05 PM
- RemoteState::new_with_limit: when the durable control DB cannot be
  opened (e.g. WAL lock contention in parallel test runs), the fallback
  in-memory connection now has migrations applied so the
  remote_cache_entries and remote_operations tables exist even in
  degraded mode. Without this, CacheCatalog::open failed on the
  fallback because list_cache_entries queried a non-existent table,
  causing a panic in the fallback's fallback.
- RemoteReconnectIndicator.test.tsx: fix TS2493 error from indexing
  Parameters<typeof usePlayerStore.getState>[0] — getState takes no
  arguments so the tuple type is empty. Use PlaybackStateSnapshot
  directly instead.

Parent5d9ae19

1 file changed
  • src/components/Player/RemoteReconnectIndicator.test.tsx+2−3