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(cd): Workflow and Dependency Updates #2529

Merged
merged 5 commits into from
Nov 17, 2023
Merged

fix(cd): Workflow and Dependency Updates #2529

merged 5 commits into from
Nov 17, 2023

Conversation

zFernand0
Copy link
Member

Proposed changes

  • Update workflows to run on LTS versions of Node.js
  • Add OVSX CLI as a dev dependency
  • Update overrides object to pnpm's format

Release Notes

Milestone: vNext

Changelog: Workflow and dependency updates

Types of changes

What types of changes does your code introduce to Zowe Explorer?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Updates to Documentation or Tests (if none of the other choices apply)

Checklist

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 reviewer

  • I have read the CONTRIBUTOR GUIDANCE wiki
  • PR title follows Conventional Commits Guidelines
  • PR Description is included
  • gif or screenshot is included if visual changes are made
  • yarn workspace vscode-extension-for-zowe vscode:prepublish has been executed
  • All checks have passed (DCO, Jenkins and Code Coverage)
  • I have added unit test and it is passing
  • I have added integration test and it is passing
  • There is coverage for the code that I have added
  • I have tested it manually and there are no regressions found
  • I have added necessary documentation (if appropriate)
  • Any PR dependencies have been merged and published (if appropriate)

Further comments

We never had the OVSX cli installed as a devDependency, it was just because of npx that this worked. In order to avoid undesired dependency version updates (with pnpm dlx), we use pnpm exec which won't download the latest version of the package from npm 😋

@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9ad5a7f) 93.05% compared to head (f19d6b5) 93.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2529   +/-   ##
=======================================
  Coverage   93.05%   93.05%           
=======================================
  Files         108      108           
  Lines        9807     9807           
  Branches     2028     2028           
=======================================
  Hits         9126     9126           
  Misses        680      680           
  Partials        1        1           

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

the createNewConnection no longer exists, thus invalid integration test file was removed

Signed-off-by: zFernand0 <[email protected]>
@zFernand0 zFernand0 mentioned this pull request Oct 30, 2023
16 tasks
@traeok
Copy link
Member

traeok commented Nov 9, 2023

I've been investigating the failing Theia tests on this PR and have found the source of the issue.

Commits ef72d44 and before work fine in Theia - localized strings show as expected.

When testing commit 3edd22f, the strings in Theia are broken. Any commit on next after this one exhibits the same behavior. This seems related to the package.json import statement in ZoweLocalStorage.ts.

Since this involves some refactoring of the local storage work, it would be best to address this in a separate PR. I will file a new issue to keep track of this.

Update: Created #2558 for this bug

@JTonda JTonda marked this pull request as ready for review November 16, 2023 16:03
Copy link

sonarcloud bot commented Nov 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@JillieBeanSim JillieBeanSim 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 @zFernand0 for this important fix and updates

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! And thanks for updating the core VS Code dependencies @zFernand0 😋

@zFernand0 zFernand0 merged commit 8b4cfea into next Nov 17, 2023
29 of 30 checks passed
@zFernand0 zFernand0 deleted the next-deploy branch November 17, 2023 15:21
Copy link

Release succeeded for the next branch. 🎉

The following packages have been published:

Powered by Octorelease 🚀

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.

3 participants