Archived
The session.created global event (added with spawn_session) could arrive in the initiating tab before the start request's HTTP response resolved. applyCreatedSession inserted a plain session row (archive/reload actions) and then startSession unconditionally prepended the cached version (delete action), leaving two badges with the same id. Make the optimistic insert idempotent by filtering out any existing entry with the same id before prepending the cached session, so the locally cached session always wins regardless of event ordering.
Changesets
Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it in our repository.
We have a quick list of common questions to get you started engaging with this project in our documentation.