Skip to content
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(ds): Pass correct DS name in stat when doing remote lookup #3407

Merged
merged 4 commits into from
Jan 25, 2025

Conversation

traeok
Copy link
Member

@traeok traeok commented Jan 22, 2025

Proposed changes

Release Notes

Milestone:

Changelog:

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds or improves functionality)
  • Breaking change (a change that would cause existing functionality to not work as expected)
  • Documentation (Markdown, README updates)
  • Other (please specify above in "Proposed changes" section)

Checklist

General

  • I have read the CONTRIBUTOR GUIDANCE wiki
  • All PR dependencies have been merged and published (if applicable)
  • A GIF or screenshot is included in the PR for visual changes
  • The pre-publish command has been executed:
    • v2 and below: yarn workspace vscode-extension-for-zowe vscode:prepublish
    • v3: pnpm --filter vscode-extension-for-zowe vscode:prepublish

Code coverage

  • There is coverage for the code that I have added
  • I have added new test cases and they are passing
  • I have manually tested the changes

Deployment

  • I have added developer documentation (if applicable)
  • Documentation should be added to Zowe Docs
    • If you're an outside contributor, please post in the #zowe-doc Slack channel to coordinate documentation.
    • Otherwise, please check with the rest of the squad about any needed documentation before merging.
  • These changes may need ported to the appropriate branches (list here):

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.18%. Comparing base (4fefdf9) to head (e495aba).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3407    +/-   ##
========================================
  Coverage   93.18%   93.18%            
========================================
  Files         120      120            
  Lines       12502    12503     +1     
  Branches     2885     2761   -124     
========================================
+ Hits        11650    11651     +1     
  Misses        851      851            
  Partials        1        1            

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok marked this pull request as ready for review January 22, 2025 16:40
Copy link

📅 Suggested merge-by date: 2/5/2025

Copy link
Member

@t1m0thyj t1m0thyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @traeok!

Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the late review ❤️
LGTM! 😋

@t1m0thyj t1m0thyj merged commit 94ffb67 into main Jan 25, 2025
33 checks passed
@t1m0thyj t1m0thyj deleted the fix/ds/remove-ext-during-list branch January 25, 2025 11:41
t1m0thyj added a commit that referenced this pull request Jan 25, 2025
* 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>
traeok added a commit that referenced this pull request Jan 28, 2025
* 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>
zFernand0 added a commit that referenced this pull request Feb 3, 2025
* 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>
@JillieBeanSim JillieBeanSim modified the milestone: v3.1.1 Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

5 participants