-
Notifications
You must be signed in to change notification settings - Fork 100
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
Debounce credential prompts and check profile locks in more places #3480
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3480 +/- ##
==========================================
- Coverage 93.55% 93.49% -0.06%
==========================================
Files 120 120
Lines 12714 12822 +108
Branches 2820 2909 +89
==========================================
+ Hits 11894 11988 +94
- Misses 819 833 +14
Partials 1 1 ☔ View full report in Codecov by Sentry. |
….waitForUnlock Signed-off-by: Trae Yelovich <[email protected]>
510342d
to
f693249
Compare
Signed-off-by: Trae Yelovich <[email protected]>
… bugfix Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
00bfe7d
to
9da0610
Compare
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
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.
Made a comment re: one of the changelogs
Signed-off-by: Trae Yelovich <[email protected]>
94fec29
to
81d2501
Compare
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.
Fantastic changelogs, thanks @traeok!
Should this be in the 3.1.2 milestone? |
Yes, thanks for the heads up - I've added it to the milestone |
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.
LGTM! 😋
Thanks for adding these safeguards for virtual workspace users. 🥳
I know we have a few things we can't work around (#3475) but preventing multiple prompts goes a long way! 🙏
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.
LGTM, thanks @traeok!
…3480) * refactor: check locks in dataset FS remote lookup; update AuthHandler.waitForUnlock Signed-off-by: Trae Yelovich <[email protected]> * refactor: handle auth prompts for more USS scenarios Signed-off-by: Trae Yelovich <[email protected]> * refactor: use latest profile in more places in FSPs; part 2 to recent bugfix Signed-off-by: Trae Yelovich <[email protected]> * fix: debounce auth prompts during parallel requests Signed-off-by: Trae Yelovich <[email protected]> * feat: useModal optional property for auth prompts Signed-off-by: Trae Yelovich <[email protected]> * fix(AuthHandler): use modal prompt for FSPs Signed-off-by: Trae Yelovich <[email protected]> * refactor: debounce prompts using separate prompt mutexes Signed-off-by: Trae Yelovich <[email protected]> * fix(tests): use fake timers in waitForUnlock test Signed-off-by: Trae Yelovich <[email protected]> * refactor: unlock all profiles after vault changed Signed-off-by: Trae Yelovich <[email protected]> * fix tests; update changelog Signed-off-by: Trae Yelovich <[email protected]> * fix: await AuthHandler.shouldHandleAuthError Signed-off-by: Trae Yelovich <[email protected]> * chore: update changelog Signed-off-by: Trae Yelovich <[email protected]> * wip: AuthHandler & AuthUtils patch coverage Signed-off-by: Trae Yelovich <[email protected]> * fix(AuthHandler): remove unnecessary branch Signed-off-by: Trae Yelovich <[email protected]> * tests: Data Set and USS profile lock tests Signed-off-by: Trae Yelovich <[email protected]> * refactor: use ZoweLogger.warn instead of debug Signed-off-by: Trae Yelovich <[email protected]> * refactor: remove unused useModal param Signed-off-by: Trae Yelovich <[email protected]> * chore: add ZE API changelog Signed-off-by: Trae Yelovich <[email protected]> * tests: fix logic & remove skip on listFiles cases Signed-off-by: Trae Yelovich <[email protected]> * more test cases for profile lock checks Signed-off-by: Trae Yelovich <[email protected]> * chore: fix changelog Signed-off-by: Trae Yelovich <[email protected]> --------- Signed-off-by: Trae Yelovich <[email protected]>
Proposed changes
waitForUnlock
to prevent deadlocks when using the function (safety mechanism)Release Notes
Milestone: 3.1.2
Changelog:
Types of changes
Checklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment