Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
paths-ignore: [docs/**, "**.md", "**.mdx", "**.png", "**.jpg"]

env:
GO_VERSION: '1.25.9'
GO_VERSION: '1.25.10'
CERT_MANAGER_VERSION: 'v1.16.2'

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

env:
# Common versions
GO_VERSION: "1.25.9"
GO_VERSION: "1.25.10"

jobs:
detect-noop:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
uses: step-security/harden-runner@a5ad31d6a139d249332a2605b85202e8c0b78450 # v2.19.1
with:
egress-policy: audit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
HUB_AGENT_IMAGE_NAME: hub-agent
MEMBER_AGENT_IMAGE_NAME: member-agent
REFRESH_TOKEN_IMAGE_NAME: refresh-token
GO_VERSION: "1.25.9"
GO_VERSION: "1.25.10"

jobs:
export-registry:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
MEMBER_AGENT_IMAGE_NAME: member-agent
REFRESH_TOKEN_IMAGE_NAME: refresh-token

GO_VERSION: '1.25.9'
GO_VERSION: '1.25.10'

jobs:
export-registry:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
paths-ignore: [docs/**, "**.md", "**.mdx", "**.png", "**.jpg"]

env:
GO_VERSION: '1.25.9'
GO_VERSION: '1.25.10'

jobs:
detect-noop:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
timeout: 15m
go: '1.25.9'
go: '1.25.10'

linters-settings:
stylecheck:
Expand Down
2 changes: 1 addition & 1 deletion docker/crd-installer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the crdinstaller binary
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.9 AS builder
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.10 AS builder

ARG GOOS=linux
ARG GOARCH=amd64
Expand Down
2 changes: 1 addition & 1 deletion docker/hub-agent.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the hubagent binary
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.9 AS builder
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.10 AS builder

ARG GOOS=linux
ARG GOARCH=amd64
Expand Down
2 changes: 1 addition & 1 deletion docker/member-agent.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the memberagent binary
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.9 AS builder
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.10 AS builder

ARG GOOS=linux
ARG GOARCH=amd64
Expand Down
2 changes: 1 addition & 1 deletion docker/refresh-token.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the refreshtoken binary
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.9 AS builder
FROM mcr.microsoft.com/oss/go/microsoft/golang:1.25.10 AS builder

ARG GOOS="linux"
ARG GOARCH="amd64"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.goms.io/fleet

go 1.25.9
go 1.25.10

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.0
Expand Down
7 changes: 4 additions & 3 deletions pkg/utils/errors/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ func TestCommonUsePatterns(t *testing.T) {
outputStr = readFromBuffer(t, &bytesBuf)

// The full error output looks like the follows:
// errors_test.go:86: time=2026-04-29T02:49:04.560+10:00 level=ERROR msg="additional top/controller-level error description" err="additional high-level error description: additional low-level error description: cannot calculate resource hash" errCategory=unexpected k1=v1 callers="[{Function:go.goms.io/fleet/pkg/utils/errors.TestCommonUsePatterns File:SomeFilePath Line:74} {Function:testing.tRunner File:SomeFilePath Line:1934} {Function:runtime.goexit File:SomeFilePath Line:1268}]" k2=v2
// errors_test.go:86: time=2026-04-29T02:49:04.560+10:00 level=ERROR msg="additional top/controller-level error description" err="additional high-level error description: additional low-level error description: cannot calculate resource hash" errCategory=unexpected k1=v1 callers="[{Function:github.com/kubefleet-dev/kubefleet/pkg/utils/errors.TestCommonUsePatterns File:SomeFilePath Line:74} {Function:testing.tRunner File:SomeFilePath Line:1934} {Function:runtime.goexit File:SomeFilePath Line:1268}]" k2=v2
wantSubStrings = []string{
"msg=\"additional top/controller-level error description\"",
"err=\"additional high-level error description: additional low-level error description: cannot calculate resource hash\"",
"errCategory=unexpected",
"k1=v1",
"callers=",
"Function:github.com/kubefleet-dev/kubefleet/pkg/utils/errors.TestCommonUsePatterns",
"Function:",
"/pkg/utils/errors.TestCommonUsePatterns",
"k2=v2",
}
for _, subStr := range wantSubStrings {
Expand Down Expand Up @@ -557,7 +558,7 @@ func TestNewUnexpectedError(t *testing.T) {

// Verify the first frame (the current test code).
callerFunc := frames[0].Function
if callerFunc != "go.goms.io/fleet/pkg/utils/errors.TestNewUnexpectedError" {
if !strings.Contains(callerFunc, "/pkg/utils/errors.TestNewUnexpectedError") {
t.Errorf("NewUnexpectedError() first caller function = %s, want TestNewUnexpectedError", callerFunc)
}
callerFile := frames[0].File
Expand Down
Loading