Repository navigation
Rework the result for the session search to contain a single result per user sessions - #29204
Merged
ahus1 merged 1 commit intoMay 3, 2024
Merged
Conversation
This was referenced May 2, 2024
hmlnarik
reviewed
May 2, 2024
ahus1
force-pushed
the
is-29203-searching-sessions-optimization
branch
from
May 2, 2024 14:54
e9b911e to
63f6dcf
Compare
ahus1
force-pushed
the
is-29203-searching-sessions-optimization
branch
2 times, most recently
from
May 2, 2024 15:02
7c2d3a3 to
001dcd4
Compare
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.adapter.servlet.BrokerLinkAndTokenExchangeTest#testExternalExchangeCreateNewUserUsingMappersorg.keycloak.testsuite.adapter.servlet.BrokerLinkAndTokenExchangeTest#testExternalExchangeorg.keycloak.testsuite.adapter.servlet.BrokerLinkAndTokenExchangeTest#testAccountLinkNoTokenStoreorg.keycloak.testsuite.client.ClientTypesTest#testUpdateClientWithClientTypeorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testExchangeWithDynamicScopesEnabledorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testClientExchangeorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testIntrospectTokenAfterImpersonationorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testPublicClientNotAllowedorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testExchangeUsingServiceAccountorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testImpersonationorg.keycloak.testsuite.oauth.ClientTokenExchangeTest#testImpersonationUsingPublicClient |
Member
Author
|
@hmlnarik - this is now ready for review when you have the time. IMHO the unstable tests are unrelated to this change. Thanks! |
Contributor
|
@ahus1 The change did not start Javascript CI tests since those are skipped. Could you please add to |
…er user sessions Closes keycloak#29203 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
ahus1
force-pushed
the
is-29203-searching-sessions-optimization
branch
from
May 3, 2024 10:10
001dcd4 to
8049bd5
Compare
Member
Author
|
@hmlnarik - added the change, and now the JS tests ran and are all green. Other parts of the build are still running, still I assume they will be green as they have been green before. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #29203
This now returns only one entry per user session id and offline flag. A user session can then contain more than once client session, and both clients are presented in the UI. In the UI, the user can then log out the user session as before. As they are not logging out a single client session, this is IMHO how the UI should behave.