From a6497330c20a1e25c82ffcb4046b006c5661e625 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Mon, 11 Aug 2025 13:21:00 +0200 Subject: [PATCH 1/6] Add new directory for langgraph-store and point REPO_BRANCH temporarily to INTPYTHON-661-Async-MongoDBStore --- langgraph-store-python/config.env | 4 ++++ langgraph-store-python/run.sh | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 langgraph-store-python/config.env create mode 100644 langgraph-store-python/run.sh diff --git a/langgraph-store-python/config.env b/langgraph-store-python/config.env new file mode 100644 index 0000000..d41994d --- /dev/null +++ b/langgraph-store-python/config.env @@ -0,0 +1,4 @@ +REPO_NAME=langchain-mongodb +REPO_ORG=langchain-ai +DATABASE=langgraph-store-test +REPO_BRANCH=INTPYTHON-661-Async-MongoDBStore \ No newline at end of file diff --git a/langgraph-store-python/run.sh b/langgraph-store-python/run.sh new file mode 100644 index 0000000..11b5338 --- /dev/null +++ b/langgraph-store-python/run.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +# WORKING_DIR = src/langchain-python/langchain +set -eu + +# Get the MONGODB_URI and OPENAI_API_KEY. +SCRIPT_DIR=$(realpath "$(dirname ${BASH_SOURCE[0]})") +ROOT_DIR=$(dirname $SCRIPT_DIR) +. $ROOT_DIR/env.sh + +. $ROOT_DIR/.evergreen/utils.sh + +PYTHON_BINARY=$(find_python3) + +# shellcheck disable=SC2164 +cd libs/langgraph-store-mongodb + +$PYTHON_BINARY -m venv venv_pipeline +source venv_pipeline/bin/activate + +pip install uv rust-just + +just install + +just unit_tests + +just integration_tests From 214497883969ec5651103c22731fa44eb27550e2 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Mon, 11 Aug 2025 13:21:38 +0200 Subject: [PATCH 2/6] Add evergreen config. --- .evergreen/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 50bb4e7..e521938 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -153,6 +153,20 @@ tasks: - func: "setup remote atlas" - func: "execute tests" + - name: test-langgraph-store-python-local + tags: [local] + commands: + - func: "fetch repo" + - func: "setup local atlas" + - func: "execute tests" + + - name: test-langgraph-store-python-remote + tags: [remote] + commands: + - func: "fetch repo" + - func: "setup remote atlas" + - func: "execute tests" + - name: test-chatgpt-retrieval-plugin-local tags: [local] commands: @@ -320,6 +334,17 @@ buildvariants: - name: test-langgraph-python-remote batchtime: 10080 # 1 week + - name: test-langgraph-store-python-rhel + display_name: Langgraph Store RHEL Python + expansions: + DIR: langgraph-store-python + run_on: + - rhel87-small + tasks: + - name: test-langgraph-store-python-local + - name: test-langgraph-store-python-remote + batchtime: 10080 # 1 week + # TODO: INTPYTHON-668 # - name: test-chatgpt-retrieval-plugin-rhel # display_name: ChatGPT Retrieval Plugin From 42d64d5618631e3ce649e916cae7f982c4069f28 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Mon, 11 Aug 2025 13:35:53 +0200 Subject: [PATCH 3/6] Add langgraph-store-python to setup-remote.sh --- .evergreen/setup-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/setup-remote.sh b/.evergreen/setup-remote.sh index 4fbf3af..c7aeda5 100644 --- a/.evergreen/setup-remote.sh +++ b/.evergreen/setup-remote.sh @@ -23,7 +23,7 @@ case $DIR in semantic-kernel-csharp) MONGODB_URI=$SEMANTIC_KERNEL_MONGODB_URI ;; - langchain-python | langgraph-python) + langchain-python | langgraph-python | langgraph-store-python) MONGODB_URI=$LANGCHAIN_MONGODB_URI ;; chatgpt-retrieval-plugin) From ec5adb24b49125d1ae5382e087079c99f060f548 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Mon, 11 Aug 2025 15:40:26 +0200 Subject: [PATCH 4/6] Lint - fix end of files --- langgraph-store-python/config.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langgraph-store-python/config.env b/langgraph-store-python/config.env index d41994d..a16aaf8 100644 --- a/langgraph-store-python/config.env +++ b/langgraph-store-python/config.env @@ -1,4 +1,4 @@ REPO_NAME=langchain-mongodb REPO_ORG=langchain-ai DATABASE=langgraph-store-test -REPO_BRANCH=INTPYTHON-661-Async-MongoDBStore \ No newline at end of file +REPO_BRANCH=INTPYTHON-661-Async-MongoDBStore From 28a44e161c883d4121be7cb21646f352af3feca1 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Mon, 11 Aug 2025 16:00:01 +0200 Subject: [PATCH 5/6] Remove reference to feature branch --- langgraph-store-python/config.env | 1 - 1 file changed, 1 deletion(-) diff --git a/langgraph-store-python/config.env b/langgraph-store-python/config.env index a16aaf8..d58df90 100644 --- a/langgraph-store-python/config.env +++ b/langgraph-store-python/config.env @@ -1,4 +1,3 @@ REPO_NAME=langchain-mongodb REPO_ORG=langchain-ai DATABASE=langgraph-store-test -REPO_BRANCH=INTPYTHON-661-Async-MongoDBStore From 93201bb789db4e3d70a496b7a986c1152f639378 Mon Sep 17 00:00:00 2001 From: Casey Clements Date: Tue, 12 Aug 2025 10:07:29 +0200 Subject: [PATCH 6/6] Add python ta new buildvariant --- .evergreen/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 438d50a..e2e2949 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -354,6 +354,7 @@ buildvariants: - name: test-langgraph-store-python-rhel display_name: Langgraph Store RHEL Python + tags: [python] expansions: DIR: langgraph-store-python run_on: