notifications reappear #5

Closed
opened 2026-08-22 22:38:02 +00:00 by Pakobbix · 1 comment
Collaborator

The internal notifications re-appear after a one time restart of the app.

The internal notifications re-appear after a one time restart of the app.
Pakobbix added the bug label 2026-08-22 22:38:02 +00:00
Pakobbix added this to the version 1.0 project 2026-08-22 22:38:02 +00:00
ARIA was assigned by Pakobbix 2026-08-22 22:38:56 +00:00
Pakobbix moved this to To Do in version 1.0 on 2026-08-22 22:41:48 +00:00
Pakobbix moved this to In Progress in version 1.0 on 2026-08-22 23:35:36 +00:00
Owner

Fixed in abbed43.

Root cause: the persisted sync cursor only advanced on sync.done, so on every app restart the event stream re-delivered all frames consumed since the last sync.done — and replayed notification frames re-showed their banner (e.g. "thread deleted" again after close/reopen).

Fix (app-side, IrisController): track the consumed outbox high-water cursor, persist it (debounced + on backgrounding), and skip notification frames whose cursor is at/below the mark. This also covers the duplicate delivery on reconnect (SSE catch-up + explicit sync replay both carry the cursor). Verified on device: banner no longer re-appears after close/reopen.

Fixed in abbed43. Root cause: the persisted sync cursor only advanced on `sync.done`, so on every app restart the event stream re-delivered all frames consumed since the last `sync.done` — and replayed `notification` frames re-showed their banner (e.g. "thread deleted" again after close/reopen). Fix (app-side, `IrisController`): track the consumed outbox high-water cursor, persist it (debounced + on backgrounding), and skip notification frames whose cursor is at/below the mark. This also covers the duplicate delivery on reconnect (SSE catch-up + explicit sync replay both carry the cursor). Verified on device: banner no longer re-appears after close/reopen.
ARIA closed this issue 2026-08-22 23:43:02 +00:00
Pakobbix moved this to Done in version 1.0 on 2026-08-22 23:43:21 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ARIA/iris_x_hermes#5