-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
chore(deps): bump got from 11.8.3 to 12.0.0 #7370
Conversation
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 12.0.0. - [Release notes](https://github.com/sindresorhus/got/releases) - [Commits](sindresorhus/got@v11.8.3...v12.0.0) --- updated-dependencies: - dependency-name: got dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
4e70e9c
to
89d69e2
Compare
Haven't had time over the weekend, but I will try and have a look at updating to account for the breaking changes in this release sometime next week. |
Made a start on this but I still have some issues to sort out. Most of the test failures are mocked tests. There is some strange issue at the intersection of got and nock that I haven't got to the bottom of yet |
1683031
to
7d4e9dc
Compare
Right 178d35b gets the core test suite passing |
Right then If you look at Doing this: 178d35b seems to fix it. Doing that gives us a passing run for the core tests: I'm not totally sure what the original intent of that was. Anyway, next step is the service tests. If you run the service tests, all the mocked tests fail (even the first one): (I've tried to structure the commit/PR history so you can see this journey) I guess we're looking at something in the setup for when we
but I think I want to understand more about why 178d35b fixes the core tests first. Hmmm 🤔 |
Whew, this one is sounding pretty gnarly |
Yes and no. The actual changes needed to get the application working with the new version are quite small and mostly called out in the release notes. The gnarly bits are all to do with mocking under test (although working out which tests were failing for what reasons did take some time). While working through this I have been looking out for any issues on the got or nock repos to see if anyone else is hitting similar issues. One thing to note is:
Given this, I might keep an eye on the nock repo and see what happens when they bump got in their own test suite in a week or two. It might give us some pointers.. |
Am now subscribed to nock/nock#2274 |
Looks like there is an upstream fix for this |
This reverts commit 178d35b.
Nearly there but I've run out of time this evening. I'll have another look over the failing service tests again tomorrow. I think most of them are the usual suspects but there might be one or two more sneaky ones like OPM hiding in there. |
Excellent news. I know @PyvesB fixed a few sets of tests that were just merged so a rebase/merge should reduce the surface of tests that need to be inspected |
Ah yes. Thanks for pointing that out 💡 I was comparing the test runs on this branch against the latest ones on daily-tests and wondering why I had some many more failing tests. Of course they were all the ones we merged fixes for the other day. I did see those PRs but just hadn't put two and two together I needed to update my branch :) |
A newer version of got exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Anyone fancy giving this a quick review? I didn't just go ahead and merge it as there are some non-trivial code changes to account for the update but it appears to have fallen through the cracks. |
Indeed, will take a look shortly |
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
Bumps got from 11.8.3 to 12.0.0.
Release notes
Sourced from got's releases.
... (truncated)
Commits
a405e7c
12.0.064cd62c
Upgrade dependencies2fe01a3
Update doc commentsecb0534
Fixdeflate
responses not being decompressed (#1918)49c605c
Upgrade dependencies30aad38
Skip a test for now3ad8550
Fix PFX test090b2c5
Test Node.js 178122d96
Fix IP testsf6d1fb7
Downgrade decompress-responseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)