-
Notifications
You must be signed in to change notification settings - Fork 3k
Correct duplicated context creation in SmallRye Health #48057
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
Conversation
This comment has been minimized.
This comment has been minimized.
Rebased to get CI fixes. |
Status for workflow
|
As I understand it, this commit might break the vertx context propagation for health checks. We have a Vert.x request filter that sets a local value (request header value) on the Vert.x context of the incoming request. Before this change, the duplicated context used to execute the health check was based on the same context that passed through the Vert.x request filter chain. With this change, a new duplicated context is created before the Vert.x request filter chain is executed. As a result, any modifications made to the context within a Vert.x request filter will not be visible in the health check, since the health check now runs in a context that was duplicated "too early." I am not able anymore to access the put local from the request filter. Does this sound alright? Before change
After change
|
@HerrDerb can you create an issue with the details and a link to this PR? It will be easier to track. Thanks! |
(cherry picked from commit 2d78bf0)
(cherry picked from commit 2d78bf0)
(cherry picked from commit 2d78bf0)
(cherry picked from commit 2d78bf0)
Fixes #47481