-
Notifications
You must be signed in to change notification settings - Fork 99
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
Fix internal error when extenders register new profile types (#3412) #3416
Conversation
📅 Suggested merge-by date: 2/10/2025 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## release/3.1 #3416 +/- ##
===============================================
+ Coverage 93.18% 93.19% +0.01%
===============================================
Files 120 120
Lines 12490 12499 +9
Branches 2871 2763 -108
===============================================
+ Hits 11639 11649 +10
+ Misses 850 849 -1
Partials 1 1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.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.
thanks for porting the fix LGTM
* run l10n prepublish script Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: Avoid data-loss when creating new members (#3392) (#3397) * fix: Avoid data-loss when creating new members (#3392) * fix: Prompt users when creating members if the member exists Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * review: alternative way Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * test: add coverage for added memberFound logic Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: update changelog Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: cleanup commented code Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: simplify fix 😋 Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> --------- Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: move the changelog entry to the right location Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> --------- Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * Fix internal error when extenders register new profile types (#3412) (#3416) * Fix internal error when extenders register new profile types (#3412) Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: downgrade ubuntu runners to ubuntu-22.04 (#3406) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * Prepare 3.1.0 release (#3398) * update lerna and remove un-needed changelog headers Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add notes to readme's of VSC for older releases location with link Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * run package command Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * chore: downgrade ubuntu runners to ubuntu-22.04 Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: call Mutex.waitForUnlock instead of locking profile before request (#3409) * fix: call Mutex.waitForUnlock instead of locking profile before request Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: AuthHandler.waitForUnlock Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: AuthHandler.waitForUnlock Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: add true opt-in support for profile locks w/ extender types Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(ds): Pass correct DS name in `stat` when doing remote lookup (#3407) * fix: use path.basename and helper fn to extract DS name Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: add unit test to verify proper DS name Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: update release config to allow minor release (#3419) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Bump version to 3.1.0 [ci skip] Signed-off-by: zowe-robot <zowe.robot@gmail.com> * Bump version to 3.2.0-SNAPSHOT [ci skip] Signed-off-by: zowe-robot <zowe.robot@gmail.com> * update CHANGELOGS Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * chore: move recently merged PR into the tbd release section Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Third-Party DCO Remediation Commit for Billie Simmons <BillieJean.Simmons@ibm.com> On behalf of Billie Simmons <BillieJean.Simmons@ibm.com>, I, Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>, hereby add my Signed-off-by to this commit: 0efa5bb Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: correct expected value in createZoweSchema test Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Signed-off-by: zowe-robot <zowe.robot@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: zowe-robot <zowe.robot@gmail.com>
Copied from:
Proposed changes
Fixes this error which appears in ZE V3 when running the USS Profile Sample extension:
Release Notes
Milestone: 3.1.0
Changelog: Fixed an issue where registering new profile types from a Zowe Explorer extender could cause an internal API error on startup
Types of changes
Checklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment
Further comments