Skip to content

Add DevOps suppression filtering - #350

Merged
catalinaperalta merged 5 commits into
mainfrom
devops-suppression-filtering
Aug 19, 2026
Merged

Add DevOps suppression filtering#350
catalinaperalta merged 5 commits into
mainfrom
devops-suppression-filtering

Conversation

@catalinaperalta

Copy link
Copy Markdown
Member

Summary

  • add shared Swagger suppression parsing support
  • filter SwaggerAvocado and SwaggerAll paths before Azure DevOps validation
  • handle deleted files against the target branch and preserve rule-scoped suppressions

Validation

  • npm run build
  • npm run lint
  • npm run format:check
  • npx vitest run src/test/suppressions-test.ts src/test/dev-ops-test.ts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8cad9099-c07c-4bf0-b104-a07ec4d17f69
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Comment thread src/suppressions.ts
Comment thread CHANGELOG.md Outdated
Comment thread src/test/dev-ops-test.ts
Comment thread src/suppressions.ts Outdated
Co-authored-by: catalinaperalta <9859037+catalinaperalta@users.noreply.github.com>
Comment thread src/avocado-suppressions.ts Outdated

@mikeharder Mike Harder (mikeharder) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, except I think we should use the new getSuppressionsForTools() method.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

@catalinaperalta
catalinaperalta merged commit 251c1fa into main Aug 19, 2026
14 checks passed
@catalinaperalta
catalinaperalta deleted the devops-suppression-filtering branch August 19, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants