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
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,14 @@ vendor-build:
.PHONY: config
config:
$(info [Create build config])
@go mod tidy
@for i in 1 2 3; do \
mod_cmd=$${CI:+download}; mod_cmd=$${mod_cmd:-tidy}; \
GOPROXY="$(GOPROXY)" go mod $$mod_cmd && exit 0; \
echo "go mod $$mod_cmd failed (attempt $$i/3), retrying..."; \
sleep $$((i * 5)); \
done; \
echo "go mod failed after 3 attempts"; \
exit 1

.PHONY: generate-pb
generate-pb:
Expand Down Expand Up @@ -307,7 +314,8 @@ endif
###############################################################################
UT_PARALLEL ?= 1
ENABLE_UT ?= "false"
GOPROXY ?= "https://proxy.golang.com.cn,direct"
GOPROXY ?= https://proxy.golang.com.cn,https://goproxy.cn,https://proxy.golang.org
export GOPROXY
LAUNCH ?= "launch"

.PHONY: ci
Expand Down Expand Up @@ -1040,7 +1048,7 @@ fmt:

.PHONY: install-static-check-tools
install-static-check-tools:
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | bash -s -- -b $(GOPATH)/bin v2.6.2
@GOBIN="$(GOPATH)/bin" go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.2
@go install github.com/matrixorigin/linter/cmd/molint@latest
@go install github.com/apache/skywalking-eyes/cmd/[email protected]

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/matrixorigin/matrixone

// Minimum Go version required
go 1.25.4
go 1.26.4

require (
github.com/BurntSushi/toml v1.2.1
Expand All @@ -23,7 +23,7 @@ require (
github.com/aws/smithy-go v1.22.1
github.com/axiomhq/hyperloglog v0.2.6
github.com/buger/jsonparser v1.1.1
github.com/bytedance/sonic v1.15.0
github.com/bytedance/sonic v1.15.2
github.com/cakturk/go-netstat v0.0.0-20200220111822-e5b49efee7a5
github.com/cespare/xxhash/v2 v2.3.0
github.com/charmbracelet/bubbletea v1.3.10
Expand Down Expand Up @@ -136,7 +136,7 @@ require (
github.com/bits-and-blooms/bitset v1.24.2 // indirect
github.com/bufbuild/protocompile v0.6.0 // indirect
github.com/bytedance/gopkg v0.1.3 // indirect
github.com/bytedance/sonic/loader v0.5.0 // indirect
github.com/bytedance/sonic/loader v0.5.1 // indirect
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
github.com/charmbracelet/lipgloss v1.1.0 // indirect
github.com/charmbracelet/x/ansi v0.10.1 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ github.com/buger/jsonparser v1.1.1 h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMU
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
github.com/bytedance/gopkg v0.1.3 h1:TPBSwH8RsouGCBcMBktLt1AymVo2TVsBVCY4b6TnZ/M=
github.com/bytedance/gopkg v0.1.3/go.mod h1:576VvJ+eJgyCzdjS+c4+77QF3p7ubbtiKARP3TxducM=
github.com/bytedance/sonic v1.15.0 h1:/PXeWFaR5ElNcVE84U0dOHjiMHQOwNIx3K4ymzh/uSE=
github.com/bytedance/sonic v1.15.0/go.mod h1:tFkWrPz0/CUCLEF4ri4UkHekCIcdnkqXw9VduqpJh0k=
github.com/bytedance/sonic/loader v0.5.0 h1:gXH3KVnatgY7loH5/TkeVyXPfESoqSBSBEiDd5VjlgE=
github.com/bytedance/sonic/loader v0.5.0/go.mod h1:AR4NYCk5DdzZizZ5djGqQ92eEhCCcdf5x77udYiSJRo=
github.com/bytedance/sonic v1.15.2 h1:90H+rcF/FwLXwfB1cudOLq/je83n683Utf4Cbp0xHCo=
github.com/bytedance/sonic v1.15.2/go.mod h1:mT2NbXunuaEbnZ+mRIX/vYqKISmgEuHFDI4UzmKx2SA=
github.com/bytedance/sonic/loader v0.5.1 h1:Ygpfa9zwRCCKSlrp5bBP/b/Xzc3VxsAW+5NIYXrOOpI=
github.com/bytedance/sonic/loader v0.5.1/go.mod h1:AR4NYCk5DdzZizZ5djGqQ92eEhCCcdf5x77udYiSJRo=
github.com/cakturk/go-netstat v0.0.0-20200220111822-e5b49efee7a5 h1:BjkPE3785EwPhhyuFkbINB+2a1xATwk8SNDWnJiD41g=
github.com/cakturk/go-netstat v0.0.0-20200220111822-e5b49efee7a5/go.mod h1:jtAfVaU/2cu1+wdSRPWE2c1N2qeAA3K4RH9pYgqwets=
github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=
Expand Down
2 changes: 1 addition & 1 deletion optools/bvt_ut/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM matrixorigin/tester:go1.25.4-jdk8
FROM matrixorigin/tester:go1.26.4-jdk8

ARG GOPROXY="https://proxy.golang.org,direct"

Expand Down
2 changes: 1 addition & 1 deletion optools/compose_bvt/Dockerfile.tester
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM matrixorigin/tester:go1.25.4-jdk8
FROM matrixorigin/tester:go1.26.4-jdk8

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion optools/images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM matrixorigin/golang:1.25-ubuntu22.04 AS builder
FROM matrixorigin/golang:1.26.4-ubuntu22.04 AS builder

# goproxy
ARG GOPROXY="https://proxy.golang.org,direct"
Expand Down
2 changes: 1 addition & 1 deletion optools/images/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - Binary is built inside container using local make build
# - Much faster iteration cycle for development

FROM matrixorigin/golang:1.25-ubuntu22.04
FROM matrixorigin/golang:1.26.4-ubuntu22.04

# Install build dependencies and runtime libraries
RUN apt-get update && apt-get install -y \
Expand Down
Loading