Skip to content

Commit dd172e2

Browse files
t1m0thyjjellypunoJillieBeanSimJWaters02traeok
authored
Update staging/zowex branch with changes from main (#4358)
* Fix 4141: Updating credentials does not refresh profile in tree (#4170) * revised authutils error handling to call check current profile after updating the profile Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * add test initial Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * replace cached profile Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix audit issue Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * run prepublish and revert changes in DatasetFSProvider Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * remove .skills in .gitignore Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix aufit issues Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix basic-ftp version Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> --------- Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> Signed-off-by: Jessielaine Punongbayan <jessielaine.punongbayan@dynatrace.com> * Fixes profile caching issue experience in PR 4170 (#4173) * add profile caching fix Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix audit, codeql and changelog issue Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix failing test Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix codeql Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix audit issue Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * Add type in _updateProfileRecursive validation to prevent possible overlap Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix lint issues Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> * fix basic ftp version Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> --------- Signed-off-by: Jessielaine Punongbayan <jelly.puno@gmail.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * chore: bump zowe sdks to 8.32.0 (#4209) * chore: bump zowe sdks to 8.32.0 Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: changelog Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * tests: fix failing zeapi tests Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * run prepublish Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: Add `AGENTS.md` and a few agent skills (#4208) * chore: add review-prs skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip: AGENTS.md Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * more AGENTS.md content Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: additions to AGENTS.md Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: breaking-changes skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: regression-check skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: make AGENTS.md skill more robust Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore(skills): code-quality skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip(skill): zedc skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(skill): update phrasing of code-quality config Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: remove non-existent fn from skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add missing --- from frontmatter Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix build cmd in review-prs skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add skill index to AGENTS.md, fix backticks Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip(skills): add new testing skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: remove additional resources in review-prs Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(skill): reduce LOD for testing skill Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: extend glob to catch Zowe user configs Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(skill): public API signatures should not change Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add note on promises to review-prs Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: address stand-up feedback from Fernando Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Accessibility Fix (L1): Add tooltips to zowe resource table icons (#4201) * Add tooltips to zowe resource table icons Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Add changelog entry Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Clean up code in TableView.tsx Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Move inline css to style.css Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Refactor part of the code Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Adjust alignment for tooltip Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Row Selection Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Revert "Row Selection" This reverts commit 01da6ec3551c25cca51e482133f88db832263625. * Third-Party DCO Remediation Commit for likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> On behalf of likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com>, I, Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>, hereby add my Signed-off-by to this commit: 40472a2bd17702ec3c24257dbc474464a597988a Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> --------- Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Cancellable downloads (#4177) * feat: implement cancellable downloads for downloadAllMembers Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * feat: implement cancellable downloads for downloadUssDirectory Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * tests: codecov for executeDownloadWithProgress Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: prepublish Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * refactor: get was cancelled from progress bar token Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * fix: off by 1 on the progress bar count Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Enhancement - support for adding VSAM dataset to favorites (#4211) * Implement - support for adding VSAM dataset to favorites Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR comments Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> --------- Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * chore(deps): bump openssl in /zedc in the cargo group across 1 directory (#4233) Bumps the cargo group with 1 update in the /zedc directory: [openssl](https://github.com/rust-openssl/rust-openssl). Updates `openssl` from 0.10.78 to 0.10.79 - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.78...openssl-v0.10.79) --- updated-dependencies: - dependency-name: openssl dependency-version: 0.10.79 dependency-type: indirect dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: bump basic-ftp to resolve audit-all (#4240) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: unexpected VS Code conflicts from too new of `mtime` (#4234) * fix: unexpected VS Code conflicts from too new of mtime Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: cleanup code comments Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update multiple deps in overrides (#4241) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: do not set `mtime` on etag change (not in API response) (#4243) * fix: do not set mtime on etag change (not in resp) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(test/ds): provider should expect same mtime after e-tag update Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * VSC centric file move with shim in ZE API (#4194) * move vsc centric file from profiles dir, keep deprecated backwards compatibility Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add changelog entry Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add lazy-load of AuthHandler.ts in profile dir Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add codecov for latest changes Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * migration from jest to vitest (#4220) * start migration from jest to vitest Signed-off-by: jace-roell <jace.roell@hotmail.com> * ze-api vscode/ui/utils migration Signed-off-by: jace-roell <jace.roell@hotmail.com> * ze-api vscode/ui migration Signed-off-by: jace-roell <jace.roell@hotmail.com> * refactor: ZE API tests, vitest cfg (all tests passing) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * migrate ze-api vscode dir Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix(tests): fakeZoweDir in ProfilesCache test cases Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: ZE API vitest cfg now merges from root Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: use globals in vitest to remove imports Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: ZE API ref to test tsconfig Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: replace more import vi patterns Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: vitest configs, tsconfig Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: Fix several failing cases in ZE (477 remain) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ftp test fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * wip(tests): update snapshots, refactor mocks Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip(tests): resolve more tests, rm ts references for now Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ftp test fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * wip(tests): Resolve several test failures in ZE pkg Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(pkg): use esModuleInterop w/ dayjs for ZE Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(tests): mock ussApi.fileList and fix warnSpy.mockRestore in USSActions.unit.test.ts Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * vitest config coverage fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix lib import in DatasetActions tests, upd lockfile Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * launch config update Signed-off-by: jace-roell <jace.roell@hotmail.com> * pnpm lint Signed-off-by: jace-roell <jace.roell@hotmail.com> * test: Continue fixing failing ZE tests (10 left) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: resolve more failing ZE cases (5 left) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(test): ZoweDatasetNode profile update case Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * All tests pass w/ clean cov map; run linter Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(tsconfig): in-editor error checking now works for tests Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: missing await for ZoweUSSNode expect Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix failures after main alignment Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix root package.json Signed-off-by: jace-roell <jace.roell@hotmail.com> * pnpm lock update Signed-off-by: jace-roell <jace.roell@hotmail.com> * lint errors Signed-off-by: jace-roell <jace.roell@hotmail.com> * unused test vars Signed-off-by: jace-roell <jace.roell@hotmail.com> * test: cases now passing in CI Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * run linter, fix coverage maps Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * cleanup lint scripts & get lint passing Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: add type cast in FTP to help TS deduce type Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: pass --coverage in pkg.json test script Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: newly-merged tests should use vitest Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update agents & skills, add vitest/ui Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Fix AuthHandlerShim mock for vitest Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Fix ESLint errors in AuthHandlerShim and ProfilesCache tests Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * lint fixes Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * New setting introduced "zowe.featureEnablement" (#4199) * Zowe explorer va setting for feature enablement Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR reviews Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Implementing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * addressing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR comments Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR check failures Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR checks Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: anaxceron <ana.ceron@broadcom.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> * Addressing unit test case failure Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR comments Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> --------- Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: anaxceron <ana.ceron@broadcom.com> * fix: Separate VSAM and PDS members in favorites storage (#4248) * fix: Separate VSAM in favorites storage Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: partial PDS favorites cause error in prev versions Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * update PersistentFilters test Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * update l10n files Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * tests: resolve sourcemap warnings in output (#4252) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add brace-expansion override to resolve audit (#4256) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore(deps): bump openssl in /zedc in the cargo group across 1 directory (#4280) Bumps the cargo group with 1 update in the /zedc directory: [openssl](https://github.com/rust-openssl/rust-openssl). Updates `openssl` from 0.10.79 to 0.10.80 - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.79...openssl-v0.10.80) --- updated-dependencies: - dependency-name: openssl dependency-version: 0.10.80 dependency-type: indirect dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix regression when submitting jobs from a favorited PDS member (#4286) * Fix regression when submitting jobs from a favorited PDS member Signed-off-by: jace-roell <jace.roell@hotmail.com> * changelog Signed-off-by: jace-roell <jace.roell@hotmail.com> * clean up comments Signed-off-by: jace-roell <jace.roell@hotmail.com> * refreshPS test case Signed-off-by: jace-roell <jace.roell@hotmail.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: ZE should activate with an invalid, local workspace folder (#4276) * fix: ZE should activate w/ invalid workspace folder Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update tmp override to resolve dev dep audit Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: ZE API changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: remove unused variable Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Use PDS name for downloaded member file extensions (#4255) * fix: update extension inference logic Signed-off-by: Vinayak Mohanty <vinayak97696@gmail.com> * updated chanelog.md Signed-off-by: Vinayak Mohanty <vinayak97696@gmail.com> * Undo changelog.md change Signed-off-by: Vinayak Mohanty <vinayak97696@gmail.com> --------- Signed-off-by: Vinayak Mohanty <vinayak97696@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * Pass encoding in uss copy function (#4262) * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * pass encoding when copy Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * Update packages/zowe-explorer/src/trees/uss/UssFSProvider.ts Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Pujal Gandhi <71276682+pujal0909@users.noreply.github.com> * unit tests fixed Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * lint Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * lint Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> --------- Signed-off-by: Pujal <pujal.gandhi@broadcom.com> Signed-off-by: Pujal Gandhi <71276682+pujal0909@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> * Uss permission listing (#4301) * fix expanding directories that contain a sub-dir with insufficient permissions Signed-off-by: jace-roell <jace.roell@hotmail.com> * misc linting Signed-off-by: jace-roell <jace.roell@hotmail.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> * Port 3.5 release back into main (#4283) * Prepare v3.5.0 Release (#4222) * Prepare v3.5.0 Release Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Enhancement - support for adding VSAM dataset to favorites (#4211) * Implement - support for adding VSAM dataset to favorites Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR comments Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> --------- Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: prepublish script + prettier Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * 3.5.0 release notes (#4227) * chore: release notes for 3.5.0 Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: tweaks Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: add vsam favorites bit Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * DCO remediation commit DCO Remediation Commit for JWaters02 <watersjoshua2002@gmail.com> I, JWaters02 <watersjoshua2002@gmail.com>, hereby add my Signed-off-by to this commit: 151a54a9eeffd1479c41ae616c63a77072186836 Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * fix: address reviews Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * docs: warning in VSAM favorites release notes about downgrade issue Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * fix: unexpected VS Code conflicts from too new of `mtime` (#4234) * fix: unexpected VS Code conflicts from too new of mtime Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: cleanup code comments Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog 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> * chore(deps): bump openssl in /zedc in the cargo group across 1 directory (#4233) Bumps the cargo group with 1 update in the /zedc directory: [openssl](https://github.com/rust-openssl/rust-openssl). Updates `openssl` from 0.10.78 to 0.10.79 - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.78...openssl-v0.10.79) --- updated-dependencies: - dependency-name: openssl dependency-version: 0.10.79 dependency-type: indirect dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: bump basic-ftp to resolve audit-all (#4240) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: prettier Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: update multiple deps in overrides (#4241) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: do not set `mtime` on etag change (not in API response) (#4243) * fix: do not set mtime on etag change (not in resp) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(test/ds): provider should expect same mtime after e-tag update 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> * VSC centric file move with shim in ZE API (#4194) * move vsc centric file from profiles dir, keep deprecated backwards compatibility Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add changelog entry Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add lazy-load of AuthHandler.ts in profile dir Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add codecov for latest changes Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: Separate VSAM and PDS members in favorites storage (#4248) * fix: Separate VSAM in favorites storage Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: partial PDS favorites cause error in prev versions Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * update PersistentFilters test Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * update l10n files Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * doc: remove warning from release notes after fix Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: brace-expansion override to resolve audit Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: remove entry for table view setting Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: show hidden files setting entry Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * copy edits on changelogs Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Joshua Waters <watersjoshua2002@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * Update octorelease action version in deployment.yml Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * temporary make this branch a release branch Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Bump version to 3.5.0 [ci skip] Signed-off-by: zowe-robot <zowe.robot@gmail.com> * Update versions Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: prepublish Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: amend those release configs Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: fix missing changelog header entries Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Signed-off-by: zowe-robot <zowe.robot@gmail.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: zowe-robot <zowe.robot@gmail.com> * chore(deps): bump tar in /zedc in the cargo group across 1 directory (#4290) Bumps the cargo group with 1 update in the /zedc directory: [tar](https://github.com/composefs/tar-rs). Updates `tar` from 0.4.45 to 0.4.46 - [Release notes](https://github.com/composefs/tar-rs/releases) - [Commits](https://github.com/composefs/tar-rs/compare/0.4.45...0.4.46) --- updated-dependencies: - dependency-name: tar dependency-version: 0.4.46 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump tmp to 0.2.7 (#4296) Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> * fix: renaming a data set to itself minus its rightmost qualifier causes rename to fail (#4295) * fix: renaming a data set to itself minus its rightmost qualifier caused the rename to fail Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * refactor: review comment Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> * fix: List single USS file in tree, USS file ID should consider full path (#4302) * fix expanding directories that contain a sub-dir with insufficient permissions Signed-off-by: jace-roell <jace.roell@hotmail.com> * misc linting Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix: correctly identify USS files when profile returns full path Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: add unit test for USS file is dir false positive fix Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip(uss): fix errors when listing a single file in USS tree Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: dedup createParentDirs arrow function Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests(uss): filterHiddenFiles coverage, handle absolute paths Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * run linter and formatter Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(uss): node description updates correctly on path change Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(uss): restore node desc. to last valid path if new search fails Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog entries and l10n Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: wording in changelog entry Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: run l10n and prettier Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: jace-roell <jace.roell@hotmail.com> Co-authored-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> * rename references to "MVS Command" to "Console Command" for clarity (#4310) * rename references to "MVS Command" to "Console Command" instead for clarity Signed-off-by: CBforZ <chris.boehm@broadcom.com> * revert package.json auto format Signed-off-by: CBforZ <chris.boehm@broadcom.com> * update changelog for zowe-explorer-api Signed-off-by: CBforZ <chris.boehm@broadcom.com> * make Ana code owner for docs Signed-off-by: CBforZ <chris.boehm@broadcom.com> * re-run prepublish Signed-off-by: CBforZ <chris.boehm@broadcom.com> * add issue link for renaming MVS -> console in changelog Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Chris B <chris.boehm@broadcom.com> * revert rename of issueMvsCommand Signed-off-by: CBforZ <chris.boehm@broadcom.com> * Update wording in packages/zowe-explorer-api/CHANGELOG.md Co-authored-by: anaxceron <ana.ceron@broadcom.com> Signed-off-by: Chris B <chris.boehm@broadcom.com> * update CHANGELOG wording Signed-off-by: CBforZ <chris.boehm@broadcom.com> * fix missing rename in docs/ARCHITECTURE.md Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Chris B <chris.boehm@broadcom.com> * remove changelog entry for non exposed class Signed-off-by: CBforZ <chris.boehm@broadcom.com> * re-run prepublish Signed-off-by: CBforZ <chris.boehm@broadcom.com> --------- Signed-off-by: CBforZ <chris.boehm@broadcom.com> Signed-off-by: Chris B <chris.boehm@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: anaxceron <ana.ceron@broadcom.com> * ci: Fix typo in event name check in Deployment workflow (#4316) Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * chore(deps-dev): bump vitest (#4317) Bumps the npm_and_yarn group with 1 update in the / directory: [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `vitest` from 3.2.4 to 3.2.6 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.6/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 3.2.6 dependency-type: direct:development dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Resolve profiles from URI in Jobs FileSystemProvider (#4285) * resolve profiles from URI in Jobs FileSystemProvider Signed-off-by: Andrew Twydell <andrew.twydell@ibm.com> * chore: prettier + prepublish Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> --------- Signed-off-by: Andrew Twydell <andrew.twydell@ibm.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: zowe logger localization issue (#4297) * fix: zowe logger localization issue Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: update zowe logger english enum labels to have standard case Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: add uuid to deps, update vitest pkg versions (#4320) * chore: add uuid to deps, update vitest pkgs Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update vitest version in pkg jsons Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(profiles): Bypass cert file validation when account used (#4309) * Bypass cert file validation when account used Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add test and update changelog Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update l10n files Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * pnpm 11 update, updated deps and removed overrides, add WDIO v9 support (#4312) * chore: update deps and remove overrides Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update to pnpm 11 Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: fixes TD identified in #4257 Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update workflows and vsc ver for node 22 Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: remove comments from audit workflow Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore(pnpm): fetchTimeout instead of network-timeout Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(pkg): Update/relocate options for pnpm 11 Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(pkg): add missing uuid dep, upd lockfile Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore(workflow): zowe-explorer-ci integration tests should use 1.101.0 VSC ver Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: Use WDIO v9 w/ new wdio-vscode-service PR Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(test/e2e): Use sync-safe loop to assert for WDIO v9 Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(tests/e2e): use WDIO v9 syntax for isDisplayed, switchFrame Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(workflow): Run integration tests against Node22 until WDIO issue fixed Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: remove overrides Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: fix lockfile Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add back 2 required overrides Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update types/node specifier, remove fastify patch Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * lint: resolve fixable warnings w/ eslint Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * restore changes to lint script (fixed in separate branch) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Migrated favorites (#4308) * implement favoriting migrated data sets Signed-off-by: jace-roell <jace.roell@hotmail.com> * use helper for migrated nodes Signed-off-by: jace-roell <jace.roell@hotmail.com> * revert seperate buckets Signed-off-by: jace-roell <jace.roell@hotmail.com> * test fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix for existing migrated favorites Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix favorite migration state propegation Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix out of sync issues Signed-off-by: jace-roell <jace.roell@hotmail.com> * code cleanup Signed-off-by: jace-roell <jace.roell@hotmail.com> * unit test Signed-off-by: jace-roell <jace.roell@hotmail.com> * tests Signed-off-by: jace-roell <jace.roell@hotmail.com> * test updates and changelog Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix weird icon stuttering when recalling favorited data set Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix weird stat behavior when refreshing a data set node Signed-off-by: jace-roell <jace.roell@hotmail.com> * remove empty else block Signed-off-by: jace-roell <jace.roell@hotmail.com> * address feedback Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix Signed-off-by: jace-roell <jace.roell@hotmail.com> * fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * test fixtures Signed-off-by: jace-roell <jace.roell@hotmail.com> * use constant on migr Signed-off-by: jace-roell <jace.roell@hotmail.com> * remove redundant migration tracking Signed-off-by: jace-roell <jace.roell@hotmail.com> * break migrated favorites into seperate bucket for backwards compatibility Signed-off-by: jace-roell <jace.roell@hotmail.com> * clean up disposal and favorites assignment Signed-off-by: jace-roell <jace.roell@hotmail.com> * Fix extension handling when fetching and renaming ds (#4326) * Fix extension handling when fetching and renaming ds Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update tests and add changelog Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add unit tests for ZE API Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.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> * fix: member filter on data set with less than 3 character qualifiers being ignored (#4294) * fix: member filter on data set with single character qualifiers being ignored Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * test: missing codecov Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: corrected changelog Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: anaxceron <ana.ceron@broadcom.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * chore: prepublish Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: anaxceron <ana.ceron@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Check localization unzip (#4332) * check before extracting artifacts Signed-off-by: jace-roell <jace.roell@hotmail.com> * update logging, add basename check Signed-off-by: jace-roell <jace.roell@hotmail.com> * check host instead of hostname to include port Signed-off-by: jace-roell <jace.roell@hotmail.com> * change error code, log type, hostname -> host in log Signed-off-by: jace-roell <jace.roell@hotmail.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix: use POSIX escaping for `cwd` as `executeSshCwd` parameter (#4330) * fix: single-quote cwd before calling executeSshCwd Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: missing escaping for single-quote Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: add unit test for escaping Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: remove trailing space from changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: move changelog entry to relevant pkg Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: additional cmd cases and regression test Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * feat: add handleError/errorMessage helpers to eliminate instanceof Er… (#4293) * feat: add handleError/errorMessage helpers to eliminate instanceof Error pattern Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> * fix: add missing handleError imports across files Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> * fix: remove duplicate handleError imports Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> * fix: address maintainer feedback for PR #4293 Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> * fix: remove duplicate changelog entries in zowe-explorer CHANGELOG Signed-off-by: Maanvi212006 <maanvichetwani21@gmail.com> * remove duplicate entries Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> * update CHANGELOG.md Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> --------- Signed-off-by: Maanvi Chetwani <maanvichetwani21@gmail.com> Signed-off-by: Maanvi212006 <maanvichetwani21@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: pass cwd as-is to SDK (already escaped) (#4338) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore(deps): bump dompurify in the npm_and_yarn group across 1 directory (#4341) Bumps the npm_and_yarn group with 1 update in the / directory: [dompurify](https://github.com/cure53/DOMPurify). Updates `dompurify` from 3.4.0 to 3.4.9 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](https://github.com/cure53/DOMPurify/compare/3.4.0...3.4.9) --- updated-dependencies: - dependency-name: dompurify dependency-version: 3.4.9 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update PR template w/ e2e test item, dep compatibility note (#4340) * Update PR template to specify unit and end-to-end tests Clarified test case requirements in the PR template. Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: possible -> applicable, add dep update entry Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Add note about closing LQ PRs Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Update PR template note for clarity Thanks @anaxceron! Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore(deps): override js-yaml and markdown-it versions, update dev deps (#4342) * chore(deps): override js-yaml and markdown-it versions Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: dev dep overrides to resolve audit-all Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * deps: fix override range to avoid vite clobber bug Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Update main branch with changelogs from 3.5.1 (#4357) * Prepare v3.5.0 Release (#4222) * Prepare v3.5.0 Release Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Enhancement - support for adding VSAM dataset to favorites (#4211) * Implement - support for adding VSAM dataset to favorites Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> * Addressing PR comments Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> --------- Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: prepublish script + prettier Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * 3.5.0 release notes (#4227) * chore: release notes for 3.5.0 Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: tweaks Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * chore: add vsam favorites bit Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * DCO remediation commit DCO Remediation Commit for JWaters02 <watersjoshua2002@gmail.com> I, JWaters02 <watersjoshua2002@gmail.com>, hereby add my Signed-off-by to this commit: 151a54a9eeffd1479c41ae616c63a77072186836 Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * fix: address reviews Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * docs: warning in VSAM favorites release notes about downgrade issue Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * fix: unexpected VS Code conflicts from too new of `mtime` (#4234) * fix: unexpected VS Code conflicts from too new of mtime Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: cleanup code comments Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog 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> * chore(deps): bump openssl in /zedc in the cargo group across 1 directory (#4233) Bumps the cargo group with 1 update in the /zedc directory: [openssl](https://github.com/rust-openssl/rust-openssl). Updates `openssl` from 0.10.78 to 0.10.79 - [Release notes](https://github.com/rust-openssl/rust-openssl/releases) - [Commits](https://github.com/rust-openssl/rust-openssl/compare/openssl-v0.10.78...openssl-v0.10.79) --- updated-dependencies: - dependency-name: openssl dependency-version: 0.10.79 dependency-type: indirect dependency-group: cargo ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: bump basic-ftp to resolve audit-all (#4240) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: prettier Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: update multiple deps in overrides (#4241) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: do not set `mtime` on etag change (not in API response) (#4243) * fix: do not set mtime on etag change (not in resp) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor(test/ds): provider should expect same mtime after e-tag update 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> * VSC centric file move with shim in ZE API (#4194) * move vsc centric file from profiles dir, keep deprecated backwards compatibility Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add changelog entry Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add lazy-load of AuthHandler.ts in profile dir Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add codecov for latest changes Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: Separate VSAM and PDS members in favorites storage (#4248) * fix: Separate VSAM in favorites storage Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: partial PDS favorites cause error in prev versions Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * update PersistentFilters test Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * update l10n files Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * doc: remove warning from release notes after fix Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: brace-expansion override to resolve audit Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: remove entry for table view setting Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: show hidden files setting entry Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * copy edits on changelogs Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: ArghadeepDas-ibm <222673940+ArghadeepDas-ibm@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Joshua Waters <watersjoshua2002@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * Port all fixes and tech-debt for a `v3.5.1` release (#4319) * migration from jest to vitest (#4220) * start migration from jest to vitest Signed-off-by: jace-roell <jace.roell@hotmail.com> * ze-api vscode/ui/utils migration Signed-off-by: jace-roell <jace.roell@hotmail.com> * ze-api vscode/ui migration Signed-off-by: jace-roell <jace.roell@hotmail.com> * refactor: ZE API tests, vitest cfg (all tests passing) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * migrate ze-api vscode dir Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix(tests): fakeZoweDir in ProfilesCache test cases Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: ZE API vitest cfg now merges from root Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: use globals in vitest to remove imports Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: ZE API ref to test tsconfig Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: replace more import vi patterns Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: vitest configs, tsconfig Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: Fix several failing cases in ZE (477 remain) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ftp test fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * wip(tests): update snapshots, refactor mocks Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip(tests): resolve more tests, rm ts references for now Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ftp test fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * wip(tests): Resolve several test failures in ZE pkg Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(pkg): use esModuleInterop w/ dayjs for ZE Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(tests): mock ussApi.fileList and fix warnSpy.mockRestore in USSActions.unit.test.ts Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * vitest config coverage fixes Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix lib import in DatasetActions tests, upd lockfile Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * launch config update Signed-off-by: jace-roell <jace.roell@hotmail.com> * pnpm lint Signed-off-by: jace-roell <jace.roell@hotmail.com> * test: Continue fixing failing ZE tests (10 left) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: resolve more failing ZE cases (5 left) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(test): ZoweDatasetNode profile update case Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * All tests pass w/ clean cov map; run linter Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(tsconfig): in-editor error checking now works for tests Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: missing await for ZoweUSSNode expect Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix failures after main alignment Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix root package.json Signed-off-by: jace-roell <jace.roell@hotmail.com> * pnpm lock update Signed-off-by: jace-roell <jace.roell@hotmail.com> * lint errors Signed-off-by: jace-roell <jace.roell@hotmail.com> * unused test vars Signed-off-by: jace-roell <jace.roell@hotmail.com> * test: cases now passing in CI Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * run linter, fix coverage maps Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * cleanup lint scripts & get lint passing Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: add type cast in FTP to help TS deduce type Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: pass --coverage in pkg.json test script Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: newly-merged tests should use vitest Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update agents & skills, add vitest/ui Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Fix AuthHandlerShim mock for vitest Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Fix ESLint errors in AuthHandlerShim and ProfilesCache tests Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * lint fixes Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: ZE should activate with an invalid, local workspace folder (#4276) * fix: ZE should activate w/ invalid workspace folder Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update tmp override to resolve dev dep audit Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: ZE API changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: remove unused variable 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> * Fix regression when submitting jobs from a favorited PDS member (#4286) * Fix regression when submitting jobs from a favorited PDS member Signed-off-by: jace-roell <jace.roell@hotmail.com> * changelog Signed-off-by: jace-roell <jace.roell@hotmail.com> * clean up comments Signed-off-by: jace-roell <jace.roell@hotmail.com> * refreshPS test case Signed-off-by: jace-roell <jace.roell@hotmail.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Pass encoding in uss copy function (#4262) * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * pass encoding when copy Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * Update packages/zowe-explorer/src/trees/uss/UssFSProvider.ts Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Pujal Gandhi <71276682+pujal0909@users.noreply.github.com> * unit tests fixed Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * lint Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * lint Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> * changelog Signed-off-by: Pujal <pujal.gandhi@broadcom.com> --------- Signed-off-by: Pujal <pujal.gandhi@broadcom.com> Signed-off-by: Pujal Gandhi <71276682+pujal0909@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore(deps): bump tar in /zedc in the cargo group across 1 directory (#4290) Bumps the cargo group with 1 update in the /zedc directory: [tar](https://github.com/composefs/tar-rs). Updates `tar` from 0.4.45 to 0.4.46 - [Release notes](https://github.com/composefs/tar-rs/releases) - [Commits](https://github.com/composefs/tar-rs/compare/0.4.45...0.4.46) --- updated-dependencies: - dependency-name: tar dependency-version: 0.4.46 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: renaming a data set to itself minus its rightmost qualifier causes rename to fail (#4295) * fix: renaming a data set to itself minus its rightmost qualifier caused the rename to fail Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> * Update packages/zowe-explorer/CHANGELOG.md Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> * refactor: review comment Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> --------- Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Joshua Waters <watersjoshua2002@gmail.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore(deps): bump tmp to 0.2.7 (#4296) Signed-off-by: JWaters02 <watersjoshua2002@gmail.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Uss permission listing (#4301) * fix expanding directories that contain a sub-dir with insufficient permissions Signed-off-by: jace-roell <jace.roell@hotmail.com> * misc linting Signed-off-by: jace-roell <jace.roell@hotmail.com> --------- Signed-off-by: jace-roell <jace.roell@hotmail.com> Signed-off-by: Jace Roell <111985297+jace-roell@users.noreply.github.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * fix: List single USS file in tree, USS file ID should consider full path (#4302) * fix expanding directories that contain a sub-dir with insufficient permissions Signed-off-by: jace-roell <jace.roell@hotmail.com> * misc linting Signed-off-by: jace-roell <jace.roell@hotmail.com> * fix: correctly identify USS files when profile returns full path Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * test: add unit test for USS file is dir false positive fix Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * wip(uss): fix errors when listing a si…
1 parent 97dc5d3 commit dd172e2

37 files changed

Lines changed: 677 additions & 244 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
**NOTE:** The team reserves the right to close pull requests that fail to meet quality standards or lack human contribution.
3+
-->
4+
15
## Proposed changes
26

37
<!-- Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue. -->
@@ -40,13 +44,15 @@ Changelog:
4044
**Code coverage**
4145

4246
- [ ] There is coverage for the code that I have added
43-
- [ ] I have added new test cases and they are passing
47+
- [ ] I have added new unit test cases and they are passing
48+
- [ ] I have added at least one end-to-end test for new features to validate behavior (if applicable)
4449
- [ ] I have manually tested the changes
4550

4651
**Deployment**
4752

4853
- [ ] I have tested new functionality with the FTP extension and profile verifying no extender profile type breakages introduced
4954
- [ ] I have added developer documentation (if applicable)
55+
- [ ] I have verified that all dependency updates (such as Zowe SDKs) in this pull request are compatible
5056
- [ ] Documentation should be added to Zowe Docs
5157
- If you're an outside contributor, please post in the [#zowe-doc Slack channel](https://openmainframeproject.slack.com/archives/CC961JYMQ) to coordinate documentation.
5258
- Otherwise, please check with the rest of the squad about any needed documentation before merging.

packages/zowe-explorer-api/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
# Change Log
1+
# Change Log
22

33
All notable changes to the "zowe-explorer-api" extension will be documented in this file.
44

55
## TBD Release
66

77
### New features and enhancements
88

9+
- Added `handleError` and `errorMessage` utility functions to eliminate repetitive `if (err instanceof Error)` patterns across the codebase. [#4207](https://github.com/zowe/zowe-explorer-vscode/issues/4207)
10+
- Added a function `isEnabledInSettings` to the `FeatureFlags` class, which checks VS Code settings to see if a given Zowe Explorer feature ID is enabled. [#4242](https://github.com/zowe/zowe-explorer-vscode/issues/4242)
911
- Added a function `trimExtension` in the `FsDatasetsUtils` class for stripping extension suffix off of a data set name. [#4326](https://github.com/zowe/zowe-explorer-vscode/pull/4326)
1012

1113
### Bug fixes
1214

1315
- Fixed an issue where the `ZoweVsCodeExtension.workspaceRoot` function getter could return a non-existent local directory. Now, invalid directory paths are ignored by Zowe Explorer and only valid paths are considered as the workspace root. [#4271](https://github.com/zowe/zowe-explorer-vscode/issues/4271)
16+
- Fixed an issue where executing Unix commands could fail if the current working directory path contained certain special characters. [#4330](https://github.com/zowe/zowe-explorer-vscode/pull/4330)
1417

1518
## `3.5.0`
1619

@@ -21,7 +24,6 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t
2124
- Enhanced `DataSetAttributesProvider` to pass raw API response attributes to extenders via the `DsInfo` context object. Extenders can now access the `attributes` field in the context to retrieve data set information without making additional API calls. [#3927](https://github.com/zowe/zowe-explorer-vscode/issues/3927)
2225
- Added `Name` and `DateCreated` to `Sorting.DatasetFilterOpts`. [#4075](https://github.com/zowe/zowe-explorer-vscode/pull/4075)
2326
- Moved the `AuthHandler` implementation from `profiles/AuthHandler` to `vscode/session/AuthHandler` and added a compatibility shim at the original path to preserve existing imports and API behavior for extenders. [4149](https://github.com/zowe/zowe-explorer-vscode/issues/4149)
24-
- Added a function `isEnabledInSettings` to the `FeatureFlags` class, which checks VS Code settings to see if a given Zowe Explorer feature ID is enabled. [#4242](https://github.com/zowe/zowe-explorer-vscode/issues/4242)
2527

2628
### Bug fixes
2729

packages/zowe-explorer-api/__mocks__/mockUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum MockedValueType {
2626
/**
2727
* _Please use this when possible instead of Object.defineProperty!_
2828
*
29-
* A safer approach to "mocking" the value for a property that cannot be easily mocked using Jest.\
29+
* A safer approach to "mocking" the value for a property that cannot be easily mocked using Vitest.\
3030
* Uses TypeScript 5.2's Explicit Resource Management to restore the original value for the given object and property key.
3131
*/
3232
export class MockedProperty {

packages/zowe-explorer-api/__tests__/__unit__/profiles/ZoweExplorerZosmfApi.unit.test.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,49 @@ describe("ZosmfCommandApi", () => {
919919
await expectUnixCommandApiWithSshSession(cmdApi, new ZoweExplorerZosmf.CommandApi(), SshSessionobj);
920920
});
921921
});
922+
923+
it("issueUnixCommand should pass cwd raw to executeSshCwd (as the SDK handles escaping)", async () => {
924+
const obj = new ZoweExplorerZosmf.CommandApi();
925+
const spy = sharedSpyOn(zosuss.Shell, "executeSshCwd");
926+
spy.mockClear().mockResolvedValue(undefined);
927+
await obj.issueUnixCommand("ls", "dir'with'quotes", SshSessionobj);
928+
expect(spy).toHaveBeenCalledWith(SshSessionobj, "ls", "dir'with'quotes", expect.any(Function), true);
929+
});
930+
931+
it("issueUnixCommand should pass cwd raw to executeSshCwd even with shell metacharacters", async () => {
932+
const obj = new ZoweExplorerZosmf.CommandApi();
933+
const spy = sharedSpyOn(zosuss.Shell, "executeSshCwd");
934+
spy.mockClear().mockResolvedValue(undefined);
935+
936+
await obj.issueUnixCommand("pwd", "test'dir$(sleep 5)`whoami`", SshSessionobj);
937+
938+
expect(spy).toHaveBeenCalledWith(SshSessionobj, "pwd", "test'dir$(sleep 5)`whoami`", expect.any(Function), true);
939+
});
940+
941+
it("issueUnixCommand should pass cwd raw to executeSshCwd even with consecutive/edge single quotes", async () => {
942+
const obj = new ZoweExplorerZosmf.CommandApi();
943+
const spy = sharedSpyOn(zosuss.Shell, "executeSshCwd");
944+
spy.mockClear().mockResolvedValue(undefined);
945+
946+
await obj.issueUnixCommand("ls", "''weird''dir'", SshSessionobj);
947+
948+
expect(spy).toHaveBeenCalledWith(SshSessionobj, "ls", "''weird''dir'", expect.any(Function), true);
949+
});
950+
951+
it("issueUnixCommand should call executeSsh directly if cwd is empty", async () => {
952+
const obj = new ZoweExplorerZosmf.CommandApi();
953+
const spySsh = sharedSpyOn(zosuss.Shell, "executeSsh");
954+
const spySshCwd = sharedSpyOn(zosuss.Shell, "executeSshCwd");
955+
956+
spySsh.mockClear().mockResolvedValue(undefined);
957+
spySshCwd.mockClear().mockResolvedValue(undefined);
958+
959+
await obj.issueUnixCommand("ls", "", SshSessionobj);
960+
961+
expect(spySshCwd).not.toHaveBeenCalled();
962+
expect(spySsh).toHaveBeenCalledWith(SshSessionobj, "ls", expect.any(Function), true);
963+
});
964+
922965
it("check whether sshProfileNeeded", () => {
923966
const obj = new ZoweExplorerZosmf.CommandApi();
924967
expect(obj.sshProfileRequired?.()).toBe(true);
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/**
2+
* This program and the accompanying materials are made available under the terms of the
3+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
4+
* https://www.eclipse.org/legal/epl-v20.html
5+
*
6+
* SPDX-License-Identifier: EPL-2.0
7+
*
8+
* Copyright Contributors to the Zowe Project.
9+
*
10+
*/
11+
12+
import { errorMessage, handleError } from "../../../src/utils/ErrorUtils";
13+
import { vi } from "vitest";
14+
15+
describe("errorMessage", () => {
16+
it("returns the message property when passed an Error instance", () => {
17+
const err = new Error("something went wrong");
18+
expect(errorMessage(err)).toBe("something went wrong");
19+
});
20+
21+
it("returns String(err) when passed a plain string", () => {
22+
expect(errorMessage("raw string error")).toBe("raw string error");
23+
});
24+
25+
it("returns String(err) when passed a number", () => {
26+
expect(errorMessage(42)).toBe("42");
27+
});
28+
29+
it("returns String(err) when passed null", () => {
30+
expect(errorMessage(null)).toBe("null");
31+
});
32+
33+
it("returns String(err) when passed undefined", () => {
34+
expect(errorMessage(undefined)).toBe("undefined");
35+
});
36+
37+
it("returns String(err) when passed a plain object", () => {
38+
const obj = { code: 404 };
39+
expect(errorMessage(obj)).toBe(String(obj));
40+
});
41+
42+
it("returns the message of an Error subclass", () => {
43+
class CustomError extends Error {}
44+
const err = new CustomError("custom failure");
45+
expect(errorMessage(err)).toBe("custom failure");
46+
});
47+
48+
it("returns an empty string when passed an Error with an empty message", () => {
49+
const err = new Error("");
50+
expect(errorMessage(err)).toBe("");
51+
});
52+
});
53+
54+
describe("handleError", () => {
55+
it("invokes the callback when err is an Error instance", () => {
56+
const callback = vi.fn();
57+
const err = new Error("boom");
58+
handleError(err, callback);
59+
expect(callback).toHaveBeenCalledTimes(1);
60+
expect(callback).toHaveBeenCalledWith(err);
61+
});
62+
63+
it("does not invoke the callback when err is a string", () => {
64+
const callback = vi.fn();
65+
handleError("not an Error", callback);
66+
expect(callback).not.toHaveBeenCalled();
67+
});
68+
69+
it("does not invoke the callback when err is null", () => {
70+
const callback = vi.fn();
71+
handleError(null, callback);
72+
expect(callback).not.toHaveBeenCalled();
73+
});
74+
75+
it("does not invoke the callback when err is undefined", () => {
76+
const callback = vi.fn();
77+
handleError(undefined, callback);
78+
expect(callback).not.toHaveBeenCalled();
79+
});
80+
81+
it("does not invoke the callback when err is a plain object", () => {
82+
const callback = vi.fn();
83+
handleError({ message: "fake" }, callback);
84+
expect(callback).not.toHaveBeenCalled();
85+
});
86+
87+
it("does not invoke the callback when err is a number", () => {
88+
const callback = vi.fn();
89+
handleError(0, callback);
90+
expect(callback).not.toHaveBeenCalled();
91+
});
92+
93+
it("invokes the callback for an Error subclass instance", () => {
94+
class CustomError extends Error {}
95+
const callback = vi.fn();
96+
const err = new CustomError("subclass error");
97+
handleError(err, callback);
98+
expect(callback).toHaveBeenCalledTimes(1);
99+
expect(callback).toHaveBeenCalledWith(err);
100+
});
101+
102+
it("passes the exact Error reference to the callback", () => {
103+
const callback = vi.fn();
104+
const err = new Error("reference check");
105+
handleError(err, callback);
106+
expect(callback.mock.calls[0][0]).toBe(err);
107+
});
108+
});

packages/zowe-explorer-api/src/profiles/ProfilesCache.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import * as imperative from "@zowe/imperative";
1313
import type { IRegisterClient } from "../extend/IRegisterClient";
1414
import { FileManagement } from "../utils/FileManagement";
15+
import { errorMessage } from "../utils/ErrorUtils";
1516
import { Validation } from "./Validation";
1617
import { ZosmfProfile } from "@zowe/zosmf-for-zowe-sdk";
1718
import { ZosTsoProfile } from "@zowe/zos-tso-for-zowe-sdk";
@@ -113,9 +114,7 @@ export class ProfilesCache {
113114
return undefined;
114115
} catch (err) {
115116
// Log the error but don't throw - credential manager options are optional
116-
imperative.Logger.getAppLogger().warn(
117-
`Failed to read credential manager options from imperative.json: ${err instanceof Error ? err.message : String(err)}`
118-
);
117+
imperative.Logger.getAppLogger().warn(`Failed to read credential manager options from imperative.json: ${errorMessage(err)}`);
119118
return undefined;
120119
}
121120
}

packages/zowe-explorer-api/src/profiles/ZoweExplorerZosmfApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ import { IDataSetCount } from "../dataset/IDataSetCount";
540540
await zosuss.Shell.executeSshCwd(
541541
sshSession,
542542
command,
543-
'"' + cwd + '"',
543+
cwd,
544544
(data: string) => {
545545
stdout += data;
546546
},
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/**
2+
* This program and the accompanying materials are made available under the terms of the
3+
* Eclipse Public License v2.0 which accompanies this distribution, and is available at
4+
* https://www.eclipse.org/legal/epl-v20.html
5+
*
6+
* SPDX-License-Identifier: EPL-2.0
7+
*
8+
* Copyright Contributors to the Zowe Project.
9+
*
10+
*/
11+
12+
/**
13+
* Returns the error message if `err` is an Error, otherwise converts it to a string.
14+
* Replaces inline `err instanceof Error ? err.message : String(err)` ternaries.
15+
*/
16+
export function errorMessage(err: unknown): string {
17+
return err instanceof Error ? err.message : String(err);
18+
}
19+
20+
/**
21+
* Calls the provided callback only if `err` is an instance of Error.
22+
* Replaces repetitive `if (err instanceof Error) { ... }` patterns.
23+
*/
24+
export function handleError(err: unknown, callback: (error: Error) => void | Promise<void>): void | Promise<void> {
25+
if (err instanceof Error) {
26+
return callback(err);
27+
}
28+
}

packages/zowe-explorer-api/src/utils/FileManagement.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*/
1111

1212
import { realpathSync } from "fs";
13+
import { handleError } from "./ErrorUtils";
1314
import { platform } from "os";
1415
import { Constants } from "../globals";
1516
import { ImperativeConfig, ConfigUtils } from "@zowe/imperative";
@@ -76,12 +77,12 @@ export class FileManagement {
7677
// TODO: FEATURE-FLAG(fetchByDefault): remove fetch=true
7778
await workspace.fs.stat(folder.uri.with({ query: "fetch=true" }));
7879
} catch (err) {
79-
if (err instanceof Error) {
80+
void handleError(err, (error) => {
8081
// TODO: Remove console.error in favor of logger
8182
// (need to move logger to ZE API)
8283
// eslint-disable-next-line no-console
83-
console.error("reloadWorkspacesForProfile:", err.message);
84-
}
84+
console.error("reloadWorkspacesForProfile:", error.message);
85+
});
8586
}
8687
}
8788
}

packages/zowe-explorer-api/src/utils/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export * from "./ErrorCorrelator";
1717
export * from "./Poller";
1818
export * from "./FileManagement";
1919
export * from "./FeatureFlags";
20+
export * from "./ErrorUtils";
2021

2122
/**
2223
* Getter to check dirty flag for nodes opened in the editor.

0 commit comments

Comments
 (0)