Company
Date Published
April 9, 2024
Author
Carl Bergenhem
Word count
717
Language
English
Hacker News points
None

Summary

The article discusses filters in Sleuth Automation framework, which are used with sets of Work in Progress Items or pull requests. Filters follow a pattern of variable -> operator -> value and are applied to each item in a set. They differ from conditions as the latter is applied to individual deploys/pull requests/WIP items or the whole set of WIP items/pull requests. Sleuth Automation filters share variables and operators with conditions, such as coding_time, deploying_time, pr_is_draft, and pr_is_ignored. The article provides an example of using filters in a Custom Sleuth Automation that notifies when the deploying time for a merged pull request exceeds a limit.