Skip to content

Cleanup the deprecated experimental flags#19959

Merged
ahrtr merged 2 commits intoetcd-io:mainfrom
ahrtr:20250516_clean_experimental_flags
May 20, 2025
Merged

Cleanup the deprecated experimental flags#19959
ahrtr merged 2 commits intoetcd-io:mainfrom
ahrtr:20250516_clean_experimental_flags

Conversation

@ahrtr
Copy link
Member

@ahrtr ahrtr commented May 16, 2025

@codecov
Copy link

codecov bot commented May 16, 2025

Codecov Report

Attention: Patch coverage is 81.25000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 68.80%. Comparing base (f19aca6) to head (5625446).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
server/etcdserver/bootstrap.go 0.00% 2 Missing ⚠️
server/etcdmain/config.go 75.00% 1 Missing ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
server/config/config.go 80.23% <ø> (ø)
server/embed/config.go 78.23% <100.00%> (-1.80%) ⬇️
server/embed/etcd.go 76.32% <100.00%> (ø)
server/features/etcd_features.go 60.00% <ø> (ø)
server/etcdmain/config.go 72.51% <75.00%> (-3.31%) ⬇️
server/etcdserver/bootstrap.go 63.59% <0.00%> (ø)

... and 21 files with indirect coverage changes

@@            Coverage Diff             @@
##             main   #19959      +/-   ##
==========================================
- Coverage   68.91%   68.80%   -0.12%     
==========================================
  Files         424      424              
  Lines       35860    35744     -116     
==========================================
- Hits        24714    24594     -120     
- Misses       9725     9727       +2     
- Partials     1421     1423       +2     

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 f19aca6...5625446. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ahrtr ahrtr mentioned this pull request May 16, 2025
ahrtr added 2 commits May 20, 2025 18:48
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
@ahrtr ahrtr force-pushed the 20250516_clean_experimental_flags branch from ee1289e to 5625446 Compare May 20, 2025 17:50
Copy link
Member

@serathius serathius left a comment

Choose a reason for hiding this comment

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

Nice

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahrtr, serathius

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

The pull request process is described here

Details 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
Copy link
Member Author

ahrtr commented May 20, 2025

/test pull-etcd-integration-1-cpu-amd64

@ahrtr ahrtr merged commit 4f45c34 into etcd-io:main May 20, 2025
30 checks passed
@ahrtr
Copy link
Member Author

ahrtr commented May 20, 2025

@serathius thx for the quick review!

@ahrtr ahrtr deleted the 20250516_clean_experimental_flags branch May 20, 2025 19:27
@ahrtr
Copy link
Member Author

ahrtr commented May 20, 2025

@ivanvc @jmhbnz @fuweid @serathius @siyuanfoundation

We cleaned up all experimental flags, the robustness test on main branch may not be able to test stable releases. At least release-3.5 and 3.4 won't work. release-3.6 might still work.

@serathius
Copy link
Member

serathius commented May 20, 2025

We cleaned up all experimental flags, the robustness test on main branch may not be able to test stable releases.

Ups, right. That's not great. Maybe we could disable passing experimental flags for now to make the tests green?

@ahrtr
Copy link
Member Author

ahrtr commented May 21, 2025

We cleaned up all experimental flags, the robustness test on main branch may not be able to test stable releases.

Ups, right. That's not great. Maybe we could disable passing experimental flags for now to make the tests green?

We have two approaches,

  • The robustness test on main branch is only to test main; and use robustness test on 3.6 to test all stable releases.
    • Pros: clear
    • Cros: maintain two sets of robustness test :(
  • We update test cases, and try to avoid use all such experimental or migrated fields. Let me try this for now
    • Pros: still maintain one robustness test
    • Not sure how many test will be affected for now.

AwesomePatrol added a commit to AwesomePatrol/kubernetes that referenced this pull request Jul 9, 2025
They were deprecated in etcd 3.6.0 and were removed in 3.7.0:
etcd-io/etcd#19959

Change-Id: Iab962ca6ab2ecb003b47a63c5a46d399e7205591
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
AwesomePatrol added a commit to AwesomePatrol/kubernetes that referenced this pull request Jul 9, 2025
They were deprecated in etcd 3.6.0 and were removed in 3.7.0:
etcd-io/etcd#19959

Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
AwesomePatrol added a commit to AwesomePatrol/kubernetes that referenced this pull request Jul 9, 2025
They were deprecated in etcd 3.6.0 and were removed in 3.7.0:
etcd-io/etcd#19959

InitialCorruptCheck is now a behind Etcd feature gate.

Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
AwesomePatrol added a commit to AwesomePatrol/kubernetes that referenced this pull request Jul 15, 2025
They were deprecated in etcd 3.6.0 and were removed in 3.7.0:
etcd-io/etcd#19959

InitialCorruptCheck is now a behind Etcd feature gate. The new flags are
set based on provided k8s version.

Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
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.

3 participants