-
Notifications
You must be signed in to change notification settings - Fork 632
experiment: Deadlock logger #1198
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
Merged
Merged
Conversation
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
* fix: race issue with oauth refresh * fix: review comment * fix: remove print
sattvikc
approved these changes
Nov 13, 2025
sattvikc
added a commit
that referenced
this pull request
Nov 19, 2025
* fix: outline * fix: login redirect impl * fix: handle SAML callback * fix: saml cert management * fix: authn request signing * fix: working login for azure * fix: save idp entity id * fix: use client id from relay state info * fix: create or update saml client * fix: generate clientId * fix: list SAML Clients * fix: remove saml client * fix: saml callback and token * fix: idp flow * fix: remove unnecessary logging * fix: apis to work like boxy * fix: add support for legacy SAML ACS URL and enhance SAML client management * fix: enforce public tenant in legacy APIs * fix: client secret checking in legacy API * fix: cronjob to cleanup saml codes * fix: tests * fix: version update * test: create or update saml client * test: list and delete saml client * test: create saml login redirect * test: bad inputs for handle saml callback * fix: expiration handling * test: SAML audience check * fix: enable request signing * fix: remove metadata url and add enable request signing * fix: remaining tests * fix: idp flow tests * fix: tests * fix: remove sp entity id from client * fix: saml feature check * fix: unique idp entity id * fix: sp metadata and featureflag test * fix: tests * fix: global logging level * fix: changelog * fix: SAML client count * fix: saml stats * fix: SAML certificate refresh * fix: SAML metadata API * fix: tests * fix: not loading keys on tenant creation * fix: deadlock * fix: removing deadlock causing code * fix: removing locks * Revert "fix: deadlock" This reverts commit 2d5a07c. * fix: index for expires_at * fix: rename saml cleanup cron task * experiment: Deadlock logger (#1198) * experiment: Deadlock logger * fix: race issue with oauth refresh (#1199) * fix: race issue with oauth refresh * fix: review comment * fix: remove print * fix: deadlock in resource distributor (#1197) * adding dev-v11.2.1 tag to this commit to ensure building * fix: add deadlock logger * fix: changelog and build version * fix: only start deadlocklogger if it's enabled --------- Co-authored-by: Sattvik Chakravarthy <sattvik@supertokens.com> Co-authored-by: Supertokens Bot <> * fix: tests * fix: tests * fix: inmemory tests * fix: gradle * fix: deadlock in delete table * fix: in memory test for concurrency * fix: configurable claims and relay state validity and cleanup * fix: generating secure random for serial number * fix: bulk import chunking * fix: revert lock related changes * fix: auto commit * fix: revert bulk import * fix: auto commit --------- Co-authored-by: Tamas Soltesz <tamas@supertokens.com>
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.
Summary of change
(A few sentences about this PR)
Related issues
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your
changes work. Bonus points for screenshots and videos!)
Documentation changes
(If relevant, please create a PR in our docs repo, or create a checklist here
highlighting the necessary changes)
Checklist for important updates
coreDriverInterfaceSupported.jsonfile has been updated (if needed)pluginInterfaceSupported.jsonfile has been updated (if needed)build.gradlegetPaidFeatureStatsfunction in FeatureFlag.java filebuild.gradle, please make sure to add themin
implementationDependencies.json.getValidFieldsinio/supertokens/config/CoreConfig.javaif new aliases were added for any coreconfig (similar to the
access_token_signing_key_update_intervalconfig alias).git tag) in the formatvX.Y.Z, and then find thelatest branch (
git branch --all) whoseX.Yis greater than the latest released tag.app_id_to_user_idtable, make sure to delete from this table when deletingthe user as well if
deleteUserIdMappingToois false.Remaining TODOs for this PR