MCPcopy Create free account
hub / github.com/compozy/agh / Validate

Method Validate

internal/task/validate.go:977–982  ·  view source on GitHub ↗

Validate reports whether the scheduler backlog filters are internally consistent.

(path string)

Source from the content-addressed store, hash-verified

975
976// Validate reports whether the scheduler backlog filters are internally consistent.
977func (q SchedulerBacklogQuery) Validate(path string) error {
978 if q.Scope.Normalize() == "" {
979 return nil
980 }
981 return ValidateScopeBinding(q.Scope, q.WorkspaceID, path, "workspace_id")
982}
983
984// Validate reports whether the task-run query filters are internally consistent.
985func (q RunQuery) Validate(path string) error {

Callers

nothing calls this directly

Calls 2

ValidateScopeBindingFunction · 0.70
NormalizeMethod · 0.45

Tested by

no test coverage detected