mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
feat(standard-tests): forward LangSmith CI env vars to traces (#37645)
Scheduled integration runs set `LANGSMITH_TAGS` and `LANGSMITH_METADATA` in `$GITHUB_ENV` (per #37615), but the LangSmith SDK does not read those env vars natively, so the tags/metadata were silently dropped. A new pytest plugin in `langchain-tests` bridges that gap by entering `langsmith.run_helpers.tracing_context` for the duration of each session.
This commit is contained in:
@@ -48,6 +48,9 @@ Twitter = "https://x.com/langchain_oss"
|
||||
Slack = "https://www.langchain.com/join-community"
|
||||
Reddit = "https://www.reddit.com/r/LangChain/"
|
||||
|
||||
[project.entry-points.pytest11]
|
||||
langsmith_ci = "langchain_tests._langsmith_plugin"
|
||||
|
||||
[dependency-groups]
|
||||
test = ["langchain-core>=1.4.0,<2.0.0"]
|
||||
test_integration = []
|
||||
|
||||
Reference in New Issue
Block a user