Skip to content

ports: recent bug fixes for 3.1.2 release#3515

Merged
zFernand0 merged 7 commits into
release/3.1from
port/recent-fixes
Mar 18, 2025
Merged

ports: recent bug fixes for 3.1.2 release#3515
zFernand0 merged 7 commits into
release/3.1from
port/recent-fixes

Conversation

@traeok

@traeok traeok commented Mar 13, 2025

Copy link
Copy Markdown
Member

Proposed changes

Ports my recent bug fixes: #3456, #3473, #3479, #3480, #3503
Also ports #3457

Release Notes

Milestone: 3.1.2

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):

traeok added 5 commits March 13, 2025 09:17
…3456)

* refactor: make constructor & properties protected

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

* chore: add ZE API changelog

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

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
* refactor(node/ds): improve recall/migrate readability

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

* chore: update ZE changelog

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

* tests(node/ds): Verify migration & recall in getChildren

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

* refactor(tests): add case for recalled PDS

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

* refactor: use startsWith for dsorg checks

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

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
…3480)

* refactor: check locks in dataset FS remote lookup; update AuthHandler.waitForUnlock

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

* refactor: handle auth prompts for more USS scenarios

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

* refactor: use latest profile in more places in FSPs; part 2 to recent bugfix

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

* fix: debounce auth prompts during parallel requests

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

* feat: useModal optional property for auth prompts

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

* fix(AuthHandler): use modal prompt for FSPs

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

* refactor: debounce prompts using separate prompt mutexes

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

* fix(tests): use fake timers in waitForUnlock test

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

* refactor: unlock all profiles after vault changed

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

* fix tests; update changelog

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

* fix: await AuthHandler.shouldHandleAuthError

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

* chore: update changelog

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

* wip: AuthHandler & AuthUtils patch coverage

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

* fix(AuthHandler): remove unnecessary branch

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

* tests: Data Set and USS profile lock tests

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

* refactor: use ZoweLogger.warn instead of debug

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

* refactor: remove unused useModal param

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

* chore: add ZE API changelog

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

* tests: fix logic & remove skip on listFiles cases

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

* more test cases for profile lock checks

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

* chore: fix changelog

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

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
…3481)

* fix: preserve table sort order after row selection

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

* use initialSort for DS search table column

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

* fix(tests): update coldefs in test cases

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

* fix: restore onSortChanged event after manual testing

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

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
* fix(ftp): Only return 401 error if auth failed

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

* tests(ftp): Fix positive & negative test cases

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

* chore: update changelog

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

* refactor: enable zftp locks from FTP extension

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

---------

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

codecov Bot commented Mar 13, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 91.32948% with 15 lines in your changes missing coverage. Please review.

Project coverage is 93.24%. Comparing base (82f8269) to head (8ca4116).
Report is 1 commits behind head on release/3.1.

Files with missing lines Patch % Lines
...kages/zowe-explorer/src/trees/uss/UssFSProvider.ts 93.18% 6 Missing ⚠️
...we-explorer/src/trees/dataset/DatasetFSProvider.ts 86.84% 5 Missing ⚠️
...ages/zowe-explorer-api/src/profiles/AuthHandler.ts 88.46% 3 Missing ⚠️
packages/zowe-explorer/src/utils/AuthUtils.ts 75.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release/3.1    #3515      +/-   ##
===============================================
- Coverage        93.25%   93.24%   -0.01%     
===============================================
  Files              120      120              
  Lines            12561    12678     +117     
  Branches          2889     2803      -86     
===============================================
+ Hits             11714    11822     +108     
- Misses             846      855       +9     
  Partials             1        1              

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

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@traeok traeok marked this pull request as ready for review March 13, 2025 14:13
@zowe-robot zowe-robot moved this from In Progress to Review/QA in Zowe Explorer for VS Code Mar 13, 2025
@github-actions

Copy link
Copy Markdown

📅 Suggested merge-by date: 3/27/2025

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

@JillieBeanSim JillieBeanSim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! thanks @traeok for porting all of this over for patch release ❤️

@zFernand0 zFernand0 merged commit bffb17b into release/3.1 Mar 18, 2025
@zFernand0 zFernand0 deleted the port/recent-fixes branch March 18, 2025 14:14
@github-project-automation github-project-automation Bot moved this from Review/QA to Closed in Zowe Explorer for VS Code Mar 18, 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.

4 participants