You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-07-23] [Metrics] Add send_message_source attribute to ManualSendMessage spans #95709
We still see many ManualSendMessage spans in the ~1-2s range, but so far we only have one blended number. Most of the focus was on chat from the inbox, so we can't tell which send path is the slowest one. Without that, it's hard to pick where to optimize next.
What we want
Tag every ManualSendMessage span with where the message was sent from, using a new attribute send_message_source. Then we can slice the metric by scenario in Sentry and answer: which send path is slow the most often, and where should we focus?
The value is built from the tab + the report type + how the report was opened, for example inbox_expense_transaction_thread_rhp_from_report:
tab_ — the tab behind the screen: home_ / inbox_ / spend_ / settings_ / other_
_single / _multi — expense report with one transaction vs many
_rhp — the report is open in the Right-Hand Panel
_from_report — an RHP screen was drilled into from its parent expense report
Dashboard
Add a table to the Sentry dashboard grouped by send_message_source, so we get a % distribution per path and can drill into a specific user to see if certain paths are consistently slower.
changed the title [-][Metrics] Add send_message_source attribute to ManualSendMessage spans[/-][+][Due for payment 2026-07-23] [Metrics] Add send_message_source attribute to ManualSendMessage spans[/+]on Jul 16, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.35-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
The Spend tab and transaction_thread_rhp_from_report are the scenarios with the lowest percentage of messages completing within the 300 ms target at the moment. This matches our current direction of preventing rerenders on blurred screens (transaction_thread_rhp_from_report)
Activity
[-][Metrics] Add send_message_source attribute to ManualSendMessage spans[/-][+][Due for payment 2026-07-23] [Metrics] Add send_message_source attribute to ManualSendMessage spans[/+]melvin-bot commentedon Jul 16, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 16, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.35-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-07-23. 🎊
For reference, here are some details about the assignees on this issue:
3 remaining items
LukasMod commentedon Jul 21, 2026
PR was merged and deployed, so this can probably be closed. cc @cristipaval
We already have some useful data: https://expensify.sentry.io/dashboard/166325/?statsPeriod=7d
The Spend tab and
transaction_thread_rhp_from_reportare the scenarios with the lowest percentage of messages completing within the 300 ms target at the moment. This matches our current direction of preventing rerenders on blurred screens (transaction_thread_rhp_from_report)cristipaval commentedon Jul 21, 2026
thanks for working on this one 🙏
suneox commentedon Sep 13, 2026
@cristipaval I've reviewed this PR so could you please assign me to this issue for payment? Thanks!
melvin-bot commentedon Sep 14, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Sep 14, 2026
Payment Summary
Resolving PRs:
[NoQA] Add ATTRIBUTE_SEND_MESSAGE_SOURCE to ManualSendMessage #95666
Reviewer: @suneox owed $250 via NewDot
Contributor: @LukasMod does not require payment (Contractor)
BugZero Checklist (@mallenexpensify)
mallenexpensify commentedon Sep 15, 2026
Payment Summary
Contributor+: @suneox due $250 via NewDot
@suneox @cristipaval I'm assuming this qualifies for testing in lieu of vids, comment/reopen if not and I can lower pay to $125
garrettmknight commentedon Sep 22, 2026
$250 approved for @suneox