Skip to content

feat: add notification service#1

Open
iamvirul wants to merge 1 commit into
mainfrom
feat/add-notification-service
Open

feat: add notification service#1
iamvirul wants to merge 1 commit into
mainfrom
feat/add-notification-service

Conversation

@iamvirul

Copy link
Copy Markdown
Member

Summary

Adds a notification service (src/notifications/sender.py) with email (SMTP) and webhook delivery.

This PR is intentionally structured to trigger and demonstrate all VecGrep Action PR-level workflows:

  • test-analyze.yml — should detect that sender.py is semantically related to processor.py and authentication.py (shared patterns: status enums, result dataclasses, pending→sent state machine) and post a comment automatically
  • test-comment.yml — should post related auth + payment code found in the codebase
  • test-validate.yml — should pass all architectural checks (no raw SQL, no hardcoded credentials, auth logic exists)
  • test-duplicate.yml — should detect similarity between sender.py and processor.py/invoice.py (shared structural patterns)

Changes

  • src/notifications/__init__.py
  • src/notifications/sender.pycreate_notification(), send_email(), send_webhook(), get_notification()

What to look for

Check the Actions tab and PR comments after CI runs to see VecGrep surfacing related code automatically.

@github-actions

Copy link
Copy Markdown

Related authentication code

No results found above the score threshold.

@github-actions

Copy link
Copy Markdown

Related payment code

No results found above the score threshold.

@github-actions

Copy link
Copy Markdown

VecGrep PR Analysis

No semantically related code found in the codebase for the changes in this PR.

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