Skip to content

Fix: preserve new baggage values in context on key conflict #1061

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 1 commit into
base: main
Choose a base branch
from

Conversation

amitsinha11
Copy link

Fixes: #1060

@shakuzen
Copy link
Member

Thanks for the pull request. It'd help to add a test (or tests) to demonstrate the cases where this was failing and is now fixed.

@amitsinha11
Copy link
Author

@shakuzen UTs are added to demonstrate the fix.

@amitsinha11 amitsinha11 force-pushed the fix/context-baggage-overwrite branch from fd233a8 to 5f388a9 Compare May 30, 2025 10:28
@jonatan-ivanov
Copy link
Member

@amitsinha11 Thank for the PR, could you please also sign-off your commits so the DCO check can pass? You can read more about it by clicking on the failing check.

…er-metrics#1061)

Signed-off-by: Amit Sinha <amit.sinha2@soprabanking.com>
@amitsinha11 amitsinha11 force-pushed the fix/context-baggage-overwrite branch from 5f388a9 to 906f93d Compare May 31, 2025 05:40
@amitsinha11
Copy link
Author

@jonatan-ivanov done, DCO check is ok now.

@shakuzen shakuzen requested a review from chemicL June 2, 2025 02:33
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.

ReactorBaggage's append method overwrites new baggage with existing entries on key conflict
3 participants