-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No BZ] Warn developers if they upgrade a dependency but not a patch #36776
Comments
Triggered auto assignment to @puneetlath ( |
Job added to Upwork: https://www.upwork.com/jobs/~019999ca1782dc1db6 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @rushatgabhane ( |
I was thinking this should be internal like other similar-style warnings in our webhook. Don't need a C+, not sure why we assign them for issues labelled |
Some notes:
|
No near-term plans to push this DX improvement forward. Going to drop for focus |
Updated title to denote this |
This also isn't really in the roadmap anywhere - it's more of an automation to prevent developer mistakes |
@roryabraham, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
This was quick and easy to implement, and failing to correctly update our patches can lead to headaches. So I created a PR to add this check. It's all-too-common for patches to be added with limited context and then basically left forever, so hopefully this should help curb that practice. |
@roryabraham, this Monthly task hasn't been acted upon in 6 weeks; closing. If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead. |
oh, this has been done for a while 🙈 |
Coming from #36775...
Problem
When upgrading dependencies, it's possible that you may break a patch for that dependency. It's also possible that the patch may no longer be needed. It's easy to forget this, which leaves unused patch files in our repo.
Solution
Add a simple PR check to our webhook that looks for PRs that upgrade a dependency with a patch without updating the patch and include a PR comment like:
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: