Closed traeok closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.49%. Comparing base (
3bdc5a1
) to head (25ce8d1
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks like the audit check is failing on maintenance
from the braces
vulnerability. This is addressed in #2946, so feel free to ignore it here; I will merge in the changes once that PR is merged into maintenance
.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Proposed changes
Previously, we ran the
zowe.extRefresh
command to signal a refresh of Zowe Explorer and its extenders when credentials are updated for a profile. While this worked to synchronize credentials in most cases, extender event callbacks foronProfilesUpdate
were never fired for this scenario.This updates the logic so that we fire the
onProfilesUpdateEmitter
event when the following conditions are met:How to test
Subscribe to the
onProfilesUpdate
event in a Zowe Explorer extender with a test callback, e.g.,Right-click on a profile in the tree view with pre-existing, secured credentials and select "Manage Profile" -> "Update Credentials"
After the credential update is successful, notice that the callback added by the extension is now fired
Release Notes
Milestone: v2.16.2
Changelog:
onProfilesUpdate
event was not fired after secure credentials were updated.Types of changes
What types of changes does your code introduce to Zowe Explorer? Put an
x
in the boxes that applyChecklist
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 revieweryarn workspace vscode-extension-for-zowe vscode:prepublish
has been executed