-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Feature Request
Description:
Add a notification system to alert external services about the status of refresh jobs, particularly failures. This could be implemented via webhooks, email, or Slack notifications.
Use Case:
Provides immediate feedback to operations teams when a critical refresh job fails, enabling a faster response than periodically checking a dashboard.
Proposed Solution:
- Allow notification endpoints (webhook URL, email address) to be configured in the initializer or on the view definition itself.
- After
MatViewRefreshJobcompletes (on success or failure), trigger a notification with a payload containing the view name, status, and error details.
RSpec Tests:
- Configure a webhook endpoint in the tests.
- Trigger a successful job and a failed job.
- Verify that a POST request with the correct payload is sent to the webhook endpoint in both cases.
- Test that no notification is sent if one is not configured.
Checklist:
- I have searched for a similar feature request and didn't find any duplicates.
- I have included all the required information.
- I have tagged the issue with the label "enhancement".
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Backlog