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

[v2] Fix for extension failure with refresh Zowe Explorer command #3107

Merged
merged 11 commits into from
Sep 17, 2024

Conversation

JillieBeanSim
Copy link
Contributor

@JillieBeanSim JillieBeanSim commented Sep 10, 2024

Proposed changes

Fixing command for v2 as to not break ZE when used.

Also ports #3102 to v2.18.1 release branch

Proposal for v3:

With the introduction of the Event management and removal of all instance of Zowe Explorer using the zowe.extRefresh command I propose possible removal of command from command palette and suggest users use the new command from VS Code Extensions: Refresh in v3.

Release Notes

Milestone: 2.18.1

Changelog: Fix issue where the Zowe Explorer VS Code command Refresh Zowe Explorer failed catastrophically. #3100

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

Further comments

awharn and others added 2 commits September 9, 2024 13:32
Signed-off-by: Andrew W. Harn <andrew.harn@broadcom.com>
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
@JillieBeanSim JillieBeanSim self-assigned this Sep 10, 2024
@JillieBeanSim JillieBeanSim linked an issue Sep 10, 2024 that may be closed by this pull request
@JillieBeanSim JillieBeanSim added this to the v2.18.1 milestone Sep 10, 2024
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (release/2.18.1@8eab1c9). Learn more about missing BASE report.

Additional details and impacted files
@@                Coverage Diff                @@
##             release/2.18.1    #3107   +/-   ##
=================================================
  Coverage                  ?   93.32%           
=================================================
  Files                     ?      105           
  Lines                     ?    11077           
  Branches                  ?     2421           
=================================================
  Hits                      ?    10338           
  Misses                    ?      738           
  Partials                  ?        1           

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

Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
@JillieBeanSim JillieBeanSim marked this pull request as ready for review September 10, 2024 21:01
Copy link

📅 Suggested merge-by date: 9/24/2024

t1m0thyj and others added 6 commits September 11, 2024 11:14
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Update function-bind dep for technical currency
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…gexp-1.9.0

chore(deps): Bump path-to-regexp from 1.8.0 to 1.9.0
Copy link

sonarcloud bot commented Sep 12, 2024

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

Copy link
Member

@traeok traeok 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 Billie for the fix!

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.

LGTM! 😋

Curious if we should add this to the list of items to port to next

@t1m0thyj t1m0thyj merged commit 2f14421 into release/2.18.1 Sep 17, 2024
11 checks passed
@t1m0thyj t1m0thyj deleted the fix/ze-refresh-cmd branch September 17, 2024 18:56
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.

Refresh Zowe Explorer command breaks extension
5 participants