Unified Notification System Test Plan
Overview
Test the new unified notification system that sends all notifications from the server to Mac via Unix socket.Architecture Changes
- Server SessionMonitor detects all notification events
- Events sent to Mac via Unix socket (session-monitor category)
- Mac NotificationControlHandler processes and displays notifications
- No more polling or duplicate detection logic
Test Scenarios
1. Bell Notification Test
2. Claude Turn Notification Test
3. Command Completion Test (>3 seconds)
4. Command Error Test
5. Session Start/Exit Test
Verification Steps
-
Enable all notifications in Mac Settings:
- Open VibeTunnel → Settings → Notifications
- Enable “Show Session Notifications”
- Enable all notification types
- Enable sound if desired
-
Monitor Unix socket traffic (optional):
-
Check logs:
Success Criteria
- ✅ All notification types work on Mac via Unix socket
- ✅ No duplicate notifications
- ✅ Notifications respect user preferences (on/off toggles)
- ✅ No more 3-second polling from Mac SessionMonitor
- ✅ Single source of truth (server) for all notification events
Troubleshooting
- If no notifications appear, check:
- Mac app is connected to server (check Unix socket connection)
- Notifications are enabled in settings
- Check vtlog for any errors
- If notifications are delayed:
- Check if bell detection is working (should be instant)
- Claude turn has 2-second debounce by design
- If getting duplicate notifications:
- Ensure only one VibeTunnel instance is running
- Check that old SessionMonitor code is not running