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

[2025-01-10] Bump dependency updates identified by dependabot #19165

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.82%. Comparing base (9db8dcb) to head (1430c1d).
Report is 11 commits behind head on main.

Additional details and impacted files

see 21 files with indirect coverage changes

@@            Coverage Diff             @@
##             main   #19165      +/-   ##
==========================================
- Coverage   68.87%   68.82%   -0.06%     
==========================================
  Files         420      420              
  Lines       35649    35649              
==========================================
- Hits        24554    24534      -20     
- Misses       9674     9695      +21     
+ Partials     1421     1420       -1     

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9db8dcb...1430c1d. Read the comment docs.

…/sys from 0.28.0 to 0.29.0, and golang.org/x/crypto from 0.31.0 to 0.32.0

These 3 bumps need to be performed together.

Reference:
- etcd-io#19130
- etcd-io#19132
- etcd-io#19133

Signed-off-by: Chun-Hung Tseng <[email protected]>
Bumping this dependency also require fixing func newFakeClock() to
return a pointer to the struct (*clockwork.FakeClock)

Reference:
- etcd-io#19131

Signed-off-by: Chun-Hung Tseng <[email protected]>
@henrybear327 henrybear327 force-pushed the dependencies/25_01_10 branch from 46ff3f3 to 1430c1d Compare January 12, 2025 20:20
@henrybear327 henrybear327 self-assigned this Jan 12, 2025
@henrybear327 henrybear327 marked this pull request as ready for review January 12, 2025 20:37
@henrybear327
Copy link
Contributor Author

henrybear327 commented Jan 12, 2025

Bumping #19131 requires a fix to the current codebase, please see https://github.com/etcd-io/etcd/pull/19165/files#diff-cb0b9576444c99c569b72d696a412440f4a8da4ae514ac19eae631007ffc6863R353

(Sorry that this took longer to resolve than expected as I took the wrong long way when debugging the tests...)

@henrybear327
Copy link
Contributor Author

/retest

Copy link
Member

@jmhbnz jmhbnz left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks @henrybear327

Fix for fakeclock looks good based on the upstream guidance in jonboulle/clockwork@b120971

Convert FakeClock to a struct.
This change ensures future modifications to FakeClock will not break users.

Unfortunately, this change does break current users who use FakeClock as an argument, return value, or embed it in a struct or interface. With limtied exception, build errors can be fixed by running:

$ grep -rl 'clockwork.FakeClock' /path/to/code_base | \
    xargs sed -i 's/clockwork.FakeClock/*clockwork.FakeClock/g'

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, henrybear327, jmhbnz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ahrtr ahrtr merged commit 9eb85ee into etcd-io:main Jan 13, 2025
35 checks passed
@henrybear327 henrybear327 deleted the dependencies/25_01_10 branch January 13, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants