fix(langchain): add async support for middleware classes (#33474) #5627
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PR title linting. | |
# | |
# FORMAT (Conventional Commits 1.0.0): | |
# | |
# <type>[optional scope]: <description> | |
# [optional body] | |
# [optional footer(s)] | |
# | |
# Examples: | |
# feat(core): add multiβtenant support | |
# fix(cli): resolve flag parsing error | |
# docs: update API usage examples | |
# docs(openai): update API usage examples | |
# | |
# Allowed Types: | |
# * feat β a new feature (MINOR) | |
# * fix β a bug fix (PATCH) | |
# * docs β documentation only changes | |
# * style β formatting, linting, etc.; no code change or typing refactors | |
# * refactor β code change that neither fixes a bug nor adds a feature | |
# * perf β code change that improves performance | |
# * test β adding tests or correcting existing | |
# * build β changes that affect the build system/external dependencies | |
# * ci β continuous integration/configuration changes | |
# * chore β other changes that don't modify source or test files | |
# * revert β reverts a previous commit | |
# * release β prepare a new release | |
# | |
# Allowed Scopes (optional): | |
# core, cli, langchain, langchain_v1, langchain_legacy, standard-tests, | |
# text-splitters, docs, anthropic, chroma, deepseek, exa, fireworks, groq, | |
# huggingface, mistralai, nomic, ollama, openai, perplexity, prompty, qdrant, | |
# xai, infra | |
# | |
# Rules: | |
# 1. The 'Type' must start with a lowercase letter. | |
# 2. Breaking changes: append "!" after type/scope (e.g., feat!: drop x support) | |
# 3. When releasing (updating the pyproject.toml and uv.lock), the commit message | |
# should be: `release(scope): x.y.z` (e.g., `release(core): 1.2.0` with no | |
# body, footer, or preceeding/proceeding text). | |
# | |
# Enforces Conventional Commits format for pull request titles to maintain a clear and | |
# machine-readable change history. | |
name: "π·οΈ PR Title Lint" | |
permissions: | |
pull-requests: read | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
jobs: | |
# Validates that PR title follows Conventional Commits 1.0.0 specification | |
lint-pr-title: | |
name: "validate format" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "β Validate Conventional Commits Format" | |
uses: amannn/action-semantic-pull-request@v6 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
types: | | |
feat | |
fix | |
docs | |
style | |
refactor | |
perf | |
test | |
build | |
ci | |
chore | |
revert | |
release | |
scopes: | | |
core | |
cli | |
langchain | |
langchain_v1 | |
langchain_legacy | |
standard-tests | |
text-splitters | |
docs | |
anthropic | |
chroma | |
deepseek | |
exa | |
fireworks | |
groq | |
huggingface | |
mistralai | |
nomic | |
ollama | |
openai | |
perplexity | |
prompty | |
qdrant | |
xai | |
infra | |
requireScope: false | |
disallowScopes: | | |
release | |
[A-Z]+ | |
ignoreLabels: | | |
ignore-lint-pr-title |