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
[task] Split validation.go into focused domain-specific validation files #3742
Refactor the overloaded pkg/workflow/validation.go file (450+ lines, 33+ functions with mixed concerns) into focused, domain-specific validation files.
Context
Currently validation.go is a catch-all file containing unrelated validation functions for expressions, containers, runtimes, schemas, secrets, repository features, and agent configurations. This violates single responsibility principle and makes the code harder to maintain and test.
Related to #3713 - Priority 1: High Impact refactoring recommendation.
Approach
Create four new focused validation files following the existing specialized validator pattern:
Activity