[Avocado] Make Avocado support permanent suppressions via config #6455
Labels
Central-EngSys
This issue is owned by the Engineering System team.
Spec PR Tools
Tooling that runs in azure-rest-api-specs repo.
AutoRest plugins like LintDiff can be suppressed according to these instructions:
Avocado cannot be suppressed like that (i.e. via AutoRest config file, i.e. the README). It can only by be suppressed for given PR by adding
Approved-Avocado
label.Avocado cannot be suppressed permanently as it is not an AutoRest plugin.
The Avocado call chain looks like that:
script: './node_modules/.bin/avocado -f pipe.log --excludePaths "/common-types/" "/scenarios/" "/package.json" "/package-lock.json" "/cadl/examples/" --includePaths "data-plane" "resource-manager"'
invocation from Avocado.ymlavocado
function definitionThis work item is about making it possible to suppress Avocado permanently.
One possible way to solve this is to make Avocado read and interpret the AutoRest suppression syntax. Avocado is already reading the AutoRest config file (the README) as part of its implementation. This would require reimplementing the AutoRest suppression parsing logic, including json path parsing, inside Avocado.
The text was updated successfully, but these errors were encountered: