-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Run authentication request blocking tasks on Vert.x duplicated context #34963
Run authentication request blocking tasks on Vert.x duplicated context #34963
Conversation
Hey @sberyozkin , please let's see how CI is doing before you review this PR, thanks. IMHO it should be fine, but I only run test that I added, so let's safe your time. I meant to have this as a draft and run CI, but it looks like drafts don't run full CI anymore (I think workflows wrote |
Hello @cescoffier , could you kindly have a look whether this change is correct in regards of duplicated context and running blocking tasks, please? Here is short context on why I made this change #34912 (comment), though I didn't dig deeper on Vert.X / Netty that causes linked issue as this TODO Line 48 in e763315
|
This comment has been minimized.
This comment has been minimized.
58233e2
to
ef034bc
Compare
IMHO failures are unrelated, but I rebased on main to make sure it is just flaky tests. |
One of failures sounds suspicious by name |
@michalvavrik Thanks, looks nice. But I'd like to ask to wait for another day or so for @stuartwdouglas have a quick look as well, cheers |
And for Clement too :-) |
Quarkus CI / JVM Tests - JDK 17 (pull_request) failed over |
Quarkus CI / JVM Tests - JDK 11 (pull_request) and Quarkus CI / JVM Tests - JDK 17 Windows (pull_request) were canceled because there is 6 hours Github CI limit for runs, it is not consequence of this PR. |
Failing Jobs - Building ef034bc
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 17 #- Failing: integration-tests/grpc-hibernate
📦 integration-tests/grpc-hibernate✖
|
|
With Clement approving I think it is really ready to go Michal, but lets wait for another day in case Stuart will have something to comment about |
fixes: #34912
Newly introduced blocking executor is introduced as a bean because there are 2 other places in security code where I' like to use this new blocking executor (
io.quarkus.vertx.http.runtime.security.AbstractHttpAuthorizer#CONTEXT
andio.quarkus.oidc.runtime.OidcRecorder#setup
), but it is not necessary change to fix this very issue. I will propose it in a separate PR if this one will be accepted. This way, it will be clear what was necessary change in order to fix this issue.