You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Code Quality] Improve error messages with typo detection in engine validation #14087
When users specify an invalid engine name, they receive a generic error listing valid options. However, common typos like "co-pilot" (instead of "copilot") or "claude-3" (instead of "claude") could be detected and corrected immediately, reducing troubleshooting time.
Suggested Changes
Enhance pkg/workflow/engine_validation.go (lines 68-71) to detect common typos and provide specific "Did you mean?" suggestions:
Add pattern matching for common typos:
"co-pilot" or "co pilot" → suggest "copilot"
"claude-3" or "claude3" → suggest "claude"
"gpt" or "openai" → suggest "codex"
Include suggestion in error message when pattern matches
Maintain existing error format with valid engine list
Files Affected
pkg/workflow/engine_validation.go (lines 68-71)
Success Criteria
At least 3 common typo patterns detected
Error messages provide specific "Did you mean?" suggestions
Existing error format preserved with added suggestion
Reduces troubleshooting time from 2-3 minutes to immediate resolution
Activity
github-actions commentedon Feb 7, 2026
This issue was automatically closed because it expired on 2026-02-07T09:12:12.930Z.