-
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
VSC Proxy Support #3291
VSC Proxy Support #3291
Conversation
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3291 +/- ##
==========================================
+ Coverage 93.07% 93.09% +0.01%
==========================================
Files 116 117 +1
Lines 12109 12129 +20
Branches 2783 2784 +1
==========================================
+ Hits 11271 11291 +20
Misses 837 837
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
Reminder: This pull request has a merge-by date coming up within the next 24 hours. Please review this PR as soon as possible. @t1m0thyj @zFernand0 @rudyflores @SanthoshiBoyina1 @likhithanimma1 |
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! 😋
Found an interesting things since I had forgotten to start my proxy server (or connect to VPN at all) 😋
If you proxy is down (or you are unable to connect to the mainframe in general), and you have datasets already added to your workspace...
It seems that Zowe Explorer takes a very, very long time to load, when in reality it is just waiting for the timeout to happen and the user only sees a bunch of errors on the output channel (not indicating what truly happened and what the request was, unless you had previously enabled "trace" level logs).
[2024/11/21 05:11:59] [ERROR] Failed to send an HTTP request.
[2024/11/21 05:11:59] [ERROR] Failed to send an HTTP request.
[2024/11/21 05:13:14] [ERROR] Failed to send an HTTP request.
[2024/11/21 05:13:14] [ERROR] Failed to send an HTTP request.
Same goes for other server errors like invalid certificates in the chain which we surface as 503 Service Unavailable.
[2024/11/21 05:19:33] [ERROR] Rest API failure with HTTP(S) status 503
[2024/11/21 05:19:33] [ERROR] Rest API failure with HTTP(S) status 503
[2024/11/21 05:19:33] [ERROR] Rest API failure with HTTP(S) status 503
[2024/11/21 05:19:33] [ERROR] Rest API failure with HTTP(S) status 503
Ideally we show more error details as to what these requests were (in the logs)
👀 @JillieBeanSim @t1m0thyj @traeok
Want to get your thoughts on this since this may be impacting end-users today 😢
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.
forgot one review comment
I think this could be part of the Error enhancement work we have going on and can create a follow up story to make sure all errors are at a higher log level than trace for sure. |
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
As an alternative to fetching workspace items when Zowe Explorer opens, we can show a notification that we've detected Zowe Explorer resources and offer a "Fetch" button so that they are fetched on-demand. However, if we don't load the virtual workspace at the time its opened, the explorer pane will mark those items in yellow and put an exclamation point beside each one until they are fetched. That said, I wouldn't be opposed to this behavior, and I also think this might serve as a short-term fix for some edge cases we were seeing with 401 errors in a workspace |
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.
Thanks for considering the feedback.
Let's chat during standup 🙏
still LGTM! 😋
opened the following issues from discussion: |
Signed-off-by: Billie Simmons <[email protected]>
Signed-off-by: Billie Simmons <[email protected]>
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.
Thanks for the changes regarding the session
parameter 👍 LGTM
Proposed changes
Needed: update of SDKs with zowe/zowe-cli#2330
instructions on installing/configuring squid proxy
Release Notes
Milestone: 3.1.0
Changelog:
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