Skip to content

feat: add email group action to send to DS - #2935

Open
minottic wants to merge 1 commit into
policy_permissionsfrom
email_groups
Open

feat: add email group action to send to DS#2935
minottic wants to merge 1 commit into
policy_permissionsfrom
email_groups

Conversation

@minottic

@minottic minottic commented Sep 3, 2026

Copy link
Copy Markdown
Member

Description

Add email action to send emails to email lists from policies, grouped by datasets' ownergroup. This is to notify data stewards or beamline managers for jobs triggered on owned datasets. It's an opt in feature and replicates a legacy backend feature

Tests included

  • Included for each change/fix?
  • Passing?

Documentation

  • swagger documentation updated (required for API changes)
  • official documentation updated

official documentation info

Summary by Sourcery

Enable policy-driven grouped email notifications for jobs operating on datasets.

New Features:

  • Add an opt-in grouped email job action that notifies each dataset owner group using recipients configured in its policy.

Enhancements:

  • Support templated email subjects and bodies with configurable error handling for policy lookup and email delivery.

Documentation:

  • Document the grouped email action and its policy-based notification behavior in the example job configuration.

Tests:

  • Add coverage for grouping datasets, policy filtering, templating, notification delivery, and error handling.

@minottic
minottic requested a review from a team as a code owner September 3, 2026 08:32

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @minottic, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 hours and 19 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@minottic
minottic force-pushed the email_groups branch 2 times, most recently from 65a1344 to ee71e6c Compare September 3, 2026 12:41
@minottic
minottic force-pushed the email_groups branch 3 times, most recently from d7234ec to 0bb4eb4 Compare September 3, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant