From b6888051e7b778cfb1002b243e3a3bfb149c153e Mon Sep 17 00:00:00 2001 From: SaladDay <1203511142@qq.com> Date: Fri, 25 Sep 2026 22:32:30 +0000 Subject: [PATCH] Drop the retired executor transport option from the native no-environment test Since #8 the daemon rejects a non-none CODEX_EXEC_SERVER_URL before setup, so TestNativeNoExecutionEnvironment failed at agent creation. The daemon's own retirement tests cover that rejection; the native test keeps its other caller overrides and proves the no-environment path. --- services/agents-api/internal/store/native_environment_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/agents-api/internal/store/native_environment_test.go b/services/agents-api/internal/store/native_environment_test.go index 6158a54d8..824941ad4 100644 --- a/services/agents-api/internal/store/native_environment_test.go +++ b/services/agents-api/internal/store/native_environment_test.go @@ -107,7 +107,7 @@ func TestNativeNoExecutionEnvironment(t *testing.T) { })) defer model.Close() h.d.Options = func(context.Context, store.Session) (map[string]any, error) { - return map[string]any{"enable_features": []any{"multi_agent", "multi_agent_v2"}, "model_verbosity": "high", "web_search": "live", "codex_provider": map[string]any{"base_url": model.URL + "/v1", "bearer_token": "synthetic-test-token"}, "env": map[string]any{"CODEX_EXEC_SERVER_URL": "ws://127.0.0.1:1"}}, nil + return map[string]any{"enable_features": []any{"multi_agent", "multi_agent_v2"}, "model_verbosity": "high", "web_search": "live", "codex_provider": map[string]any{"base_url": model.URL + "/v1", "bearer_token": "synthetic-test-token"}}, nil } first := h.message("first", "Return an answer.") h.finished(h.run(ctx, first.TurnID), store.TurnCompleted)