This is an automated email from the ASF dual-hosted git repository.
git-hulk pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new c61940a48 fix(ci): update nightly actions and INFO test (#3611)
c61940a48 is described below
commit c61940a48fa2f77ddbdd3aa30c23567a7ea80062
Author: hulk <[email protected]>
AuthorDate: Wed Sep 9 21:07:14 2026 +0800
fix(ci): update nightly actions and INFO test (#3611)
There are two issues addressed in this PR:
- Fix the Nightly workflow action revisions rejected by the ASF
allowlist.
- Remove the INFO test assertion requiring the server version to be
exactly
"unstable", which fails on release versions.
---
.github/workflows/nightly.yaml | 12 ++++++------
tests/gocase/unit/info/info_test.go | 2 --
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml
index 82eb8db96..091cac34a 100644
--- a/.github/workflows/nightly.yaml
+++ b/.github/workflows/nightly.yaml
@@ -48,7 +48,7 @@ jobs:
- name: Docker meta
id: meta
- uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf
+ uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302
with:
images: apache/kvrocks
@@ -60,10 +60,10 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up QEMU
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
+ uses: docker/setup-qemu-action@1f40c72289eff860ee54a304f1438e3cff362e0a
- name: Set up Docker Buildx
- uses:
docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
+ uses:
docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e
- name: Build and push by digest
id: build
@@ -111,12 +111,12 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
- uses:
docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
+ uses:
docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e
- name: Docker meta (for unstable)
id: meta
if: ${{ github.ref_name == 'unstable' }}
- uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf
+ uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302
with:
images: apache/kvrocks
flavor: latest=false
@@ -127,7 +127,7 @@ jobs:
- name: Docker meta (for tags)
id: meta_tag
if: ${{ github.ref_name != 'unstable' }}
- uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf
+ uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302
with:
images: apache/kvrocks
flavor: latest=false
diff --git a/tests/gocase/unit/info/info_test.go
b/tests/gocase/unit/info/info_test.go
index 09e593e2d..319b2d8a8 100644
--- a/tests/gocase/unit/info/info_test.go
+++ b/tests/gocase/unit/info/info_test.go
@@ -210,8 +210,6 @@ func TestInfoFormat(t *testing.T) {
// numeric field -> JSON number (Go float64)
require.IsType(t, float64(0), info["Server"]["tcp_port"])
require.Greater(t, info["Server"]["tcp_port"].(float64),
float64(0))
- // string field -> JSON string
- require.Equal(t, "unstable", info["Server"]["kvrocks_version"])
// only the requested section should be present
require.Len(t, info, 1)
})