relay icon indicating copy to clipboard operation
relay copied to clipboard

Unexpected behavior of slim_frame_data

Open loewenheim opened this issue 1 year ago • 0 comments

The function slim_frame_data is supposed to clear pre- and post-context of interior frames beyond a certain threshold. We have seen a case where it instead removes the pre- and post-context of the top frame, which is also the only in-app frame and the only one that even has pre- and post-context. Adding another in-app frame immediately below the top one will instead result in that new frame's data being removed and that in the top frame being preserved.

This behavior is extremely surprising and the logic in the function itself is unclear. We need to figure out what exactly the intended behavior of slim_frame_data is and implement it correctly.

Event payload exhibiting this problem: ruby-payload-edited.json

loewenheim avatar Sep 20 '24 16:09 loewenheim