Skip to content

Instrument notification wake-up chain and widen polyfill coverage#441

Open
theoden8 wants to merge 1 commit into
masterfrom
claude/notification-wakeup-background-abbmst
Open

Instrument notification wake-up chain and widen polyfill coverage#441
theoden8 wants to merge 1 commit into
masterfrom
claude/notification-wakeup-background-abbmst

Conversation

@theoden8

Copy link
Copy Markdown
Owner

The OS-scheduler -> reload -> page JS -> webNotification -> show chain
failed silently at every hop, forcing slow manual testing. Add trace
logging across the Dart orchestration and the iOS/Android native bridges
(aggregate counts and lifecycle only, no per-site metadata), plus
dev-tools "Simulate background refresh" and "Send test notification"
buttons so the chain can be exercised in the foreground without waiting
on BGAppRefreshTask / WorkManager.

Also cover page-context ServiceWorkerRegistration.showNotification (a
common pattern the constructor-only polyfill missed) and emit console
breadcrumbs when a notification is suppressed. True server-driven web
push via the worker push handler stays out of reach by design; document
that in the spec.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01296hFrdpF98B9MiqG83zMr

@theoden8 theoden8 force-pushed the claude/notification-wakeup-background-abbmst branch 6 times, most recently from 6a239f3 to 58fd587 Compare June 24, 2026 12:45
The OS-scheduler -> reload -> page JS -> webNotification -> show chain
failed silently at every hop, forcing slow manual testing. Add trace
logging across the Dart orchestration and the iOS/Android native bridges
(aggregate counts and lifecycle only, no per-site metadata), plus
dev-tools "Simulate background refresh" and "Send test notification"
buttons so the chain can be exercised in the foreground without waiting
on BGAppRefreshTask / WorkManager.

Also cover page-context ServiceWorkerRegistration.showNotification (a
common pattern the constructor-only polyfill missed) and emit console
breadcrumbs when a notification is suppressed. True server-driven web
push via the worker push handler stays out of reach by design; document
that in the spec.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01296hFrdpF98B9MiqG83zMr
@theoden8 theoden8 force-pushed the claude/notification-wakeup-background-abbmst branch from 58fd587 to 1c2fd36 Compare June 25, 2026 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants