fix(electron): fail closed on unknown performance completions

This commit is contained in:
4gray committed 2026-07-26 22:37:52 +02:00
1 parent f9e71a6d8d
commit 0579d253c4
5 files changed
+222 -6

No files matched your search

@@ -686,7 +686,10 @@ export interface ElectronBridgeApi {
) => Promise<ElectronBridgePlaylistRow | null>;
dbUpsertAppPlaylist: (
playlist: Playlist,
/** Instrumentation-only; never persisted or sent to main/worker IPC. */
/**
* Instrumentation-only; stripped before the DB invoke.
* Never enters the DB worker payload or persisted playlist data.
*/
operationId?: string
) => Promise<ElectronBridgeResult>;
dbUpsertAppPlaylists: (
@@ -696,7 +699,10 @@ export interface ElectronBridgeApi {
dbGetAppPlaylistMetas: () => Promise<Playlist[]>;
dbGetAppPlaylist: (
playlistId: string,
/** Instrumentation-only; never persisted or sent to main/worker IPC. */
/**
* Instrumentation-only; stripped before the DB invoke.
* Never enters the DB worker payload or persisted playlist data.
*/
operationId?: string
) => Promise<Playlist | null>;
dbGetAppPlaylistFavoriteChannels: (