Skip to content

Move email notification from the listener to the agents - #6708

Open
evgenyrp wants to merge 10 commits into
mozilla:masterfrom
evgenyrp:email-action-6664
Open

Move email notification from the listener to the agents#6708
evgenyrp wants to merge 10 commits into
mozilla:masterfrom
evgenyrp:email-action-6664

Conversation

@evgenyrp

Copy link
Copy Markdown
Contributor
  • add a new action to runtime
  • update CI agents
  • tested them locally with sending emails and those look unchanged
  • remove now unneeded notificaitons and polling from the listener (1st step before migrating to Treeherder)

fixes #6664
fixes #6269

@evgenyrp
evgenyrp requested a review from a team as a code owner August 24, 2026 22:18
Comment thread docs/hackbot/actions.md Outdated
Comment thread docs/hackbot/deployment.md
Comment thread libs/hackbot-runtime/hackbot_runtime/actions/handlers/email_handler.py Outdated
Comment thread libs/hackbot-runtime/hackbot_runtime/changes.py Outdated
Comment thread libs/hackbot-runtime/hackbot_runtime/context.py Outdated
Comment thread libs/hackbot-runtime/hackbot_runtime/actions/email.py Outdated
Comment thread libs/hackbot-runtime/hackbot_runtime/context.py Outdated
if override:
return [override]
recipients = list(params.get("to") or [])
team = os.environ.get("NOTIFICATION_TEAM_EMAIL", "").strip()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep sending it to the team email as well for some time. It helps with monitoring and debugging. We can disable it later.

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.

Migrate email notification from the pulse listener to a runtime action Add support for email notifications

2 participants