etcd
etcd copied to clipboard
Update update_dep.sh
Based on the experience of performing dependency bumps, some minor improvements are made to the script to make it conform to our current dependency bump procedure, listed as follows:
- print out the dependency's version before and after the bump
- check if the dependency is fully indirect
- change the behavior of bumping dependency (doesn't ignore bumping indirect dependency in the go mod files anymore)
- check if all dependencies across all go mod files have the same pinned version respectively after bumping a dependency
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.
/cc @ivanvc /cc @ahrtr I am not good with bash scripts :(
This is the script that I have been using to bump the dependencies in the past months. Hopefully, it will be helpful for future volunteers before the dependabot is fixed!
@henrybear327, there are some shellcheck warnings in the script. Would you want to draft the PR? And would you like me to continue on top of it? Or do you want to address the issues?
@henrybear327, there are some shellcheck warnings in the script. Would you want to draft the PR? And would you like me to continue on top of it? Or do you want to address the issues?
@ivanvc let's draft the PR and you can probably take over it if you have time to improve it!
Hopefully it's a helpful start otherwise you can trash the PR and start from scratch!
Thanks!
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 69.14%. Comparing base (116caca) to head (340a0bb).
Additional details and impacted files
see 18 files with indirect coverage changes
@@ Coverage Diff @@
## main #18609 +/- ##
==========================================
- Coverage 69.20% 69.14% -0.07%
==========================================
Files 422 422
Lines 34821 34821
==========================================
- Hits 24099 24077 -22
- Misses 9328 9343 +15
- Partials 1394 1401 +7
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 116caca...340a0bb. Read the comment docs.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@henrybear327, there are some shellcheck warnings in the script. Would you want to draft the PR? And would you like me to continue on top of it? Or do you want to address the issues?
@ivanvc I have fixed the shellcheck errors
Maybe you can see if this is a good enough quality script to consider now! Thank you!
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: henrybear327 Once this PR has been reviewed and has the lgtm label, please assign ivanvc for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
/retest
Tested with this 20250915's dependency update.
/retest
/retest
/retest
/retest
This is looking like a great improvement. It also works great. I left a minimal suggestion for an improvement :)
Thanks for reviewing it! :)
@henrybear327: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| ci-etcd-robustness-release36-amd64 | 190eb93c3af7133b32435a9db831b9757389df19 | link | true | /test ci-etcd-robustness-release36-amd64 |
| pull-etcd-coverage-report | 340a0bb0e6706d78d57499c99b0cbfcdeaefc288 | link | true | /test pull-etcd-coverage-report |
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.