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

Upgrade MSW #2877

Merged
merged 19 commits into from
Oct 3, 2023
Merged

Upgrade MSW #2877

merged 19 commits into from
Oct 3, 2023

Conversation

koesie10
Copy link
Member

@koesie10 koesie10 commented Sep 28, 2023

This upgrades MSW to the @next tag (currently 0.0.0-fetch.rc-20) to support Node.js 18.

This stops all unit and integration tests from using Node.js 16. Therefore, this also bumps engines.vcode to 1.82.0. This is in line with #2854 and our process for upgrading the minimum VS Code version.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

robertbrignull and others added 7 commits September 28, 2023 14:32
It seems like Node's native `fetch` implementation isn't quite working
right with Octokit and MSW. This switches to using `node-fetch` like
we're already doing for all other requests (e.g. downloading databases).
@koesie10 koesie10 force-pushed the robertbrignull/upgrade_msw branch from cec6123 to 9b10a09 Compare September 28, 2023 12:32
@koesie10 koesie10 force-pushed the robertbrignull/upgrade_msw branch from 56b4243 to 40b79f2 Compare September 29, 2023 12:34
@koesie10 koesie10 marked this pull request as ready for review October 2, 2023 09:40
@koesie10 koesie10 requested review from a team as code owners October 2, 2023 09:40
Copy link
Contributor

@robertbrignull robertbrignull 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've tested it with normal VS Code and also insiders, and with the API server disabled, enabled, and with a scenario loaded. Everything worked perfectly for me.

Since #2854 has been included in the most recent release, I believe that means this should be good to merge now.

@koesie10 koesie10 merged commit add7a25 into main Oct 3, 2023
@koesie10 koesie10 deleted the robertbrignull/upgrade_msw branch October 3, 2023 08:08
koesie10 added a commit that referenced this pull request Jan 3, 2024
There were still references to a pinned version of VS Code used in the
integration tests, but this was resolved in #2877.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants