-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
chore: Refactor terminal handler to use auth-middleware #12052
Conversation
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12052 +/- ##
==========================================
+ Coverage 47.38% 47.44% +0.05%
==========================================
Files 245 245
Lines 41670 41690 +20
==========================================
+ Hits 19745 19778 +33
+ Misses 19937 19925 -12
+ Partials 1988 1987 -1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and local test checks out. Thanks!
As discussed in #argo-maintainers, we'll cherry-pick this back to help keep consistency in the auth code. This is a special case for a relatively small change. We won't be making a habit of it. :-) |
* chore: Refactor terminal handler to use auth-middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove context key for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * implement unit-tests Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove claim valid check for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove unnecessary test Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * don't too much details in http response Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix error Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * trigger build Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * builder pattern in terminal feature-flag middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
* chore: Refactor terminal handler to use auth-middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove context key for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * implement unit-tests Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove claim valid check for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove unnecessary test Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * don't too much details in http response Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix error Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * trigger build Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * builder pattern in terminal feature-flag middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
No cherry-pick to 2.3, because web terminal didn't exist in 2.3. :-) |
* chore: Refactor terminal handler to use auth-middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove context key for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * implement unit-tests Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove claim valid check for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove unnecessary test Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * don't too much details in http response Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix error Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * trigger build Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * builder pattern in terminal feature-flag middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
Cherry-picked onto release-2.6 for 2.6.0-rc6, release-2.5 for 2.5.9, and release-2.4 for 2.4.21. |
* chore: Refactor terminal handler to use auth-middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove context key for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * implement unit-tests Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove claim valid check for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove unnecessary test Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * don't too much details in http response Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix error Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * trigger build Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * builder pattern in terminal feature-flag middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: emirot <emirot.nolan@gmail.com>
* chore: Refactor terminal handler to use auth-middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove context key for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * implement unit-tests Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove claim valid check for now Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * remove unnecessary test Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * don't too much details in http response Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix error Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * Fix lint Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * trigger build Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> * builder pattern in terminal feature-flag middleware Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com> Signed-off-by: schakrad <chakradari.sindhu@gmail.com>
Signed-off-by: Leonardo Luz Almeida leonardo_almeida@intuit.com
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: