From 0dd09e0539704d2af0f4fd6981130e8d522b0a99 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 00:31:40 +0000 Subject: [PATCH 1/4] Initial plan From 39c33d625157b1066ad28cb792f819cddfc652f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 00:53:54 +0000 Subject: [PATCH 2/4] fix: update max-turns error message to show claude example instead of copilot Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/agent_validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/workflow/agent_validation.go b/pkg/workflow/agent_validation.go index bbcc7eaa03..6157435f0a 100644 --- a/pkg/workflow/agent_validation.go +++ b/pkg/workflow/agent_validation.go @@ -113,7 +113,7 @@ func (c *Compiler) validateMaxTurnsSupport(frontmatter map[string]any, engine Co // max-turns is specified, check if the engine supports it if !engine.SupportsMaxTurns() { - return fmt.Errorf("max-turns not supported: engine '%s' does not support the max-turns feature. Use engine: copilot or remove max-turns from your configuration. Example:\nengine:\n id: copilot\n max-turns: 5", engine.GetID()) + return fmt.Errorf("max-turns not supported: engine '%s' does not support the max-turns feature.\nRemove max-turns from your configuration, or switch to an engine that supports it (e.g., claude). Example:\nengine:\n id: claude\n max-turns: 5", engine.GetID()) } // Engine supports max-turns - additional validation could be added here if needed From 7b9bd45ffaf7a07f90e40c62f005e1bd7e944f0e Mon Sep 17 00:00:00 2001 From: Smoke Test Date: Tue, 24 Feb 2026 00:59:36 +0000 Subject: [PATCH 3/4] test: Add smoke test file for run 22331673771 --- smoke-test-22331673771.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 smoke-test-22331673771.json diff --git a/smoke-test-22331673771.json b/smoke-test-22331673771.json new file mode 100644 index 0000000000..0b40afb74e --- /dev/null +++ b/smoke-test-22331673771.json @@ -0,0 +1 @@ +{"smoke_test": "run-22331673771", "status": "pass"} From 7d7bb31af247763da3d6f50eae7b92f2c65aaf20 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Feb 2026 01:19:12 +0000 Subject: [PATCH 4/4] fix: simplify max-turns error message to remove example Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/agent_validation.go | 2 +- smoke-test-22331673771.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/workflow/agent_validation.go b/pkg/workflow/agent_validation.go index 6157435f0a..960ed753b0 100644 --- a/pkg/workflow/agent_validation.go +++ b/pkg/workflow/agent_validation.go @@ -113,7 +113,7 @@ func (c *Compiler) validateMaxTurnsSupport(frontmatter map[string]any, engine Co // max-turns is specified, check if the engine supports it if !engine.SupportsMaxTurns() { - return fmt.Errorf("max-turns not supported: engine '%s' does not support the max-turns feature.\nRemove max-turns from your configuration, or switch to an engine that supports it (e.g., claude). Example:\nengine:\n id: claude\n max-turns: 5", engine.GetID()) + return fmt.Errorf("max-turns not supported: engine '%s' does not support the max-turns feature", engine.GetID()) } // Engine supports max-turns - additional validation could be added here if needed diff --git a/smoke-test-22331673771.json b/smoke-test-22331673771.json index 0b40afb74e..d28cab735d 100644 --- a/smoke-test-22331673771.json +++ b/smoke-test-22331673771.json @@ -1 +1 @@ -{"smoke_test": "run-22331673771", "status": "pass"} +{ "smoke_test": "run-22331673771", "status": "pass" }