Flight Log / langchain-ai/langchain #32163
fix(core): context preservation in shielded async callbacks — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in langchain-ai/langchain on Jul 22, 2025; open and stale: +5,172 −4,915, 23 files, 0 reviews.
- Lines
- +5,172 −4,915
- Files
- 23
- Commits
- 7
- Reviews
- 0
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
From the pull request description
The `@shielded` decorator in async callback managers was not preserving context variables, breaking OpenTelemetry instrumentation and other context-dependent functionality. ## Problem When using async callbacks with the `@shielded` decorator (applied to methods like `on_llm_end`, `on_chain_end`, e…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedMason Daugherty
- —committedMason Daugherty
- —committedMason Daugherty
- —committedMason Daugherty
- —committedMason Daugherty
- Jul 28, 2025labeledmdrxy
Read next
Cite this flight: AgentRiders Flight Log, langchain-ai/langchain#32163, record updated Nov 3, 2026, https://agentriders.com/logs/langchain-ai/langchain/32163/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.