Home / Companies / Sleuth / Blog / Post Details
Content Deep Dive

Sleuth's Custom Automation Framework Deep-Dive: Filters

Blog post from Sleuth

Post Details
Company
Date Published
Author
Carl Bergenhem
Word Count
717
Language
English
Hacker News Points
-
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.