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(v3): Misc. fixes for next branch #2968

Merged
merged 14 commits into from
Jul 2, 2024
Merged

fix(v3): Misc. fixes for next branch #2968

merged 14 commits into from
Jul 2, 2024

Conversation

traeok
Copy link
Member

@traeok traeok commented Jun 19, 2024

Proposed changes

  • Standardized CI workflows to use pnpm@8
  • Streamlined resource URI logic for spool nodes
  • Removed old JobSpoolProvider (again) and its refs
  • Fixed behavior for getProviderForNode function - resolves not being able to add favorites in DS or USS trees
  • Added type guards for USS and Data Set nodes
  • Marked IZoweTreeNode.getUSSDocumentFilePath as deprecated as Zowe Explorer no longer uses it

Release Notes

Milestone: vNext

Changelog:

  • Deprecated the getUSSDocumentFilePath function on the IZoweTreeNode interface as Zowe Explorer no longer uses the local file system for storing USS files. No replacement is planned; please access data from tree nodes using their resource URIs instead. #2968
  • Fixed regression where getProviderForNode returned the wrong tree provider after a user performed an action on a Zowe tree node. #2967

Types of changes

What types of changes does your code introduce to Zowe Explorer?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Updates to Documentation or Tests (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the reviewer

  • I have read the CONTRIBUTOR GUIDANCE wiki
  • PR title follows Conventional Commits Guidelines
  • PR Description is included
  • gif or screenshot is included if visual changes are made
  • yarn workspace vscode-extension-for-zowe vscode:prepublish has been executed
  • All checks have passed (DCO, Jenkins and Code Coverage)
  • I have added unit test and it is passing
  • I have added integration test and it is passing
  • There is coverage for the code that I have added
  • I have tested it manually and there are no regressions found

- Standardized CI workflows to use `pnpm@8`
- Streamlined resource URI logic for spool nodes
- Removed old JobSpoolProvider (again) and its refs
- Fixed behavior for `getProviderForNode` function
- Added type guards for USS and Data Set nodes

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

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (4bc14c1) to head (7112a78).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2968      +/-   ##
==========================================
+ Coverage   92.62%   92.70%   +0.07%     
==========================================
  Files         111      109       -2     
  Lines       11071    10999      -72     
  Branches     2394     2357      -37     
==========================================
- Hits        10255    10197      -58     
+ Misses        814      800      -14     
  Partials        2        2              

☔ 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 June 19, 2024 14:33
@traeok traeok linked an issue Jun 19, 2024 that may be closed by this pull request
anaxceron
anaxceron previously approved these changes Jun 19, 2024
Copy link
Contributor

@anaxceron anaxceron left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @traeok!

JillieBeanSim and others added 2 commits June 19, 2024 16:21
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
JillieBeanSim
JillieBeanSim previously approved these changes Jun 19, 2024
Copy link
Contributor

@JillieBeanSim JillieBeanSim 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

anaxceron
anaxceron previously approved these changes Jun 20, 2024
zFernand0
zFernand0 previously approved these changes Jun 20, 2024
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.

sorry for causing merge conflicts 😢
The changes do make sense to me though 😋
LGTM! 🥳

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>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
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.

Thanks @traeok for fixing the regression with SharedTreeProviders!

packages/zowe-explorer-api/CHANGELOG.md Show resolved Hide resolved
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
@traeok traeok dismissed t1m0thyj’s stale review June 24, 2024 14:03

Changes addressed in recent commits

@traeok traeok requested a review from t1m0thyj June 24, 2024 14:03
@zFernand0 zFernand0 removed the request for review from t1m0thyj June 25, 2024 15:08
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

sonarcloud bot commented Jul 1, 2024

@JTonda JTonda requested a review from t1m0thyj July 2, 2024 15:13
@t1m0thyj t1m0thyj merged commit 8e2cb23 into next Jul 2, 2024
19 of 20 checks passed
@t1m0thyj t1m0thyj deleted the fix/v3/misc-changes branch July 2, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

Can't add favorites to Data Sets and USS tree in vNext
5 participants