From 09e30328232cce7424e07231c171f8ed07eb6708 Mon Sep 17 00:00:00 2001 From: XuPeng-SH Date: Wed, 28 Oct 2026 01:35:00 -0400 Subject: [PATCH] ci: reduce SCA memory pressure on ARM runners --- .github/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index babe825..5ed0dff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -847,4 +847,6 @@ jobs: # Run cheap policy checks before the long analyzers so an invalid PR # fails in seconds rather than consuming the full SCA critical path. - make static-check-analysis GOLANGCI_LINT_CONCURRENCY=1 + # Keep room for the runner on the 8 GiB ARM worker. This is a soft + # limit per Go process, and an explicit setting takes precedence. + GOMEMLIMIT="${GOMEMLIMIT:-5GiB}" make static-check-analysis GOLANGCI_LINT_CONCURRENCY=1