Started using sender details from email design settings, when available, for automations#28496
Started using sender details from email design settings, when available, for automations#28496EvanHahn wants to merge 5 commits into
Conversation
- `poll` no longer tells `MemberWelcomeEmailService` about sender details. - `MemberWelcomeEmailService` no longer accepts them. - Tests added/updated.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (14)
💤 Files with no reviewable changes (8)
WalkthroughThis PR refactors the automation send_email action to remove discrete sender identity fields ( Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #28496 +/- ##
=======================================
Coverage 73.76% 73.76%
=======================================
Files 1541 1541
Lines 132279 132189 -90
Branches 15804 15816 +12
=======================================
- Hits 97576 97513 -63
+ Misses 33737 33709 -28
- Partials 966 967 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
troyciesco
left a comment
There was a problem hiding this comment.
i think this might have user impact for people currently using welcome emails. I marked two spots but i'm not sure if there's more spots to address
| senderName: email.get('sender_name'), | ||
| senderEmail: email.get('sender_email'), | ||
| senderReplyTo: email.get('sender_reply_to') |
| senderName: automatedEmail.get('sender_name'), | ||
| senderEmail: automatedEmail.get('sender_email'), | ||
| senderReplyTo: automatedEmail.get('sender_reply_to') |
There was a problem hiding this comment.
i think this change might also be an issue for those with welcome emails on currently


towards https://linear.app/ghost/issue/NY-1308
towards https://linear.app/ghost/issue/NY-1333
ref #28461
ref #28326
I recommend reviewing this commit-by-commit.
Now that the
email_design_settingstable has sender details, let's start using them for automations.This change should have no user impact yet, because we aren't reading/writing these fields. That will change soon!