Skip to content

ci(lint): Open cleanup PRs when master suppression budgets are stale - #126895

Merged
natemoo-re merged 13 commits into
masterfrom
nm/lint/automate-pruning
Oct 13, 2026
Merged

natemoo-re merged 13 commits into
masterfrom
nm/lint/automate-pruning

Conversation

@natemoo-re

@natemoo-re natemoo-re commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Because we don't require branches to be up-to-date when merging, there are situations where oxlint-suppressions.json could potentially be stale. #126882 made this condition non-failing, but it also causes PRs to spend longer checking their baseline.

In this PR, we add a cleanup workflow that runs the existing full type-aware --prune command and maintains a baseline cleanup PR automatically.

@github-actions github-actions Bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@natemoo-re natemoo-re changed the title ci(lint): Automate stale suppression cleanup PRs ci(lint): Open cleanup PRs when master suppression budgets are stale Oct 8, 2026
@natemoo-re
natemoo-re added this pull request to stack #126916 October 8, 2026 17:41
@natemoo-re
natemoo-re removed this pull request from stack #126916 October 8, 2026 19:12
@natemoo-re
natemoo-re requested a review from a team October 8, 2026 19:28
@natemoo-re
natemoo-re marked this pull request as ready for review October 8, 2026 19:28
@natemoo-re
natemoo-re requested review from a team as code owners October 8, 2026 19:28
@natemoo-re
natemoo-re enabled auto-merge (squash) October 13, 2026 19:50
@natemoo-re
natemoo-re merged commit 2d689be into master Oct 13, 2026
71 checks passed
@natemoo-re
natemoo-re deleted the nm/lint/automate-pruning branch October 13, 2026 19:57

This branch was successfully deployed

1 active deployment
Preview — 7e9d0821 Deployed Oct 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants