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

facebookincubator / TTPForge
66%
main: 67%

Build:
Build:
LAST BUILD BRANCH: export-D82462428
DEFAULT BRANCH: main
Repo Added 14 Aug 2023 10:15AM UTC
Token Ra8RGMp9erWTTLNu6nJqTb1aoVijgYIX7 regen
Build 414 Last
Files 69
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

LAST BUILD ON BRANCH export-D78521586
branch: export-D78521586
CHANGE BRANCH
x
Reset
Sync Branches
  • export-D78521586
  • container
  • container-fix
  • coverage
  • dep-lock
  • dependabot/go_modules/golang.org/x/crypto-0.35.0
  • doc-pc
  • expect
  • expected-step-failure
  • export-D50618372
  • export-D50635423
  • export-D50708311
  • export-D50892103
  • export-D50990440
  • export-D51069461
  • export-D51070150
  • export-D51139869
  • export-D51171741
  • export-D51180590
  • export-D51306975
  • export-D51307671
  • export-D51407546
  • export-D51428503
  • export-D51434166
  • export-D51434373
  • export-D51435517
  • export-D51437115
  • export-D51439700
  • export-D51449622
  • export-D51449668
  • export-D51451469
  • export-D51457037
  • export-D51458305
  • export-D51459133
  • export-D51459399
  • export-D51459508
  • export-D51459753
  • export-D51467408
  • export-D51475492
  • export-D51482864
  • export-D51495585
  • export-D51498587
  • export-D51520144
  • export-D51520434
  • export-D59696048
  • export-D59864499
  • export-D60238880
  • export-D60419102
  • export-D60423533
  • export-D60686691
  • export-D61042469
  • export-D61387125
  • export-D61657101
  • export-D61658174
  • export-D61662534
  • export-D62530409
  • export-D63457210
  • export-D63702296
  • export-D64108097
  • export-D65080213
  • export-D65831540
  • export-D66702400
  • export-D68783463
  • export-D69546940
  • export-D69863376
  • export-D69953549
  • export-D70136417
  • export-D70192169
  • export-D70499233
  • export-D71635625
  • export-D71739496
  • export-D71841703
  • export-D72669013
  • export-D72670580
  • export-D73053704
  • export-D76082173
  • export-D77463007
  • export-D77619765
  • export-D78497399
  • export-D78701235
  • export-D78753717
  • export-D78761882
  • export-D79202811
  • export-D79562207
  • export-D80822110
  • export-D80826527
  • export-D81613044
  • export-D82462426
  • export-D82462427
  • export-D82462428
  • fix-no-cleanup
  • fixup-T168084774-main
  • forge-integration-tests
  • magefile-updates
  • main
  • mitre-yaml
  • os-and-arch-metadata
  • pt-code-owners
  • renovate/actions-checkout-3.x
  • renovate/actions-checkout-4.x
  • renovate/actions-checkout-digest
  • renovate/actions-setup-python-digest
  • renovate/codespell-project-codespell-2.x
  • renovate/docker-build-push-action-5.x
  • renovate/docker-build-push-action-digest
  • renovate/docker-login-action-3.x
  • renovate/docker-setup-buildx-action-3.x
  • renovate/docker-setup-buildx-action-digest
  • renovate/docker-setup-qemu-action-3.x
  • renovate/github-codeql-action-digest
  • renovate/github.com-l50-goutils-v2-2.x
  • renovate/github.com-spf13-afero-1.x
  • renovate/github.com-tidwall-gjson-1.x
  • renovate/go.uber.org-zap-1.x
  • renovate/golang-1.x
  • renovate/goreleaser-goreleaser-action-5.x
  • renovate/goreleaser-goreleaser-action-digest
  • renovate/pin-dependencies
  • renovate/pre-commit-pre-commit-hooks-4.x
  • renovate/python-3.x
  • renovate/renovatebot-github-action-39.x
  • renovate/returntocorp-semgrep-action-digest
  • renovate/shogo82148-actions-goveralls-digest
  • sfm-create-file-new
  • sfm-create-file-step
  • sfm-downgrade-afero
  • sfm-downgrade-zap
  • sfm-dry-run
  • sfm-edit-and-create-refactor
  • sfm-fix-asdf
  • sfm-fix-indirects
  • sfm-fix-logs-and-remove-viper
  • sfm-fix-template-bug
  • sfm-fix-token
  • sfm-fix-usage
  • sfm-fix-working-directory-handling
  • sfm-install-command
  • sfm-reduce-minimum-go-version
  • sfm-remove-codeowner
  • sfm-remove-json-string
  • sfm-tmp-remove-vscode
  • sfm-update-files-package
  • sfm-update-gjson
  • sfm-update-zap
  • sfm-use-latest-release
  • test
  • test-refactor

21 Jul 2025 09:54PM UTC coverage: 66.361%. First build
16429055613

Pull #545

github

facebook-github-bot
Kill Process Improvements (#545)

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

### Context
Currently the `kill_process` action in TTPForge in cases of failure like `Couldn't find process` and `Couldn't kill process` by default throws an exception which leads to TTP being stopped. While this could be a valid usecase in some situations, allowing user control on whether to throw an error or to print an error and return normally helps make the code versatile.

Following is the decision making in the initial commit of Kill Process Action: [link](https://app.diagrams.net/#G1A4S3RgNffbaMbp40RCpqvmprH1QQvVvi#%7B%22pageId%22%3A%22CNsj_rZLfA5pAP3afiLK%22%7D)
https://pxl.cl/7Lcn3
This flow diagram shows the updated decision making: [link](https://app.diagrams.net/?title=Kill%20Process%20Updated%20Decision%20making.drawio&client=1#G1TePfzl48hKjTKe-K-efOH8F-ASMror7j#%7B%22pageId%22%3A%22CNsj_rZLfA5pAP3afiLK%22%7D)
https://pxl.cl/7Lcmh

### Changes

*   **Code Improvements**: The `kill_process` step has been updated to receive user inputs on actions to take in case of failures like `error_on_find_process_failure` and `error_on_kill_failure`. This facilitates increased control on the code flow by the user to satisfy different needs.
*   **Documentation**: Added an example TTP for reference on the use of the new user inputs for the step `kill_process`.
*   **Testing**: Additional test cases have been added to verify the functionality of the added flags on the `kill_process` step.

### Impact

*   **Improved Usability**: The changes in this diff make it easier for users to control the output of the step on the basis of their needs. (Ignoring or throwing exceptions in cases of failure)

Reviewed By: d0n601

Differential Revision: D78521586
Pull Request #545: Kill Process Improvements

26 of 30 new or added lines in 2 files covered. (86.67%)

2385 of 3594 relevant lines covered (66.36%)

16.43 hits per line

Relevant lines Covered
Build:
Build:
3594 RELEVANT LINES 2385 COVERED LINES
16.43 HITS PER LINE
Source Files on export-D78521586
  • Tree
  • List 64
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16429055613 export-D78521586 Kill Process Improvements (#545) Summary: Pull Request resolved: https://github.com/facebookincubator/TTPForge/pull/545 ### Context Currently the `kill_process` action in TTPForge in cases of failure like `Couldn't find process` and `Couldn't ki... Pull #545 21 Jul 2025 09:57PM UTC facebook-github-bot github
66.36
16428903618 export-D78521586 Kill Process Improvements Summary: ### Context Currently the `kill_process` action in TTPForge in cases of failure like `Couldn't find process` and `Couldn't kill process` by default throws an exception which leads to TTP being stopped. While thi... Pull #545 21 Jul 2025 09:47PM UTC facebook-github-bot github
50.4
See All Builds (404)
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc