Skip to content

fix(attachments): stop using attachment SHA1 metadata - #1265

Merged
jan-auer merged 2 commits into
mainfrom
fix/remove-attachment-sha1
Aug 25, 2026
Merged

jan-auer merged 2 commits into
mainfrom
fix/remove-attachment-sha1

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Sentry objectstore-backed attachments intentionally store empty checksums on the attachment model. get_event_attachment was still requiring and printing that SHA1, which made list output look broken even when size and download metadata were fine.

This removes attachment SHA1 from the event attachment schema and from list/download tool output. Upstream API responses may still include the field; we no longer depend on it.

Ref FS-491
Ref #1267

Requested by async jauer.

--

View Junior Session [Sentry]

Objectstore-backed attachments intentionally store empty checksums, so
SHA1 from the list API is misleading. Drop it from the event attachment
schema and tool output.

Co-Authored-By: Jan Michael Auer <jan.auer@sentry.io>
Co-Authored-By: Jan Michael Auer <jan.auer@sentry.io>
@jan-auer
jan-auer marked this pull request as ready for review August 25, 2026 13:34
@linear-code

linear-code Bot commented Aug 25, 2026

Copy link
Copy Markdown

FS-491

@jan-auer
jan-auer merged commit 0c4fadd into main Aug 25, 2026
21 checks passed
@jan-auer
jan-auer deleted the fix/remove-attachment-sha1 branch August 25, 2026 13:39

This branch was previously deployed

1 inactive deployment
Actions — b852d97d Deployed Aug 25, 2026 by sentry-junior[bot] via eval #1094
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