Skip to content

Conversation

@Vadman97
Copy link
Contributor

@Vadman97 Vadman97 commented Oct 14, 2025

Summary

First-time visitors with no session replay metadata in local storage would
get an error log related to the session data not being valid (it would be an empty object).

How did you test this change?

CI

Are there any deployment considerations?

no


Note

Adjusts pruneSessionData to only act on entries with lastPushTime and removes error logging for non-session data, preventing noisy logs for new sessions.

  • Session storage (sdk/highlight-run/src/client/utils/sessionStorage/highlightSession.ts):
    • Update pruneSessionData to only consider items with lastPushTime before pruning.
    • Remove error log for entries lacking lastPushTime; keep debug log when removing stale data.

Written by Cursor Bugbot for commit 3cecc11. This will update automatically on new commits. Configure here.

@Vadman97 Vadman97 requested a review from a team as a code owner October 14, 2025 22:36
Copy link

@ntiner1 ntiner1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting issue on build, otherwise looks good!

@Vadman97 Vadman97 enabled auto-merge (squash) October 15, 2025 18:19
@Vadman97 Vadman97 merged commit e76004c into main Oct 15, 2025
21 checks passed
@Vadman97 Vadman97 deleted the vadim/fix-sdk-noise branch October 15, 2025 18:30
tanderson-ld pushed a commit that referenced this pull request Oct 24, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>launchdarkly-observability-android: 0.12.0</summary>

##
[0.12.0](launchdarkly-observability-android-0.11.0...launchdarkly-observability-android-0.12.0)
(2025-10-24)


### Features

* Android observability plugin session replay support
([#268](#268))
([4ba5124](4ba5124))
* O11Y-601 - Add Android launch time instrumentation
([#274](#274))
([38b4a84](38b4a84))
</details>

<details><summary>observability: 0.4.6</summary>

##
[0.4.6](observability-0.4.5...observability-0.4.6)
(2025-10-24)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.22.3
</details>

<details><summary>session-replay: 0.4.6</summary>

##
[0.4.6](session-replay-0.4.5...session-replay-0.4.6)
(2025-10-24)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.22.3
</details>

<details><summary>highlight.run: 9.22.3</summary>

##
[9.22.3](highlight.run-9.22.2...highlight.run-9.22.3)
(2025-10-24)


### Bug Fixes

* avoid noisy error log on starting new sessions
([#269](#269))
([e76004c](e76004c))
* make sessionCookie session a boolean type
([#272](#272))
([9fb304d](9fb304d))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Publish new Android, Web Observability, and Session Replay releases
plus highlight.run 9.22.3 with minor features and fixes, and bump
internal dependencies accordingly.
> 
> - **SDK releases**:
>   - **Android (`sdk/@launchdarkly/observability-android`) 0.12.0**:
>     - Add session replay support in the Android observability plugin.
>     - Add Android launch time instrumentation.
>   - **Web Observability (`sdk/@launchdarkly/observability`) 0.4.6**:
>     - Dependency: `highlight.run` -> `9.22.3`.
>   - **Session Replay (`sdk/@launchdarkly/session-replay`) 0.4.6**:
>     - Dependency: `highlight.run` -> `9.22.3`.
>   - **highlight.run (`sdk/highlight-run`) 9.22.3**:
> - Bug fixes: reduce noisy error log on new sessions; make
`sessionCookie.session` a boolean.
> - **Version manifests**:
> - Update `.release-please-manifest.json` and package versions to match
releases.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1081a4c. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
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.

3 participants