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

facebookincubator / TTPForge / 19306122151
50%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D89671295
DEFAULT BRANCH: main
Ran 12 Nov 2025 05:27PM UTC
Jobs 1
Files 60
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

12 Nov 2025 05:23PM UTC coverage: 50.924%. First build
19306122151

Pull #574

github

meta-codesync[bot]
Add ttpforge validate command

Summary:
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

18 of 42 new or added lines in 4 files covered. (42.86%)

1819 of 3572 relevant lines covered (50.92%)

9.26 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
80.0
pkg/args/spec.go
16
50.0
cmd/validate.go
Jobs
ID Job ID Ran Files Coverage
1 19306122151.1 12 Nov 2025 05:27PM UTC 60
50.92
GitHub Action Run
Source Files on build 19306122151
  • Tree
  • List 60
  • 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