From 0fed925323e929a7d9ed6bdb1625b5e8445558eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 2 Jan 2026 21:32:03 +0000 Subject: [PATCH 1/2] Initial plan From 11b689b882e261b7fc73bd75595b4613c009dd75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 2 Jan 2026 21:43:07 +0000 Subject: [PATCH 2/2] Fix testifylint violations in gateway_test.go Replace assert.True with assert.Less for comparison operations to comply with testifylint rules Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/gateway_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/workflow/gateway_test.go b/pkg/workflow/gateway_test.go index 1dc97f66f9d..0950fa0e6a0 100644 --- a/pkg/workflow/gateway_test.go +++ b/pkg/workflow/gateway_test.go @@ -776,8 +776,8 @@ func TestGenerateMCPGatewayStartStep_WithEnvVars(t *testing.T) { ghAwPos := strings.Index(stepStr, "GH_AW_SAFE_OUTPUTS") githubMcpPos := strings.Index(stepStr, "GITHUB_MCP_SERVER_TOKEN") githubTokenPos := strings.Index(stepStr, "GITHUB_TOKEN") - assert.True(t, ghAwPos < githubMcpPos, "GH_AW_SAFE_OUTPUTS should come before GITHUB_MCP_SERVER_TOKEN") - assert.True(t, githubMcpPos < githubTokenPos, "GITHUB_MCP_SERVER_TOKEN should come before GITHUB_TOKEN") + assert.Less(t, ghAwPos, githubMcpPos, "GH_AW_SAFE_OUTPUTS should come before GITHUB_MCP_SERVER_TOKEN") + assert.Less(t, githubMcpPos, githubTokenPos, "GITHUB_MCP_SERVER_TOKEN should come before GITHUB_TOKEN") } func TestGenerateMCPGatewayStartStep_WithoutEnvVars(t *testing.T) {