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

facebookincubator / TTPForge / 19505669106
50%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D89671295
DEFAULT BRANCH: main
Ran 19 Nov 2025 02:56PM UTC
Jobs 1
Files 56
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2025 02:54PM UTC coverage: 50.431%. First build
19505669106

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

19 of 43 new or added lines in 4 files covered. (44.19%)

1757 of 3484 relevant lines covered (50.43%)

9.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
80.0
pkg/args/spec.go
16
51.52
cmd/validate.go
Jobs
ID Job ID Ran Files Coverage
1 19505669106.1 19 Nov 2025 02:56PM UTC 56
50.43
GitHub Action Run
Source Files on build 19505669106
  • Tree
  • List 56
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #574
  • Delete
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