fix: Make unit test less brittle and add CI#953
Merged
Conversation
Contributor
|
@launchdarkly/browser size report |
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
Because it was a breaking change they pretty much immediately had to ship v6 to fix the issue.
keelerm84
approved these changes
Oct 14, 2025
Merged
jsonbailey
added a commit
that referenced
this pull request
Oct 14, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>server-sdk-ai-langchain: 0.1.0</summary> ## [0.1.0](server-sdk-ai-langchain-v0.1.0...server-sdk-ai-langchain-v0.1.0) (2025-10-14) ### Bug Fixes * Make unit test less brittle and add CI ([#953](#953)) ([a2236a9](a2236a9)) </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] > Update the server-ai-langchain changelog to a linked 0.1.0 entry with the 2025-10-14 date. > > - Update `packages/ai-providers/server-ai-langchain/CHANGELOG.md`: > - Change version header to linked `0.1.0 (2025-10-14)`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit dc5438c. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jason Bailey <jbailey@launchdarkly.com>
Merged
jsonbailey
added a commit
that referenced
this pull request
Oct 14, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>server-sdk-ai-langchain: 0.1.0</summary> ## [0.1.0](server-sdk-ai-langchain-v0.1.0...server-sdk-ai-langchain-v0.1.0) (2025-10-14) ### Features * Add LangChain Provider for AI SDK ([#941](#941)) ([9cbfb87](9cbfb87)) ### Bug Fixes * Make unit test less brittle and add CI ([#953](#953)) ([a2236a9](a2236a9)) </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] > Updates `packages/ai-providers/server-ai-langchain/CHANGELOG.md` to add the 0.1.0 entry with a bug fixes section and adjusted date. > > - **Changelog updates** (`packages/ai-providers/server-ai-langchain/CHANGELOG.md`): > - Add `0.1.0 (2025-10-13)` entry. > - Add **Bug Fixes** section noting unit test stability and CI addition. > - Retain feature entry for LangChain Provider. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 1937cb9. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jason Bailey <jbailey@launchdarkly.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Adds CI workflow and TS/Typedoc configs for
server-ai-langchain, and relaxes brittle warning assertions in tests./.github/workflows/server-ai-langchain.ymlto build/test@launchdarkly/server-sdk-ai-langchainusing shared CI steps.packages/ai-providers/server-ai-langchain/__tests__/LangChainProvider.test.ts, loosen warning checks by assertingwarncalled once for non-string/array responses instead of matching exact messages.packages/ai-providers/server-ai-langchain/tsconfig.ref.jsonand reference it in roottsconfig.json.packages/ai-providers/server-ai-langchain/typedoc.jsonfor docs generation.Written by Cursor Bugbot for commit 96b267a. This will update automatically on new commits. Configure here.