-
Notifications
You must be signed in to change notification settings - Fork 30
fix: Make unit test less brittle and add CI #953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@launchdarkly/browser size report |
@launchdarkly/js-sdk-common size report |
@launchdarkly/js-client-sdk-common size report |
@launchdarkly/js-client-sdk size report |
Because it was a breaking change they pretty much immediately had to ship v6 to fix the issue.
🤖 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>
🤖 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>
Note
Adds CI workflow and TS/Typedoc configs for
server-ai-langchain
, and relaxes brittle warning assertions in tests./.github/workflows/server-ai-langchain.yml
to build/test@launchdarkly/server-sdk-ai-langchain
using shared CI steps.packages/ai-providers/server-ai-langchain/__tests__/LangChainProvider.test.ts
, loosen warning checks by assertingwarn
called once for non-string/array responses instead of matching exact messages.packages/ai-providers/server-ai-langchain/tsconfig.ref.json
and reference it in roottsconfig.json
.packages/ai-providers/server-ai-langchain/typedoc.json
for docs generation.Written by Cursor Bugbot for commit 96b267a. This will update automatically on new commits. Configure here.