Skip to content

Make thread completion notifications reliable#22

Merged
jln13x merged 1 commit into
personalfrom
t3code/reliable-completion-notifications
Jul 22, 2026
Merged

Make thread completion notifications reliable#22
jln13x merged 1 commit into
personalfrom
t3code/reliable-completion-notifications

Conversation

@jln13x

@jln13x jln13x commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • persist a per-environment orchestration event cursor and replay missed turn completions after reconnects or renderer reloads
  • queue native notifications in a durable outbox with deduplication and retry failed IPC or macOS deliveries
  • wait for Electron notification acknowledgement and treat failed, closed, or timed-out delivery as unsuccessful
  • cover project threads, standalone chats, reconnect, reload, disabled settings, deduplication, and native failure paths

Verification

  • vp check
  • vp run typecheck
  • vp test apps/web/src/threadCompletionNotifications.test.ts apps/web/src/interactionSounds.test.ts apps/desktop/src/electron/ElectronNotification.test.ts apps/desktop/src/ipc/methods/window.test.ts
  • production web and desktop build

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Jul 22, 2026
@jln13x
jln13x merged commit d381010 into personal Jul 22, 2026
6 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant