Skip to content

add deterministic notification pipeline smoke test - #802

Open
canicefavour wants to merge 4 commits into
Core-Foundry:mainfrom
canicefavour:core2
Open

canicefavour wants to merge 4 commits into
Core-Foundry:mainfrom
canicefavour:core2

Conversation

@canicefavour

Copy link
Copy Markdown
Contributor

Implemented a fast, deterministic smoke test covering the notification lifecycle from local event ingestion through notification payload generation, without relying on external notification providers.

Implementation
Added a dedicated smoke test covering the local notification ingestion and processing pipeline.
Exercised event validation, routing, notification template resolution, and internal dispatching.
Added mocked/in-memory delivery handling to isolate the pipeline from external push, email, SMS, and webhook providers.
Verified representative event payloads are processed successfully through the notification workflow.
Asserted generated notification payloads for the expected recipient, title, body, and metadata.
Verified the mocked transport receives the generated notification exactly once.
Confirmed no real outbound network requests are made during the test.
Added bounded asynchronous handling and clean teardown to prevent hanging test processes.
Ensured the smoke test runs without external credentials, databases, or third-party API dependencies.
Added a dedicated command for executing the smoke test locally and in CI.
Documented the execution requirements and offline CI assumptions.
Verified the test completes quickly and deterministically with clean process termination.
Result

The notification system now has an isolated end-to-end smoke check that provides rapid CI feedback on event processing and notification generation while remaining fully offline and independent of external delivery services.

Closes #723

@drips-wave

drips-wave Bot commented Sep 25, 2026

Copy link
Copy Markdown

@canicefavour Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add End-to-End Local Notification Smoke Tes

1 participant