Skip to content

fix: Pin the custom EventSource example to the current browser SDK version - #2153

Open
joker23 wants to merge 1 commit into
mainfrom
skz/fix-custom-eventsource-example-pin
Open

joker23 wants to merge 1 commit into
mainfrom
skz/fix-custom-eventsource-example-pin

Conversation

@joker23

@joker23 joker23 commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The run-custom-eventsource-example job in sdk/browser failed on main with Could not resolve '@launchdarkly/js-client-sdk/fetch-eventsource'.

The example was added in #2139 with an exact pin of 4.13.1. The release in #2140 bumped the workspace to 4.14.0, so Yarn stopped linking the workspace package and fetched 4.13.1 from npm. That version has no ./fetch-eventsource subpath.

This PR bumps the pin to 4.14.0. The example is already listed in the release-please extra-files for packages/sdk/browser, so later releases keep it in sync.


Devin Review


Note

Overview
Updates the custom EventSource example’s dependency pin on @launchdarkly/js-client-sdk from 4.13.1 to 4.14.0 so it matches the workspace browser SDK after the recent release.

That fixes CI for run-custom-eventsource-example, which was resolving 4.13.1 from npm (not the workspace) and failing on the missing @launchdarkly/js-client-sdk/fetch-eventsource subpath introduced in the current SDK.

Reviewed by Cursor Bugbot for commit 882f8aa. Bugbot is set up for automated code reviews on this repo. Configure here.

@joker23
joker23 marked this pull request as ready for review November 2, 2026 23:26
@joker23
joker23 requested a review from a team as a code owner November 2, 2026 23:26
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 32220 bytes
Compressed size limit: 32500
Uncompressed size: 152548 bytes

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 26066 bytes
Compressed size limit: 44000
Uncompressed size: 168326 bytes

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 34474 bytes
Compressed size limit: 35000
Uncompressed size: 122974 bytes

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