Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra: additional testing on core release #30180

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ccurme
Copy link
Collaborator

@ccurme ccurme commented Mar 8, 2025

Here we add a job to the release workflow that, when releasing langchain-core, tests prior published versions of select packages against the new version of core. We limit the testing to the most recent published versions of langchain-anthropic and langchain-openai.

This is designed to catch backward-incompatible updates to core. We sometimes update core and downstream packages simultaneously, so there may not be any commit in the history at which tests would fail. So although core and latest downstream packages could be consistent, we can benefit from testing prior versions of downstream packages against core.

I tested the workflow by simulating a breaking change in core and running it with publishing steps disabled: https://github.com/langchain-ai/langchain/actions/runs/13741876345. The workflow correctly caught the issue.

@ccurme ccurme requested a review from baskaryan as a code owner March 8, 2025 22:35
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Mar 8, 2025
Copy link

vercel bot commented Mar 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2025 10:35pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant