Skip to content

Feat add reply params messaging - #13785

Merged
ArnabChatterjee20k merged 7 commits into
mainfrom
feat-add-reply-params-messaging
Sep 21, 2026
Merged

ArnabChatterjee20k merged 7 commits into
mainfrom
feat-add-reply-params-messaging

Conversation

@ArnabChatterjee20k

Copy link
Copy Markdown
Member

What does this PR do?

(Provide a description of what this PR does and why it's needed.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)

Related PRs and Issues

  • (Related PR or issue)

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

ArnabChatterjee20k and others added 4 commits September 21, 2026 11:16
Add optional reply-to address and name params to the create and update
email endpoints, persisted alongside the rest of the message data.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
buildEmailMessage now reads replyToEmail/replyToName from the message
data, falling back to the provider options when unset.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Add e2e coverage for reply-to fields: persistence and validation on
create/update, and the delivered reply-to header over SMTP.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@greptile-apps

greptile-apps Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge; the latest changes complete the intended clearing behavior without introducing a new actionable issue.

Summary

This PR adds message-level reply-to email and display-name overrides for email creation, draft updates, and final delivery.

  • Validates and persists reply-to fields through the email message API.
  • Applies message-level values ahead of provider defaults in the messaging worker.
  • Supports clearing draft overrides with empty strings.
  • Adds API and delivered-email coverage, including the observable reply-to display name.

Reviews (3) · Last reviewed commit: "fix(messaging): allow empty replyToName ..."

ArnabChatterjee20k and others added 2 commits September 21, 2026 11:24
Accept an empty string for replyToEmail so a draft can drop a custom
reply-to and fall back to the provider or sender, matching the worker's
empty-value handling.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Assert an empty string clears the reply-to, and check both the address
and display name on the delivered mail.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → feat-add-reply-params-messaging (after).

Metric Before After Change
🚀 Requests/sec 263.88 270.75 ⚪ +2.6%
⏱️ Latency P50 66.2 ms 64.86 ms ⚪ -2%
⏱️ Latency P95 155.57 ms 148.24 ms ⚪ -4.7%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 64.86 148.24 17,043 270.75 -7.33
Account 115.6 219.09 897 14.9 -16.6
TablesDB 62.66 118.18 9,269 150.16 -3.64
Storage 59.86 134.23 4,485 74.45 -4.07
Functions 90.69 181.32 2,392 40.3 -6.95

Top API waits (after)

API request Max wait (ms)
account.prefs.update 350.45
account.name.update 346.54
functions.create 327.53
functions.variables.create 326.54
functions.delete 267.4

Text defaults to a minimum length of one, so an empty replyToName was
rejected. Use Text(128, 0) as the provider create actions do, letting an
empty string clear the custom reply-to name.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@ArnabChatterjee20k
ArnabChatterjee20k merged commit bea0ff3 into main Sep 21, 2026
50 checks passed
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.

2 participants