Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(server): Do not cache envelope summary #2380

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jjbayer
Copy link
Member

@jjbayer jjbayer commented Aug 3, 2023

We currently keep a cached envelope summary on ManagedEnvelope, which is not updated after the event item has been popped from the envelope for processing.

This has the advantage that the summary still "contains" an event while it has been temporarily removed from the envelope, but it causes the problem that we cannot update it during processing without "losing" the event for the purpose of outcome reporting.

This PR attempts to remove all caching of the envelope summary, while still reporting correct outcomes for events.

@jjbayer jjbayer changed the title Ref/safer envelope summary ref(server): Do not cache envelope summary Aug 4, 2023
viglia pushed a commit that referenced this pull request Aug 4, 2023
…ng (#2383)

Updating the envelope summary during envelope processing is currently a
no-go, because recomputing the summary will miss the event item, which
is taken from the envelope before processing.

#2380 contains an attempt to
remove caching of the envelope summary entirely. As a quick fix, this PR
provides a partial update function.

#skip-changelog
@getsantry
Copy link

getsantry bot commented Oct 18, 2023

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@Dav1dde
Copy link
Member

Dav1dde commented Feb 19, 2024

@jjbayer 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants