From 221691e609505e2aec1c0dcb66a4a47d16f883f9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 2 Sep 2026 13:10:14 +0000 Subject: [PATCH 1/2] Initial plan From 869a5e10b54d6a82ea30c7f4f45b94dfebe61d22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 2 Sep 2026 13:22:02 +0000 Subject: [PATCH 2/2] Fix Daily Go Test Parallelizer Codex model Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .../daily-go-test-parallelizer.lock.yml | 16 +++++++------- .../workflows/daily-go-test-parallelizer.md | 2 +- pkg/workflow/prompts_test.go | 21 +++++++++++++++++++ 3 files changed, 30 insertions(+), 9 deletions(-) diff --git a/.github/workflows/daily-go-test-parallelizer.lock.yml b/.github/workflows/daily-go-test-parallelizer.lock.yml index 76a645f2587..74be7469739 100644 --- a/.github/workflows/daily-go-test-parallelizer.lock.yml +++ b/.github/workflows/daily-go-test-parallelizer.lock.yml @@ -1,4 +1,4 @@ -# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"b8b5a49437f76396d5b7e29bfadbbb2ef4028731d07cea8cb28d6ae8c8db9d74","body_hash":"06fa9b37d746fa94252c417c71816c0129e88e9612acb331cb5cbd22c16a3620","strict":true,"agent_id":"codex","agent_model":"openai/gpt-5.4","engine_versions":{"codex":"0.150.1"}} +# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"dbbcb4e76d46b367a3aebcdf872487d28a72856c0384bf2b6cc3a6c29bdefac0","body_hash":"06fa9b37d746fa94252c417c71816c0129e88e9612acb331cb5cbd22c16a3620","strict":true,"agent_id":"codex","agent_model":"openai/gpt-5.3-codex","engine_versions":{"codex":"0.150.1"}} # gh-aw-manifest: {"version":1,"secrets":["CODEX_API_KEY","COPILOT_GITHUB_TOKEN","GH_AW_CI_TRIGGER_TOKEN","GH_AW_DEFAULT_OTLP_HEADERS","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN","OPENAI_API_KEY"],"actions":[{"repo":"actions/cache/restore","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/cache/save","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"820762786026740c76f36085b0efc47a31fe5020","version":"v7.0.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.28.12","digest":"sha256:390051be4ed1847f774fd8980b61d3a3523574c0175d00c3fc7cdf2002a88202","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.28.12@sha256:390051be4ed1847f774fd8980b61d3a3523574c0175d00c3fc7cdf2002a88202"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.28.12","digest":"sha256:d7d533d87c80d87ff91ac0e21e9299055c3beedff1536262b97ed700fb065a32","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.28.12@sha256:d7d533d87c80d87ff91ac0e21e9299055c3beedff1536262b97ed700fb065a32"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.28.12","digest":"sha256:52c34aca98d2a6833c329f1505912a6949c4fda16618c010c979bd59ea99254f","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.28.12@sha256:52c34aca98d2a6833c329f1505912a6949c4fda16618c010c979bd59ea99254f"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.4.14","digest":"sha256:b2f0c2b2f17b5fbe809e5bb99dc185b6ddd70df25295dc63a6d526350334eff5","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.4.14@sha256:b2f0c2b2f17b5fbe809e5bb99dc185b6ddd70df25295dc63a6d526350334eff5"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:bac2192f6374d6262116399b34fc5e143d576f82719e90a18261cae7480f4d4e","pinned_image":"ghcr.io/github/gh-aw-node@sha256:bac2192f6374d6262116399b34fc5e143d576f82719e90a18261cae7480f4d4e"},{"image":"ghcr.io/github/github-mcp-server:v1.11.0","digest":"sha256:fbec75de11c255213fa08d80fb166abe73d851fff631c51c0079872967720699","pinned_image":"ghcr.io/github/github-mcp-server:v1.11.0@sha256:fbec75de11c255213fa08d80fb166abe73d851fff631c51c0079872967720699"}],"mcp_servers":[{"name":"github","tools":["get_commit","get_file_contents","get_latest_release","get_me","get_pull_request","get_pull_request_comments","get_pull_request_diff","get_pull_request_files","get_pull_request_review_comments","get_pull_request_reviews","get_pull_request_status","get_release_by_tag","get_tag","issue_read","list_branches","list_commits","list_issue_types","list_issues","list_pull_requests","list_releases","list_starred_repositories","list_tags","pull_request_read","search_code","search_issues","search_pull_requests","search_repositories"]},{"name":"safeoutputs","tools":["create_pull_request","missing_data","missing_tool","noop"]}]} # This file was automatically generated by gh-aw. DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md # @@ -147,7 +147,7 @@ jobs: env: GH_AW_INFO_ENGINE_ID: "codex" GH_AW_INFO_ENGINE_NAME: "Codex" - GH_AW_INFO_MODEL: "openai/gpt-5.4" + GH_AW_INFO_MODEL: "openai/gpt-5.3-codex" GH_AW_INFO_VERSION: "0.150.1" GH_AW_INFO_AGENT_VERSION: "0.150.1" GH_AW_INFO_WORKFLOW_NAME: "Daily Go Test Parallelizer" @@ -1022,7 +1022,7 @@ jobs: GH_AW_LLM_PROVIDER: openai GH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }} GH_AW_MCP_CONFIG: ${{ runner.temp }}/gh-aw/mcp-config/config.toml - GH_AW_MODEL_AGENT_CODEX: openai/gpt-5.4 + GH_AW_MODEL_AGENT_CODEX: openai/gpt-5.3-codex GH_AW_PHASE: agent GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt GH_AW_SAFE_OUTPUTS: ${{ steps.set-runtime-paths.outputs.GH_AW_SAFE_OUTPUTS }} @@ -1772,7 +1772,7 @@ jobs: GH_AW_LLM_PROVIDER: openai GH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }} GH_AW_MCP_CONFIG: ${{ runner.temp }}/gh-aw/mcp-config/config.toml - GH_AW_MODEL_DETECTION_CODEX: openai/gpt-5.4 + GH_AW_MODEL_DETECTION_CODEX: openai/gpt-5.3-codex GH_AW_PHASE: detection GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt GH_AW_VERSION: dev @@ -1940,7 +1940,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_EVALS_QUESTIONS: '[{"id":"tests_analyzed","question":"Did the agent analyze Go tests to identify a safe candidate for t.Parallel?"},{"id":"pr_created_or_noop","question":"Did the agent create a pull request for a safe test change, or use noop when no safe change was available?"}]' - GH_AW_EVALS_MODEL: "openai/gpt-5.4" + GH_AW_EVALS_MODEL: "openai/gpt-5.3-codex" GH_AW_EVALS_PHASE: setup with: script: | @@ -2100,7 +2100,7 @@ jobs: GH_AW_LLM_PROVIDER: openai GH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }} GH_AW_MCP_CONFIG: ${{ runner.temp }}/gh-aw/mcp-config/config.toml - GH_AW_MODEL_EVALS_CODEX: openai/gpt-5.4 + GH_AW_MODEL_EVALS_CODEX: openai/gpt-5.3-codex GH_AW_PHASE: evals GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt GH_AW_VERSION: dev @@ -2132,7 +2132,7 @@ jobs: uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: GH_AW_EVALS_QUESTIONS: '[{"id":"tests_analyzed","question":"Did the agent analyze Go tests to identify a safe candidate for t.Parallel?"},{"id":"pr_created_or_noop","question":"Did the agent create a pull request for a safe test change, or use noop when no safe change was available?"}]' - GH_AW_EVALS_MODEL: "openai/gpt-5.4" + GH_AW_EVALS_MODEL: "openai/gpt-5.3-codex" GH_AW_EVALS_PHASE: parse GITHUB_RUN_ID: ${{ github.run_id }} with: @@ -2351,7 +2351,7 @@ jobs: GH_AW_DETECTION_REASON: ${{ needs.detection.outputs.detection_reason }} GH_AW_EFFECTIVE_TOKENS: ${{ needs.agent.outputs.effective_tokens }} GH_AW_ENGINE_ID: "codex" - GH_AW_ENGINE_MODEL: "openai/gpt-5.4" + GH_AW_ENGINE_MODEL: "openai/gpt-5.3-codex" GH_AW_PROJECT_UTC: "-08:00" GH_AW_RUNTIME_FEATURES: ${{ vars.GH_AW_RUNTIME_FEATURES }} GH_AW_THREAT_DETECTION_AIC: ${{ needs.detection.outputs.aic }} diff --git a/.github/workflows/daily-go-test-parallelizer.md b/.github/workflows/daily-go-test-parallelizer.md index 72755b9d2bd..4fe3e59fb11 100644 --- a/.github/workflows/daily-go-test-parallelizer.md +++ b/.github/workflows/daily-go-test-parallelizer.md @@ -13,7 +13,7 @@ permissions: engine: id: codex model-provider: openai -model: openai/gpt-5.4 +model: openai/gpt-5.3-codex strict: true timeout-minutes: 30 network: diff --git a/pkg/workflow/prompts_test.go b/pkg/workflow/prompts_test.go index 3a6eecbe4fc..50d9ff1dac9 100644 --- a/pkg/workflow/prompts_test.go +++ b/pkg/workflow/prompts_test.go @@ -603,6 +603,27 @@ func TestDailyModelResolutionUsesCopilotEngineWithMiniSubAgentModel(t *testing.T } } +func TestDailyGoTestParallelizerUsesCodexCompatibleModel(t *testing.T) { + repoRoot, err := findRepoRoot() + if err != nil { + t.Fatalf("Failed to find repo root: %v", err) + } + + workflowFile := filepath.Join(repoRoot, ".github", "workflows", "daily-go-test-parallelizer.md") + content, err := os.ReadFile(workflowFile) + if err != nil { + t.Fatalf("Failed to read workflow file: %v", err) + } + + workflow := string(content) + if !strings.Contains(workflow, "id: codex") { + t.Fatal("Expected daily-go-test-parallelizer workflow to use the Codex engine") + } + if !strings.Contains(workflow, "model: openai/gpt-5.3-codex") { + t.Fatal("Expected daily-go-test-parallelizer workflow to use a Codex-compatible OpenAI model") + } +} + // ============================================================================ // Playwright Prompt Tests // ============================================================================