From 021b0982f47d8a3e3641d516d1407d6d939779aa Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Tue, 10 Mar 2026 08:33:04 +1000 Subject: [PATCH] fix: bump go 1.26.1 references and fix gosec G104 in hiveui --- hive/services/hiveui/hiveui.go | 2 +- scripts/iac/proxmox-template/README.md | 2 +- scripts/workload-performance.sh | 4 ++-- tests/e2e/Dockerfile.e2e | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hive/services/hiveui/hiveui.go b/hive/services/hiveui/hiveui.go index ceae58ec8..fb75e6f30 100644 --- a/hive/services/hiveui/hiveui.go +++ b/hive/services/hiveui/hiveui.go @@ -384,7 +384,7 @@ func (ln *tlsSplitListener) Accept() (net.Conn, error) { var buf [1]byte if _, err := io.ReadFull(conn, buf[:]); err != nil { - conn.Close() + _ = conn.Close() continue } diff --git a/scripts/iac/proxmox-template/README.md b/scripts/iac/proxmox-template/README.md index 09647b216..907d617d4 100644 --- a/scripts/iac/proxmox-template/README.md +++ b/scripts/iac/proxmox-template/README.md @@ -7,7 +7,7 @@ Builds a Proxmox VM template with all Hive dependencies pre-installed. Cloning f | Component | Details | |---|---| | System packages | QEMU, nbdkit, libvirt, gcc, jq, curl, etc. (`make install-system`) | -| Go | 1.26.0 (`make install-go`) | +| Go | 1.26.1 (`make install-go`) | | AWS CLI | v2 (`make install-aws`) | | Repositories | hive, viperblock, predastore (with `go.work` configured) | | Module cache | `go mod download` completed for all repos | diff --git a/scripts/workload-performance.sh b/scripts/workload-performance.sh index 2ca77bbd7..5f311b2ab 100644 --- a/scripts/workload-performance.sh +++ b/scripts/workload-performance.sh @@ -5,8 +5,8 @@ sudo apt update sudo apt install -y make gcc git -wget https://go.dev/dl/go1.26.0.linux-amd64.tar.gz -sudo tar -C /usr/local -xzf go1.26.0.linux-amd64.tar.gz +wget https://go.dev/dl/go1.26.1.linux-amd64.tar.gz +sudo tar -C /usr/local -xzf go1.26.1.linux-amd64.tar.gz echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.bashrc source $HOME/.bashrc diff --git a/tests/e2e/Dockerfile.e2e b/tests/e2e/Dockerfile.e2e index e0f0b7dbd..c51dba238 100644 --- a/tests/e2e/Dockerfile.e2e +++ b/tests/e2e/Dockerfile.e2e @@ -37,7 +37,7 @@ RUN mkdir -p /root/images && \ # 1. Pre-copy dependency manifests for cache layer # go.work is gitignored (generated by init-workspace.sh), so create it inline -RUN printf 'go 1.26.0\n\nuse (\n\t./hive\n\t./predastore\n\t./viperblock\n)\n' > go.work +RUN printf 'go 1.26.1\n\nuse (\n\t./hive\n\t./predastore\n\t./viperblock\n)\n' > go.work COPY hive/go.mod hive/go.sum ./hive/ COPY viperblock/go.mod viperblock/go.sum ./viperblock/ COPY viperblock/nbd/go.mod viperblock/nbd/go.sum ./viperblock/nbd/