policy-bot icon indicating copy to clipboard operation
policy-bot copied to clipboard

Feature Request: Allow for displaying multiple reasons for a predicate failure

Open derekjobst opened this issue 3 years ago • 0 comments

Predicates can sometimes fail for multiple reasons. For example, a disapproval predicate for title formatting could fail due to matching multiple regex patterns.

Currently, only the first pattern to fail will be displayed. If an author makes a correction, it may not comply with other silently failing patterns and fail again after the fix. This could be frustrating for users.

Part of the solution may include an extension of approve#Evaluate such as this.

derekjobst avatar Jan 13 '21 22:01 derekjobst