Skip to content

test: Add failing test for BaseCallbackManager.merge bug #32040

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

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

Conversation

Shibayan003
Copy link

@Shibayan003 Shibayan003 commented Jul 15, 2025

This pull request introduces a failing unit test to reproduce the bug reported in issue #32028.
The test asserts the expected behavior: BaseCallbackManager.merge() should combine handlers and inheritable_handlers independently, without mixing them. This test will fail on the current codebase and is intended to guide the fix and prevent future regressions.

@Shibayan003 Shibayan003 requested a review from eyurtsev as a code owner July 15, 2025 12:08
Copy link

vercel bot commented Jul 15, 2025

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 5:47pm

Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed WallTime Performance Report

Merging #32040 will not alter performance

Comparing Shibayan003:test-repro-32028 (f0a74fb) with master (b1c7de9)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched benchmarks

Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed Instrumentation Performance Report

Merging #32040 will not alter performance

Comparing Shibayan003:test-repro-32028 (f0a74fb) with master (b1c7de9)

Summary

✅ 14 untouched benchmarks

@eyurtsev eyurtsev self-assigned this Jul 15, 2025
@eyurtsev
Copy link
Collaborator

Ran lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants