-
Notifications
You must be signed in to change notification settings - Fork 131
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
fix: set the session id as soon as it changes #956
Conversation
Size Change: -36 B (0%) Total Size: 756 kB
ℹ️ View Unchanged
|
@@ -406,7 +407,7 @@ export class SessionRecording { | |||
reason: 'user activity', | |||
type: event.type, | |||
}) | |||
this._tryTakeFullSnapshot() | |||
returningFromIdle = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as I added tracking of full snapshots in the tests it became clear there were routes through the code where we might take two full snapshots
(despite this change being about avoiding taking none full snapshots I tidied this up at the same time)
We've a bug where the full snapshot is missing at the start of some recordings.
I think this fixes it - certainly resetting sessions locally I couldn't get it to trigger any more.