• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

facebookincubator / TTPForge / 19439912089

17 Nov 2025 06:12PM UTC coverage: 53.105%. First build
19439912089

Pull #574

github

meta-codesync[bot]
Add ttpforge validate command (#574)

Summary:
Pull Request resolved: https://github.com/facebookincubator/TTPForge/pull/574

Implemented a new `validate` command for TTPForge that performs comprehensive static analysis and validation of TTP YAML files. This command helps ensure TTPs are correctly structured before execution.

The validator performs multiple types of checks:
- Structural validation (required fields, data types, YAML syntax)
- Preamble field validation (api_version, uuid, name)
- Step action validation (ensures required fields for each action type)
- Template variable detection and handling
- Integration with blocks package for runtime validation

The command supports single-file validation, with colored output for errors (red), warnings (yellow), and informational messages (blue). Template-based TTPs are handled gracefully with appropriate warnings when full validation requires runtime arguments.

Reviewed By: d0n601

Differential Revision: D85961391
Pull Request #574: Add ttpforge validate command

22 of 818 new or added lines in 27 files covered. (2.69%)

2155 of 4058 relevant lines covered (53.1%)

14.16 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pkg/validation/steps/remove_path.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc