-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix delete nonexist oauth application 500 and prevent deadlock #15384
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
Somehow this appears to be killing CI. |
I guess MakeRequest could not be invoke twice because req has been consumed. |
f063aa5
to
44b893f
Compare
Signed-off-by: Andrew Thornton <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #15384 +/- ##
==========================================
+ Coverage 42.21% 43.63% +1.41%
==========================================
Files 767 677 -90
Lines 81624 81338 -286
==========================================
+ Hits 34458 35488 +1030
+ Misses 41531 40058 -1473
- Partials 5635 5792 +157
Continue to review full report at Codecov.
|
@lunny please send backports :) |
…tea#15384) * Fix delete nonexist oauth application 500 * Fix test * Close the session Signed-off-by: Andrew Thornton <[email protected]> * Update integrations/api_oauth2_apps_test.go * Fix more missed sess.Close * Remove unnecessary blank line Co-authored-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
…tea#15384) * Fix delete nonexist oauth application 500 * Fix test * Close the session Signed-off-by: Andrew Thornton <[email protected]> * Update integrations/api_oauth2_apps_test.go * Fix more missed sess.Close * Remove unnecessary blank line Co-authored-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
… (#15397) * Fix delete nonexist oauth application 500 * Fix test * Close the session * Fix more missed sess.Close * Remove unnecessary blank line Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
… (#15396) * Fix delete nonexist oauth application 500 * Fix test * Close the session * Fix more missed sess.Close * Remove unnecessary blank line Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]> Co-authored-by: 6543 <[email protected]>
Return 404 when asked to delete OAuth2 Application and ensure that the session is closed too.
Fix #15356