Skip to content

Commit f7ab851

Browse files
authored
ci(langchain): skip latest langchain in ci until mocking is fixed (#5919)
1 parent 2ce554f commit f7ab851

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/datadog-plugin-langchain/test/index.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ describe('Plugin', () => {
4646
})
4747

4848
describe('langchain', () => {
49-
withVersions('langchain', ['@langchain/core'], version => {
49+
// TODO(sabrenner): remove this once we have the more robust mocking merged
50+
withVersions('langchain', ['@langchain/core'], '<0.3.60', version => {
5051
before(() => {
5152
iastFilter.isDdTrace = file => {
5253
if (file.includes('dd-trace-js/versions/')) {

packages/dd-trace/test/llmobs/plugins/langchain/index.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ describe('integrations', () => {
9999
return agent.close({ ritmReset: false, wipe: true })
100100
})
101101

102-
withVersions('langchain', ['@langchain/core'], version => {
102+
// TODO(sabrenner): remove this once we have the more robust mocking merged
103+
withVersions('langchain', ['@langchain/core'], '<0.3.60', version => {
103104
describe('langchain', () => {
104105
beforeEach(() => {
105106
langchainOpenai = require(`../../../../../../versions/@langchain/openai@${version}`).get()

0 commit comments

Comments
 (0)