-
Notifications
You must be signed in to change notification settings - Fork 92
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
v3 pre-release Sept week 2 #3106
Conversation
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #3106 +/- ##
========================================
Coverage 92.57% 92.57%
========================================
Files 113 113
Lines 11635 11636 +1
Branches 2471 2579 +108
========================================
+ Hits 10771 10772 +1
Misses 862 862
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
@@ -150,6 +150,7 @@ export class ProfilesCache { | |||
return; | |||
} | |||
const allTypes = this.getAllProfileTypes(apiRegister?.registeredApiTypes() ?? []); | |||
allTypes.push("ssh"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added for extenders calling loadNamedProfile() or other profile fetching APIs for a SSH profile. possible regression as it previously worked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good idea to resolve the regression for now, but curious if we should discuss this a bit more 😋
I guess I'm trying to understand how/when the regression started, since I don't recall us having to add the ssh profile as part of the loaded types.
Personal guess: Maybe because we moved to individual SDKs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also curious why we need to hardcode "ssh" here, since other core profile types ("zosmf" and "tso") seem to work without being manually added to the array.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zosmf is added to the registered profile list when registered during activation, left comment about double checking tso if it's a regression and possibly updating to register the other types similar to how cics profiles register.
### Bug fixes | ||
|
||
- Fixed errors being logged silently rather than thrown in `ProfilesCache.refresh` method. [#3066](https://github.com/zowe/zowe-explorer-vscode/issues/3066) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this changelog entry exists under 2.18.0
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
|
||
- Fixed JSON errors being ignored when `zowe.config.json` files change on disk and are reloaded. [#3066](https://github.com/zowe/zowe-explorer-vscode/issues/3066) [#3074](https://github.com/zowe/zowe-explorer-vscode/issues/3074) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this changelog entry exists under 2.18.0
📅 Suggested merge-by date: 9/26/2024 |
Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me @JillieBeanSim . Thankyou :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the work @JillieBeanSim
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 😋
Left a few comments just wondering about the SSH regression.
### Bug fixes | ||
|
||
- Fixed errors being logged silently rather than thrown in `ProfilesCache.refresh` method. [#3066](https://github.com/zowe/zowe-explorer-vscode/issues/3066) | ||
- Fix extender's ability to fetch profile information from ProfilesCache for SSH profile types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious if we should add this PR as a link.
Also, wondering how the regression occurred.
@@ -309,7 +309,7 @@ describe("ProfilesCache", () => { | |||
expect((profCache as any).profilesByType.size).toBe(0); | |||
expect((profCache as any).defaultProfileByType.size).toBe(0); | |||
expect((profCache as any).allProfiles.length).toBe(0); | |||
expect((profCache as any).allTypes).toEqual(["base"]); | |||
expect((profCache as any).allTypes).toEqual(["ssh", "base"]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would extenders trying to load tso
or zosmf
profiles have the same prroblem?
@@ -150,6 +150,7 @@ export class ProfilesCache { | |||
return; | |||
} | |||
const allTypes = this.getAllProfileTypes(apiRegister?.registeredApiTypes() ?? []); | |||
allTypes.push("ssh"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good idea to resolve the regression for now, but curious if we should discuss this a bit more 😋
I guess I'm trying to understand how/when the regression started, since I don't recall us having to add the ssh profile as part of the loaded types.
Personal guess: Maybe because we moved to individual SDKs?
we can def look at better way and test the TSO as I have not, it could be due to the change to SDKs. zosmf profiles are registered during ZE activation so included in the registered profiles array. Maybe ssh and tso should get registered as an alternate type like cics. |
Proposed changes
v3 pre-release scheduled for week 2 of September
Release Notes
Milestone: v3 pre-release
Changelog: n/a
Types of changes
Checklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment
Further comments