Skip to content

feat(notification): push-stub mode with quickstart demo#11

Merged
lucor merged 4 commits intomainfrom
feat/push-stub-and-demo
Apr 28, 2026
Merged

feat(notification): push-stub mode with quickstart demo#11
lucor merged 4 commits intomainfrom
feat/push-stub-and-demo

Conversation

@lucor
Copy link
Copy Markdown
Owner

@lucor lucor commented Apr 28, 2026

Add push-stub mode for local development and automated end-to-end testing. When BEEBUZZ_PUSH_STUB is enabled (non-production only), outbound Web Push payloads are captured in an in-memory broker instead of being sent to real providers. A long-poll endpoint /_stub/push/next exposes them to test drivers, which can then inject the push directly into the Hive service worker via Chrome DevTools Protocol. This removes the external dependency on FCM/ VAPID during CI and demo runs, making the first-use loop repeatable and deterministic.

Also includes a quickstart demo script that exercises the full flow: sign-up, device pairing, API token creation, test notification send, stub capture, and CDP delivery into Hive.

lucor added 4 commits April 28, 2026 23:27
Add push-stub mode for local development and automated end-to-end
testing. When BEEBUZZ_PUSH_STUB is enabled (non-production only),
outbound Web Push payloads are captured in an in-memory broker
instead of being sent to real providers. A long-poll endpoint
/_stub/push/next exposes them to test drivers, which can then
inject the push directly into the Hive service worker via Chrome
DevTools Protocol. This removes the external dependency on FCM/
VAPID during CI and demo runs, making the first-use loop
repeatable and deterministic.

Also includes a quickstart demo script that exercises the full
flow: sign-up, device pairing, API token creation, test
notification send, stub capture, and CDP delivery into Hive.
@lucor lucor merged commit c5977ca into main Apr 28, 2026
4 checks passed
@lucor lucor deleted the feat/push-stub-and-demo branch April 28, 2026 22:25
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.

1 participant