Skip to main content

replay validate

Check that a workflow file is syntactically and structurally valid without running it.

Usage

Example

Valid Output

Cycle Detected

Invalid YAML

What It Checks

  • Required fieldsname, step type, step name uniqueness
  • Step type-specific fields — HTTP needs request block, shell needs command, etc.
  • Mutually exclusive fields — e.g., query and command on DB steps, request and db on HTTP steps
  • Timeout formats — Validates duration strings like 30s, 5m
  • Loop foreach format — Must be list, item
  • If condition format — Must be [path, op, value] (3 elements)
  • Assert/Extract — Checks for empty keys and paths
  • Unknown fields — Rejects YAML keys that do not match the schema

Exit Codes