Skip to content

fix(issues): attribute attachment deletions in the group action log - #121272

Merged
cvxluo merged 1 commit into
masterfrom
cvxluo/attribute-attachment-deletions-in-the-group-action
Aug 5, 2026
Merged

fix(issues): attribute attachment deletions in the group action log#121272
cvxluo merged 1 commit into
masterfrom
cvxluo/attribute-attachment-deletions-in-the-group-action

Conversation

@cvxluo

@cvxluo cvxluo commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Add ActionContext to attachment deletion activity -> group action logging.

Fixes SENTRY-5RK9

Deleting an attachment linked to a group creates a DELETED_ATTACHMENT
Activity, which mirrors into the group action log. The endpoint already recorded
request.user on the Activity but established no ActionContext, so the mirrored
action was published with source=UNKNOWN and a system actor -- misattributing a
user-initiated deletion.

Fixes SENTRY-5RK9

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 4, 2026
@cvxluo
cvxluo marked this pull request as ready for review August 5, 2026 00:09
@cvxluo
cvxluo requested review from a team as code owners August 5, 2026 00:09
@cvxluo
cvxluo requested a review from a team August 5, 2026 00:09
@cvxluo
cvxluo merged commit e7a5b87 into master Aug 5, 2026
66 checks passed
@cvxluo
cvxluo deleted the cvxluo/attribute-attachment-deletions-in-the-group-action branch August 5, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants