Skip to content

Conversation

mocayo
Copy link
Collaborator

@mocayo mocayo commented Jul 3, 2025

PR Description:

This PR introduces several new features and improvements to the cozeloop-langchain and ci-tools packages.

cozeloop-langchain:

  • Increased Unit Test Coverage: The commit a6b75ef focuses on increasing the unit test coverage for the cozeloop-langchain package, ensuring better code quality and robustness.

  • Propagation: The commit a08997c implements the propagation feature, allowing for efficient handling and processing of data within the cozeloop-langchain package.

  • Readme and Changelog Updates: The commit b11febd updates the README and CHANGELOG files, providing better documentation and tracking changes made to the cozeloop-langchain package.

  • Unit Test Arrangement: The commit 74506cf reorganizes and arranges the unit tests for the cozeloop-langchain package, improving code structure and maintainability.

  • Multi-Callback Exporter: The commit 1d45e73 introduces a multi-callback exporter feature, enabling the export of multiple callbacks within the cozeloop-langchain package.

  • LangChain Format Parsing: The commit 070751f adds functionality to parse the LangChain format, allowing for better integration and compatibility with the LangChain ecosystem.

  • Callback Implementation: The commit 28484bb implements the callback feature within the cozeloop-langchain package, enabling callbacks for various operations and events.

ci-tools:

  • Initial Release: The commit fd6de15 initializes the ci-tools package with version 0.0.1, laying the foundation for future development and integration of CI tools.

Overall, this PR enhances the cozeloop-langchain package with increased test coverage, new features like propagation, multi-callback exporter, and LangChain format parsing. Additionally, it introduces the ci-tools package for CI-related tools and utilities.

@CLAassistant
Copy link

CLAassistant commented Jul 3, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

codecov bot commented Jul 4, 2025

Codecov Report

Attention: Patch coverage is 69.46058% with 368 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...zeloop-langchain/src/callbacks/callback-handler.ts 66.89% 148 Missing ⚠️
packages/ci-tools/src/lark/sync-issue.ts 0.00% 103 Missing and 1 partial ⚠️
packages/ci-tools/src/lark/send-message.ts 0.00% 27 Missing and 1 partial ⚠️
packages/ci-tools/src/lark/index.ts 0.00% 24 Missing and 1 partial ⚠️
packages/ci-tools/src/lark/schema.ts 0.00% 20 Missing and 1 partial ⚠️
packages/ci-tools/src/index.ts 0.00% 13 Missing and 1 partial ⚠️
...es/cozeloop-langchain/src/callbacks/utils/model.ts 88.37% 10 Missing ⚠️
...ackages/cozeloop-langchain/src/otel/propagation.ts 82.75% 10 Missing ⚠️
packages/ci-tools/bin/index.js 0.00% 2 Missing and 1 partial ⚠️
.../cozeloop-langchain/src/callbacks/utils/message.ts 97.56% 3 Missing ⚠️
... and 2 more

❌ Your patch status has failed because the patch coverage (69.46%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   91.51%   83.19%   -8.32%     
==========================================
  Files          41       63      +22     
  Lines        1991     3195    +1204     
  Branches      419      638     +219     
==========================================
+ Hits         1822     2658     +836     
- Misses        169      530     +361     
- Partials        0        7       +7     
Components Coverage Δ
@cozeloop/ai 91.53% <100.00%> (+0.02%) ⬆️
@cozeloop/langchain 82.76% <82.76%> (∅)
Files with missing lines Coverage Δ
packages/cozeloop-ai/src/prompt/hub.ts 94.44% <ø> (ø)
packages/cozeloop-ai/src/tracer/index.ts 100.00% <100.00%> (ø)
packages/cozeloop-ai/src/utils/common.ts 98.63% <100.00%> (+0.07%) ⬆️
...ages/cozeloop-langchain/src/callbacks/constants.ts 100.00% <100.00%> (ø)
packages/cozeloop-langchain/src/callbacks/index.ts 100.00% <100.00%> (ø)
...es/cozeloop-langchain/src/callbacks/utils/chain.ts 100.00% <100.00%> (ø)
...es/cozeloop-langchain/src/callbacks/utils/index.ts 100.00% <100.00%> (ø)
packages/cozeloop-langchain/src/index.ts 100.00% <100.00%> (ø)
...ages/cozeloop-langchain/src/otel/batching-queue.ts 100.00% <100.00%> (ø)
.../cozeloop-langchain/src/otel/cozeloop-processor.ts 100.00% <100.00%> (ø)
... and 15 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mocayo mocayo changed the title [feat] [langchain] add langchain integrations, and internal ci-tools [feat] [langchain] Add langchain integrations, and internal ci-tools Jul 4, 2025
@mocayo mocayo merged commit a885d94 into main Jul 4, 2025
7 of 8 checks passed
@mocayo mocayo deleted the feat/langchain branch July 4, 2025 08:54
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