Skip to content

Conversation

@tobias-wilfert
Copy link
Member

Adds the logic to scrub the attachment body as well as the attachment meta.

Comment on lines +292 to +298
// FIXME: Not a fan of this at all, the fact that the UI is misleading around this does not help IMO.
// Also also kind of weird since you can add a bogus rule to get around this (or even add a rule by accident to get around this).
// From attachments.rs:
// We temporarily only scrub attachments to projects that have at least one simple attachment rule,
// such as `$attachments.'foo.txt'`.
// After we have assessed the impact on performance we can relax this condition.
&& utils::attachments::has_simple_attachment_selector(config)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me this is actually very confusing and ideally I would like to change it if we can.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to remove the extra check for span attachments, they will start out as low-volume anyway.

@tobias-wilfert tobias-wilfert self-assigned this Dec 5, 2025
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.

3 participants