From d760e0aba70062248d67d5b73c6de75483b0266c Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 17 Aug 2026 17:13:45 +0200 Subject: [PATCH] chore: restore the debug build tag in CI roadrunner-server/errors gates stack capture on the debug tag: debug_cap.go is !debug and stubs populateStack/printStack out, while debug_stack.go captures the caller chain and prints file:line per frame. Without the tag a CI failure shows a bare error string instead of the call chain. --- .github/workflows/linux.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d60ae68..e068b07 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -44,12 +44,12 @@ jobs: - name: Run config unit tests with coverage run: | - go test -timeout 20m -v -race -cover -coverpkg=./... -coverprofile=./tests/coverage-ci/configu.out -covermode=atomic ./... + go test -timeout 20m -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./tests/coverage-ci/configu.out -covermode=atomic ./... - name: Run golang tests with coverage run: | cd tests - go test -timeout 20m -v -race -cover -coverpkg=github.com/roadrunner-server/config/v6/... -coverprofile=./coverage-ci/config.out -covermode=atomic ./... + go test -timeout 20m -v -race -cover -tags=debug -coverpkg=github.com/roadrunner-server/config/v6/... -coverprofile=./coverage-ci/config.out -covermode=atomic ./... - name: Transform coverage files run: |