feat: align AI configuration and task trunk concurrency with shared schema

This commit is contained in:
2026-10-08 23:34:17 +08:00
parent 3d3d1900ff
commit 12c6bd63f1
68 changed files with 1524 additions and 1425 deletions
+4 -1
View File
@@ -4,6 +4,9 @@ set -eu
profile=${COVER_PROFILE:-/tmp/go-sip-coverage.out}
business_profile=${COVER_BUSINESS_PROFILE:-/tmp/go-sip-coverage-business.out}
GOMAXPROCS=${GOMAXPROCS:-2} go test -p 1 -coverpkg=./... -coverprofile="$profile" ./...
# Coverage patterns also match local module replacements. Instrument only
# this module's explicit package list, not the checked-in third-party SDK.
packages=$(go list ./... | paste -sd, -)
GOMAXPROCS=${GOMAXPROCS:-2} go test -p 1 -coverpkg="$packages" -coverprofile="$profile" ./...
awk 'NR == 1 || index($0, "/gen/") == 0' "$profile" > "$business_profile"
go tool cover -func="$business_profile"