Skip to content

ci: add PR bloat guard - #664

Merged
daithihearn merged 1 commit into
mainfrom
ci/pr-bloat-guard
Oct 15, 2026
Merged

daithihearn merged 1 commit into
mainfrom
ci/pr-bloat-guard

Conversation

@daithi-dev-vm

@daithi-dev-vm daithi-dev-vm Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Ports the PR bloat guard from agent-marketplace. A PR now fails on a description over 240 words (or under 10), a tool-attribution trailer, or a comment block that outweighs the code it documents. The verbose-ok label bypasses it. yarn check:pr-bloat runs it locally, and CLAUDE.md gets the matching "Commits & PRs" guidance.

The script is unchanged apart from the advisory-only paths: agent-marketplace's Prisma and Solidity entries don't apply here, so only Markdown is advisory. The workflow adds permissions: {} and persist-credentials: false for zizmor.

The verbose-ok label doesn't exist in this repo yet. It has to be created before the bypass works, and to make the check block merges it has to be added as a required status check.

Port the PR bloat guard from agent-marketplace. A PR fails on a
description over 240 words (or under 10), a tool-attribution trailer in
the description, or a comment block that outweighs the code it
documents. The `verbose-ok` label bypasses it, and `yarn check:pr-bloat`
runs it locally.

Only Markdown is advisory here; agent-marketplace's Prisma and Solidity
paths don't apply. The workflow adds `permissions: {}` and
`persist-credentials: false` to satisfy zizmor.

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

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: af5cbaf1-ec6a-4ad7-bb22-3608a453b5e4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • 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.

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 9.36 MB

ℹ️ View Unchanged
Filename Size
packages/vechain-kit/dist/assets 4.1 kB
packages/vechain-kit/dist/assets-BpQtJMK4.mjs 51.4 kB
packages/vechain-kit/dist/assets-BpQtJMK4.mjs.map 74.7 kB
packages/vechain-kit/dist/assets-qmvJ4lSm.cjs 59 kB
packages/vechain-kit/dist/assets-qmvJ4lSm.cjs.map 76.2 kB
packages/vechain-kit/dist/assets/index.cjs 717 B
packages/vechain-kit/dist/assets/index.d.cts 973 B
packages/vechain-kit/dist/assets/index.d.mts 973 B
packages/vechain-kit/dist/assets/index.mjs 719 B
packages/vechain-kit/dist/index--hSO7Xv4.d.mts 5.63 kB
packages/vechain-kit/dist/index--hSO7Xv4.d.mts.map 2.99 kB
packages/vechain-kit/dist/index-BuYV7UXW.d.cts 5.63 kB
packages/vechain-kit/dist/index-BuYV7UXW.d.cts.map 2.99 kB
packages/vechain-kit/dist/index-C0-A-ZzS.d.cts 200 kB
packages/vechain-kit/dist/index-C0-A-ZzS.d.cts.map 56.3 kB
packages/vechain-kit/dist/index-PZ4Hbp7s.d.mts 200 kB
packages/vechain-kit/dist/index-PZ4Hbp7s.d.mts.map 55.1 kB
packages/vechain-kit/dist/index.cjs 1.21 MB
packages/vechain-kit/dist/index.cjs.map 3 MB
packages/vechain-kit/dist/index.d.cts 25.3 kB
packages/vechain-kit/dist/index.d.mts 25.3 kB
packages/vechain-kit/dist/index.mjs 1.16 MB
packages/vechain-kit/dist/index.mjs.map 2.94 MB
packages/vechain-kit/dist/utils 4.1 kB
packages/vechain-kit/dist/utils-Bf4wG_2j.cjs 27.4 kB
packages/vechain-kit/dist/utils-Bf4wG_2j.cjs.map 69.8 kB
packages/vechain-kit/dist/utils-Y7vw7K0X.mjs 22.2 kB
packages/vechain-kit/dist/utils-Y7vw7K0X.mjs.map 69 kB
packages/vechain-kit/dist/utils/index.cjs 2.02 kB
packages/vechain-kit/dist/utils/index.d.cts 3.1 kB
packages/vechain-kit/dist/utils/index.d.mts 3.1 kB
packages/vechain-kit/dist/utils/index.mjs 2.04 kB

compressed-size-action

@daithihearn
daithihearn merged commit fffe081 into main Oct 15, 2026
6 of 8 checks passed
@daithihearn
daithihearn deleted the ci/pr-bloat-guard branch October 15, 2026 10:15
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