Skip to content

ci: remove the PR size warning workflow [ENG-6621] - #9787

Draft
xernobyl wants to merge 1 commit into
mainfrom
chore/ENG-6621_remove-pr-size-check
Draft

xernobyl wants to merge 1 commit into
mainfrom
chore/ENG-6621_remove-pr-size-check

Conversation

@xernobyl

Copy link
Copy Markdown
Contributor

Fixes ENG-6621

What & why

Was: Every PR over 800 changed lines got a "PR Size Warning" bot comment asking it to be split or justified.

Now: The workflow is gone, so no PR gets the comment.

  • Review depth follows risk, and PR descriptions already carry a length budget and their evidence.
  • On a deliberately large PR the comment was noise.

Where to look

  • .github/workflows/pr-size-check.yml (deleted): the only file.

Breaking changes

  • This PR contains breaking changes

None: CI-only; it was never a required check.

Migrations & env

  • none

How this was tested

Rerun: gh api repos/formbricks/formbricks/rules/branches/main --jq '[.[] | select(.type=="required_status_checks") | .parameters.required_status_checks[].context]'

Coverage

Behaviour How Outcome
Removing the workflow cannot block a merge manual Not in main's required checks (PR Check Summary, SonarQube, E2E, Linters, Unit Tests)
Nothing else depends on it manual git grep finds no other reference to the workflow or its job

Open gaps

  • none

Risks

  • Very large PRs no longer get an automatic nudge; reviewers ask for a split when it helps.

Note

AI model used — claude-opus-5-5, reasoning effort unknown.

The workflow posted a "PR Size Warning" comment on every pull request over
800 changed lines. Review depth now follows risk, and descriptions carry
their own length budget and evidence, so on a deliberately large PR the
comment only adds noise. It is not a required check and nothing else
references it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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.

1 participant