Commit Graph

22661 Commits

Author SHA1 Message Date
e69f9c78ac Merge pull request #19532 from ivanvc/update-changelog
Update CHANGELOGs with recent merged pull requests
2025-03-05 07:13:30 +00:00
bf9d6f588c Merge pull request #19520 from ivanvc/add-verity-released-assets-github-workflow
Add verify release assets GitHub workflow
2025-03-05 07:09:26 +00:00
fa9233bbbc Update CHANGELOGs with recent merged pull requests
Include notes from:

v3.4:
- #19529
- #19533

v3.5:
- #19528
- #19530

v3.6:
- #19495
- #19527
- #19531
- #19522

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-04 21:29:06 -08:00
215ab98a5f Add verify released binary assets GitHub workflow
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-03-04 15:23:02 -08:00
3d381537cc Merge pull request #19521 from ahrtr/curl_watch_20250304
Fix the issue of etcdserver crashing on receiving REST watch stream requests
2025-03-04 19:52:50 +00:00
d23b0785c1 ensure google.golang.org/genproto/googleapis/rpc version consistent
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:14:13 +00:00
9fcb5f6ae4 re-generate api/etcdserverpb/gw/rpc.pb.gw.go
Executed ./scripts/genproto.sh

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:08:28 +00:00
e2459c0323 Bump grpc-gateway to v2.26.3
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 18:00:03 +00:00
65691111dc Create an e2e test to reproduce the issue of etcdserver crashing on REST watch requests
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
2025-03-04 14:00:25 +00:00
2f15f0859f Merge pull request #19517 from etcd-io/dependabot/github_actions/github/codeql-action-3.28.10
build(deps): bump github/codeql-action from 3.28.9 to 3.28.10
2025-03-04 13:19:27 +00:00
4523ff77c9 Merge pull request #19518 from etcd-io/dependabot/github_actions/ossf/scorecard-action-2.4.1
build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
2025-03-04 13:13:28 +00:00
edfb9b7565 Merge pull request #19519 from etcd-io/dependabot/github_actions/actions/upload-artifact-4.6.1
build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
2025-03-04 13:12:54 +00:00
7c7f69e35a build(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...4cec3d8aa0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 17:45:21 +00:00
25d8e7fb40 build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](62b2cac7ed...f49aabe0b5)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 17:45:18 +00:00
f9c68849ab build(deps): bump github/codeql-action from 3.28.9 to 3.28.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.9 to 3.28.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9e8d0789d4...b56ba49b26)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 17:45:14 +00:00
4ef3b376b7 Merge pull request #19358 from ivanvc/remove-release-tests-workflow
github workflows: remove release tests
2025-03-03 09:38:36 +00:00
e99f20a639 Merge pull request #19504 from tcchawla/fix-19500
tests: deflakey TestLeaseGrantKeepAliveOnce
2025-03-03 09:36:10 +00:00
3e43e4594e tests: deflakey TestLeaseGrantKeepAliveOnce
Signed-off-by: tcchawla <tc.chawla2000@gmail.com>
2025-03-02 16:53:54 +05:30
ed975c2677 github workflows: remove release tests
This workflow has already been migrated to the prow infrastructure as a
presubmit job.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-27 23:45:32 -08:00
3a2cece119 Merge pull request #19502 from ah8ad3/changelog_v3.7
Add change log 3.7
2025-02-28 07:31:49 +00:00
a6b3c93cb4 Add UsageFunc to deprecation section in 3.7 changelog.
Signed-off-by: Ahmad Zolfaghari <ah8ad3@gmail.com>
2025-02-27 20:29:16 +03:30
5c147c0144 Merge pull request #19498 from ashikjm/typo-fix
etcdserver: Fixing minor typos in v3election.proto and rpc.proto
2025-02-27 15:47:30 +00:00
9b31bdc7a8 Merge pull request #19496 from ivanvc/remove-grpcproxy-workflows
github/workflows: delete grpcproxy workflow
2025-02-27 14:50:20 +00:00
ac064e860c Merge pull request #19470 from beforetech/main
refactor: use a more straightforward return value
2025-02-27 13:39:58 +01:00
b9298ed950 Merge pull request #18356 from ah8ad3/move-cobra-from-pkg
etcdctl: move cobra helper of etcdctl from main pkg to etcdctl pkg
2025-02-27 12:21:40 +00:00
f5409c4227 etcdserver: Fixing minor typos in v3election.proto and rpc.proto
Signed-off-by: Ashik J M <ashikjm@gmail.com>
2025-02-27 17:50:02 +05:30
d42b0434a6 Copy cobra helper of etcdctl from main pkg to etcdctl pkg and add a deprecation note for UsageFunc.
Signed-off-by: ah8ad3 <ah8ad3@gmail.com>
2025-02-27 14:46:43 +03:30
a423349c07 Merge pull request #19488 from mmorel-35/golangci-lint/usetesting
chore: use usetesting instead of tenv
2025-02-27 07:50:17 +00:00
b1ecb206b4 github/workflows: delete grpcproxy workflow
This job is already running on the Prow infrastructure.

Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-26 22:26:24 -08:00
49fbd1ef95 Merge pull request #19452 from gangli113/featuregate
Add prometheus metric for server feature gate
2025-02-26 21:34:11 +00:00
d76671ca80 add prometheus metric
Signed-off-by: Gang Li <ganglica@google.com>
Signed-off-by: Gang Li <gangligit@gmail.com>
2025-02-26 10:37:08 -08:00
6ecb6fba34 Merge pull request #19486 from ivanvc/address-govet-1.24-errors
Address Go 1.24 govet errors
2025-02-26 12:17:21 +00:00
a8d8c1887f chore: use usetesting instead of tenv
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-02-26 07:54:22 +01:00
16b1460b5d Address Go 1.24 govet errors
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-25 17:10:56 -08:00
47e764fd6b Merge pull request #19484 from jmhbnz/main
Add release date for `v3.4.36` and `v3.6.0-rc.1`
2025-02-25 20:57:00 +00:00
99683d59ac Add release date for v3.6.0-rc.1.
Signed-off-by: James Blair <mail@jamesblair.net>
2025-02-26 08:59:38 +13:00
db2213b70a Add release date for v3.4.36.
Signed-off-by: James Blair <mail@jamesblair.net>
2025-02-26 08:59:11 +13:00
66748c0d46 Merge pull request #19463 from ivanvc/use-go-mod-in-deps-check
scripts: Use go mod instead of go list to get dependencies
2025-02-25 19:37:06 +00:00
3763a67606 Merge pull request #19479 from ivanvc/release-note-CVE-2025-22869
changelog: add note from CVE-2025-22869
2025-02-25 18:26:20 +00:00
4a9ab7c380 Merge pull request #19473 from ahrtr/test_lease_20250224
Fix flaky `TestLeaseKeepAliveOneSecond`
2025-02-25 18:23:06 +00:00
78a7ca618e Merge pull request #19466 from henrybear327/dependency/2025_02_22
[2025-02-22] Bump dependency updates identified by dependabot
2025-02-25 18:00:53 +00:00
48fcef5b47 changelog: add note from CVE-2025-22869
Signed-off-by: Ivan Valdes <ivan@vald.es>
2025-02-25 09:28:53 -08:00
6784151a1b dependency: bump github.com/golangci/golangci-lint from 1.63.4 to 1.64.5
Reference:
- https://github.com/etcd-io/etcd/pull/19435

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-25 14:01:36 +00:00
df26009e75 dependency: bump github.com/alexfalkowski/gocovmerge from 1.3.18 to 1.4.0
Reference:
- https://github.com/etcd-io/etcd/pull/19436

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-25 14:01:36 +00:00
5e89197c28 dependency: bump honnef.co/go/tools from 0.5.1 to 0.6.0 and bump golang.org/x/net from 0.34.0 to 0.35.0
Reference:
- https://github.com/etcd-io/etcd/pull/19434
= https://github.com/etcd-io/etcd/pull/19437

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-25 14:01:35 +00:00
f1af8b9e92 dependency: bump github.com/spf13/cobra from 1.8.1 to 1.9.1
Reference:
- https://github.com/etcd-io/etcd/pull/19438

Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>
2025-02-25 14:01:35 +00:00
8e44d3ac65 Merge pull request #19476 from fuweid/fix-17504
tests: deflakey TestLeaseGrantTimeToLiveExpired
2025-02-25 09:40:19 +00:00
6d66d828b4 Merge pull request #19475 from henrybear327/ci/address_linter_issues
Address issues reported by golangci-lint after bumping the version to v1.64.5
2025-02-25 08:01:14 +00:00
628435abdb Merge pull request #19474 from fuweid/update-36-changelog
CHANGELOG: update 3.6 changelog with DowngradeInfo
2025-02-25 07:58:44 +00:00
c81fb870bb tests: deflakey TestLeaseGrantTimeToLiveExpired
The following change can reproduce the issue #17504 by
`TESTCASE=TestLeaseGrantTimeToLiveExpired/PeerAutoTLS make test-e2e`. We
can retry it to reduce flakey possibility, if there is leader change.

```diff
diff --git a/tests/common/lease_test.go b/tests/common/lease_test.go
index afb27c330..dea8459dc 100644
--- a/tests/common/lease_test.go
+++ b/tests/common/lease_test.go
@@ -16,6 +16,7 @@ package common

 import (
        "context"
+       "sync"
        "testing"
        "time"

@@ -139,6 +140,18 @@ func TestLeaseGrantTimeToLiveExpired(t *testing.T) {
                                require.NoError(t, err)
                                require.Equal(t, int64(1), getResp.Count)

+                               var wg sync.WaitGroup
+                               defer wg.Wait()
+
+                               wg.Add(1)
+                               go func() {
+                                       defer wg.Done()
+                                       time.Sleep(1000 * time.Millisecond)
+                                       clus.(interface {
+                                               MoveLeader(ctx context.Context, t testing.TB, i int) error
+                                       }).MoveLeader(ctx, t, (clus.WaitLeader(t)+1)%len(clus.Members()))
+                               }()
+
                                time.Sleep(3 * time.Second)

                                ttlResp, err := cc.TimeToLive(ctx, leaseResp.ID, config.LeaseOption{})

```

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-02-24 18:09:06 -05:00