From d0974aff5a5ae0786da2bf3dd0f89b2bec85ce33 Mon Sep 17 00:00:00 2001 From: "denis.bilenko" Date: Sun, 15 Nov 2026 09:16:26 +0000 Subject: [PATCH] acc: unset OMNIGENT so the host's meta-harness does not leak into user agents The SDK reports a meta-harness/ user-agent dimension when OMNIGENT is set. Running the acceptance suite from an Omnigent session added meta-harness/omnigent to every recorded User-Agent and failed 37 tests. Co-authored-by: Isaac --- acceptance/acceptance_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acceptance/acceptance_test.go b/acceptance/acceptance_test.go index 74ab59d4419..955703d80ef 100644 --- a/acceptance/acceptance_test.go +++ b/acceptance/acceptance_test.go @@ -255,7 +255,8 @@ func testAccept(t *testing.T, inprocessMode bool, selectedTests []string, skipTo // enough: the SDK (since v0.132.0) treats empty values as a truthy // signal because os.LookupEnv reports them as present. // Keep this list in sync with listKnownAgents() in - // github.com/databricks/databricks-sdk-go/useragent/agent.go + // github.com/databricks/databricks-sdk-go/useragent/agent.go and + // listKnownMetaHarnesses() in useragent/meta_harness.go, // plus the AGENT and AI_AGENT generic fallbacks and the CLI's own // AIDEVKIT_HOME detection override. for _, v := range []string{ @@ -273,6 +274,7 @@ func testAccept(t *testing.T, inprocessMode bool, selectedTests []string, skipTo "GEMINI_CLI", "GOOSE_TERMINAL", "KIRO", + "OMNIGENT", "OPENCLAW_SHELL", "OPENCODE", "PI_CODING_AGENT",