Repository navigation
Fix Slack request images before bare mentions - #49446
Draft
brennanb2025 wants to merge 18 commits into
Draft
brennanb2025 wants to merge 18 commits into
brennanb2025 wants to merge 18 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
When someone shares a picture and then tags a bot in a separate message, the bot receives the picture in its chat. Before, it could miss the picture and act on an unrelated file left in a temporary folder.
What Changed
Why
The tag message alone does not carry the earlier upload. Delivering its bytes with the request gives the bot the image through the same attachment flow used for an image on the tag.
Linked Issue
N/A
Visual Proof
Seeded desktop screenshot pending.
Testing
Focused connector tests and seeded desktop validation are pending on this revision.
Performance
Up to four distinct image reads share a ten-second staging budget. Recovery inspects at most twenty existing attachment paths per delivery, across retries and skips already attached Slack files before download.
Risk
Level: Medium. The delivery receipt and returned-request path determine whether interrupted messages can safely retry. A revert restores the previous behavior. Existing chats use the same attachment block format.
AI Disclosure
N/A
Review
Notes
Attachment storage stays on the chat's host. The transcript projection is shared with mobile.
Checklist