From e6bfc8f55d46fab1e8ea69ffd7c29cf20df462ce Mon Sep 17 00:00:00 2001 From: Jeroen Rinzema Date: Mon, 30 Nov 2026 11:58:41 +0100 Subject: [PATCH] build: run go with the garbage collector enabled - GO carried GOGC=off, which reached every test binary through the environment. Under -race with -p 4 the heap of the long-running controller packages only grew until the runner VM ran out of memory and was shut down (exit 143, 'runner has received a shutdown signal'). - The same suite run as plain go test -race -p 4 on the same ubuntu-24.04 image (20261122.23.1) passes with at least 10 GB of 16 GB still available and no swap used. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9f9c7d92..e928d283 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ BUILD_DIR = $(CURDIR)/build GOPATH = $(HOME)/go GOBIN = $(GOPATH)/bin -GO ?= GOGC=off $(shell which go) +GO ?= $(shell which go) TINYGO ?= $(shell which tinygo) NODE ?= $(shell which node) PNPM ?= $(shell which pnpm)