Skip to content

fix(o11y): resync re-sends whole stylesheets when recovering CSS-in-JS rules - #825

Draft
mayberryzane wants to merge 1 commit into
mainfrom
fix/highlight-run-rrweb-resync-mid-sheet
Draft

mayberryzane wants to merge 1 commit into
mainfrom
fix/highlight-run-rrweb-resync-mid-sheet

Conversation

@mayberryzane

Copy link
Copy Markdown

Bumps the rrweb submodule to b40a4fb (launchdarkly/rrweb#42). When recording recovers CSS-in-JS rules after another script displaced its insertRule patch, it now re-sends the whole stylesheet instead of its tail, so rules inserted mid-sheet (styled-components) reach the replay instead of being lost.

The README note in sdk/@launchdarkly/o11y/ gives release-please a path to attribute a patch release to @launchdarkly/o11y; its dependents follow via the node-workspace plugin. Also picks up launchdarkly/rrweb#39, which is replay-side and inert for the recorder bundles. No dependency changes in the bumped range.

🤖 Generated with Claude Code

…S rules

Bumps the rrweb submodule to b40a4fb (launchdarkly/rrweb#42). When the
insertRule patch has been displaced, the stylesheet resync used to
re-send only the tail of each grown sheet, which misses rules inserted
mid-sheet (styled-components orders rules by component) and duplicates
shifted ones. It now replaces the replayer's copy of the sheet.

Also picks up launchdarkly/rrweb#39, which is replay-side and inert for
the recorder bundles these packages ship.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant