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): Fix sessions disappearing from trees caused by zowe.extRefresh #3009

Merged
merged 7 commits into from
Jul 26, 2024

Conversation

t1m0thyj
Copy link
Member

Proposed changes

Fixes #2906

Release Notes

Milestone: v3

Changelog: Fixed issue where creating new team configuration file could cause Zowe Explorer to crash, resulting in all sessions disappearing from trees

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

Further comments

t1m0thyj added 2 commits July 18, 2024 15:43
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@t1m0thyj t1m0thyj added the needs-ported Apply to issues or PRs that need ported label Jul 18, 2024
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.82%. Comparing base (3ba345a) to head (685aa30).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #3009      +/-   ##
==========================================
+ Coverage   92.74%   92.82%   +0.08%     
==========================================
  Files         107      107              
  Lines       10882    10887       +5     
  Branches     2360     2358       -2     
==========================================
+ Hits        10092    10106      +14     
+ Misses        788      779       -9     
  Partials        2        2              

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

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@t1m0thyj t1m0thyj force-pushed the fix/ext-refresh-errors branch from 185601e to b8c96d0 Compare July 18, 2024 23:00
@t1m0thyj t1m0thyj marked this pull request as ready for review July 23, 2024 12:32
traeok

This comment was marked as resolved.

@t1m0thyj t1m0thyj requested a review from anaxceron July 23, 2024 15:51
anaxceron
anaxceron previously approved these changes Jul 23, 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.

One minor comment, but otherwise this looks dandy.

packages/zowe-explorer/CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
traeok
traeok previously approved these changes Jul 23, 2024
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.

I was able to confirm that there was an issue with my Zowe team config's secure array. After resetting my config file and preparing my environment, I was unable to reproduce the previous scenario I encountered.

LGTM, thanks Timothy for the fix!

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
traeok
traeok previously approved these changes Jul 23, 2024
zFernand0
zFernand0 previously approved these changes Jul 24, 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.

LGTM! 😋
I'm guessing it's ok for this port-PR to be merged before the V2 one since we don't need to verify Theia support for V3? 😋

anaxceron
anaxceron previously approved these changes Jul 24, 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.

Nice!

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@t1m0thyj t1m0thyj dismissed stale reviews from anaxceron, zFernand0, and traeok via e221a64 July 24, 2024 14:28
@t1m0thyj t1m0thyj requested review from zFernand0 and traeok July 24, 2024 14:28
zFernand0
zFernand0 previously approved these changes Jul 24, 2024
@t1m0thyj t1m0thyj marked this pull request as draft July 25, 2024 14:33
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@t1m0thyj t1m0thyj marked this pull request as ready for review July 25, 2024 16:10
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.

I started reviewing this one first and ended up approving the v2 implementation by accident - oops 😅 Both PRs look good though.

LGTM, thanks Timothy!

@t1m0thyj t1m0thyj merged commit 4548918 into next Jul 26, 2024
20 of 21 checks passed
@t1m0thyj t1m0thyj deleted the fix/ext-refresh-errors branch July 26, 2024 21:21
@t1m0thyj t1m0thyj removed the needs-ported Apply to issues or PRs that need ported label Jul 26, 2024
@t1m0thyj t1m0thyj linked an issue Jul 26, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
5 participants