Skip to content

fix(replay): guard against experimental frames in breadcrumbs #69060

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

Closed
wants to merge 1 commit into from

Conversation

michellewzhang
Copy link
Member

fixes JAVASCRIPT-2SJF
fixes JAVASCRIPT-2SJG

for mobile replays, we're experimenting with adding breadcrumbs, which means some of the frames we're sending in aren't complete (eg. they don't have all the properties that replay ones do).

this was leading to a problem rendering the breadcrumbs tab since we had a click frame that didn't have property message, and we were trying to access frame.message.

we can probably delete this check after video replay breadcrumb frames are more complete/correct, but for now let's have this guard, so we don't get this error while the SDK engineers are testing breadcrumbs!

before:
SCR-20240416-nklp

after:

SCR-20240416-nitv

@michellewzhang michellewzhang requested a review from a team as a code owner April 16, 2024 22:09
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 16, 2024
Copy link

codecov bot commented Apr 16, 2024

Bundle Report

Changes will increase total bundle size by 18 bytes ⬆️

Bundle name Size Change
app-webpack-bundle-array-push 26.3MB 18 bytes ⬆️

michellewzhang added a commit that referenced this pull request Apr 17, 2024
@michellewzhang michellewzhang deleted the mz/message-frame-check branch April 18, 2024 00:17
@github-actions github-actions bot locked and limited conversation to collaborators May 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants