Agent skill · software engineering · jeremylongshore

langchain-ci-integration

Wire LangChain 1.0 / LangGraph 1.0 tests into a GitHub Actions pipeline\

Why this skill is useful

Adds a comprehensive GitHub Actions CI pipeline setup for LangChain testing, including specific configurations and scripts that enhance testing capabilities.

What it needs

Requires langchain-core, langgraph, pytest, python, vcrpy installed locally. Requires github account access. About 9k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

LangChain CI Integration (Python) Overview A PR passes every test on your laptop. You push. GHA runs pytest and aborts during collection — before a single test executes — with: The org runs pytest -W error and a provider SDK emitted a DeprecationWarning at import time, which the warning filter promoted to an exception while pytest was still walking the test tree. This is P45 and it blocks every PR for the team until someone pins a filterwarnings config. Meanwhile the integration suite has its own failure mode: a VCR cassette recorded three months ago at temperature=0 against Anthropic is now flaking against a snapshot. temperature=0 is not deterministic on Claude — it still nucleus-samples (P05) — so the cassette captured one valid completion, not the valid completion. And yesterday a reviewer caught Authorization: Bearer sk-ant-... in a cassette file that had been committed six weeks ago (P44) because vcrpy records all request headers by default. This skill covers the outer loop: the GitHub Actions workflow, the unit / integration / eval gate separation, VCR cassette hygiene, pytest warning policy, and a merge-blocking eval regression gate. The inner loop — fake model fixtures, VCR recording workflow, local determinism tricks — lives in langchain-local-dev-loop (F23); cross-reference it, do not duplicate it. Pin: langchain-core 1.0.x, langgraph 1.0.x, actions/checkout@v4, actions/setup-python@v5, vcrpy 6.x. Pain-catalog anchors: P05, P43, P44, P45. Prerequisites Python 3.10, 3.11, or 3.12 (matrix) langchain-core >= 1.0, < 2.0, langgraph >= 1.0, < 2.0 pytest >= 8, pytest-asyncio, vcrpy >= 6 (integration) langchain-local-dev-loop (F23) applied locally — fixtures and recording workflow GitHub repo with Actions enabled; secrets set for any live-API nightly job Instructions Step 1 — GHA workflow skeleton with four jobs Single workflow at .github/workflows/tests.yml. Matrix on unit only; keep integration and eval single-version to control cost. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/langchain-ci-integration--30a251

View the source on GitHub

Browse the @skills marketplace