From aa128b4d54ced2ea3b31030797414fbb9aee7107 Mon Sep 17 00:00:00 2001 From: Adam Fisk Date: Thu, 5 Mar 2026 12:13:23 -0700 Subject: [PATCH] Add with_clash_api,with_conntrack build tags to CI tests The Makefile already uses these tags for all production builds, but the go.yml CI workflow ran tests without them. This meant conntrack (connection tracking) was disabled in tests, so code paths like graceful connection draining were never exercised in CI. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f1c531e36a..0dc58b2e37 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -43,4 +43,4 @@ jobs: fi - name: Run tests - run: CGO_ENABLED=1 go test -v ./... + run: CGO_ENABLED=1 go test -v -tags with_clash_api,with_conntrack ./...