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

chore(deps): update dependency ws to v6.1.2 #1992

Merged
merged 1 commit into from
Dec 13, 2018
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 19, 2018

This PR contains the following updates:

Package Type Update Change References
ws devDependencies patch 6.1.0 -> 6.1.2 source

Release Notes

websockets/ws

v6.1.2

Compare Source

Bug fixes

  • Restored compatibility with Node.js < 6.13.0 (26436e0).

v6.1.1

Compare Source

Bug fixes

  • Queued messages to send are now discarded if the permessage-deflate is enabled
    and the socket closes prematurely (#​1464, #​1471).

Renovate configuration

📅 Schedule: "after 6pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot added the 🎄 dependencies Updates to dependencies, generally automatically managed by Renovate. label Nov 19, 2018
@renovate renovate bot force-pushed the renovate/ws-6.x branch 2 times, most recently from 38f1764 to cd28164 Compare November 21, 2018 13:04
Copy link
Member

@abernix abernix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet. See #2006.

@renovate renovate bot force-pushed the renovate/ws-6.x branch 20 times, most recently from b080572 to 5581b06 Compare November 28, 2018 13:19
@renovate renovate bot requested a review from martijnwalraven as a code owner November 28, 2018 13:19
@renovate renovate bot force-pushed the renovate/ws-6.x branch 5 times, most recently from 4410028 to 951dc6d Compare November 29, 2018 11:49
@renovate renovate bot force-pushed the renovate/ws-6.x branch 9 times, most recently from a0cd02d to 26aa6ba Compare December 5, 2018 15:57
@renovate renovate bot force-pushed the renovate/ws-6.x branch 6 times, most recently from 54b2f12 to f045531 Compare December 13, 2018 13:03
@renovate renovate bot force-pushed the renovate/ws-6.x branch from f045531 to e9352a5 Compare December 13, 2018 13:10
@renovate renovate bot merged commit 36ac4e4 into master Dec 13, 2018
@renovate renovate bot deleted the renovate/ws-6.x branch December 13, 2018 13:10
abernix added a commit that referenced this pull request Dec 13, 2018
@abernix
Copy link
Member

abernix commented Dec 13, 2018

@rarkins Is there a way to configure Renovate to not merge a PR if there's a blocking review on it?

As seen above, I've tried to hold off on this PR until I could investigate the problem it created. While the blocking review seems to have prevented it for a while, it seems that when the next patch version of the @types/ws (v6.1.2, when this PR was first for v6.1.1) came through and this PR was updated by Renovate, it no longer observed the review? 🤔 Curious on your thoughts.

abernix added a commit that referenced this pull request Dec 13, 2018
abernix added a commit that referenced this pull request Dec 13, 2018
…eq false.

This fixes a TypeScript `TypeError` which was encountered after the
`@types/ws` typings were updated[[1]] to more correctly identify valid URLs.

The error exhibited on CI[[2] was:

TypeError [ERR_INVALID_URL]: Invalid URL: ws://localhost:6666undefined

This had been previously reverted[[3]] but was auto-merged again for a
reason I don't quite have time to investigate right now, though I suspect
it's something I'll be able to prevent in the future with a bit more care.

[1]: #1992
[2]: https://circleci.com/gh/apollographql/apollo-server/22416
[3]: #2006

cc @martijnwalraven
@rarkins
Copy link
Contributor

rarkins commented Dec 13, 2018

@abernix I haven't thought about it before, or deeply understood GitHub's approach. What I think happens is that Reviews become "stale" once there are new commits, e.g. which could be caused by new dependency versions or even just rebasing.

I guess you don't have a rule about "must need one approving reviewer before merging", right? But maybe we can do like you say and deliberately look for disapproving reviewers and stop automerge in that case, even if it's not part of your branch protection settings.

@rarkins
Copy link
Contributor

rarkins commented Dec 13, 2018

BTw although reviews are called "stale", it seems they aren't removed like commit statuses are when commits change. So they are tied to the PR yet the commit is somehow used by GitHub to determine staleness or not.

@abernix
Copy link
Member

abernix commented Dec 13, 2018

That's correct, @rarkins, we don't have a rule which requires a certain number of reviews. So Renovate is free to merge PRs when the status checks are all passing (though in this case, it also seems that tests were not passing on last commit before it merged? Strange — I haven't seen that before and I don't see anything in particular in the dashboard log which would have supported that decision.).

we can do like you say and deliberately look for disapproving reviewers

Yeah, I haven't thought about this extensively. In the case of a normal PR, there are of course situations where someone might approve and others might not and the PR might move along anyway, but it seems that dependency updates might be safe to deliberately deny until those are "Dismissed" by someone with appropriate permissions.

What I think happens is that Reviews become "stale" once there are new commits

I believe that's correct. In my experience of reviewing PRs, I've always had to go back and explicitly Approve a PR that I've previously Requested changes on, or at least Dismiss the review (leaving it with no opinion from me one way or the other). The review is never dismissed automatically by the addition of another commit. I think this makes sense since I'd want to confirm that the portions I've identified for changes are appropriately addressed after a new commit was pushed by a human. In the case of a bot, I think that I'd feel the same.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🎄 dependencies Updates to dependencies, generally automatically managed by Renovate.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants