Repository navigation
chore(pr-lens): stop adding a block to PR descriptions - #106
Conversation
|
Note The title starts with
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
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. Comment |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes in .github/pr-lens.yml against the upstream PR Lens configuration contract and the repository's PR-body checker.
- Description updates disabled:
github.description: falseprevents PR Lens from appending content after the required attribution line while retaining default diagram comments and automatic drawing. - Required schema version supplied:
schemaVersion: 0.2.0matches the supported upstream contract. A local YAML assertion passed with the expected string and boolean types.
Hosted-app behavior was not exercised end to end. Upstream configuration documentation says GitHub settings are read from the PR's head commit, rather than only after merge.
gpt-6.1-sol | 𝕏

Problem
The PR Lens app appends a description block after the last line of every PR body. The pr-kit check needs that last line to be the
Changes made byline. So the PR body contract check fails on every new PR, for example #101 and #105.Change
A new
.github/pr-lens.ymlturns off the description block. PR Lens still posts its diagrams as a PR comment.Proof
the last line is exactly "Changes made by <model> via <harness>"{"schemaVersion":"0.2.0","github":{"description":false}}PR Lens source, config.ts:
github.descriptionis a boolean, andfalseleaves descriptions alone.schemaVersionhas no.optional(), so the parser rejects a file without it. The current version is0.2.0.Skipped check: PR Lens probably reads this file from the default branch. So the effect on new PRs shows only after merge.
Review
schemaVersion, so PR Lens rejects the whole fileschemaVersion: 0.2.0, checked againstSCHEMA_VERSIONin the PR Lensprimitives.ts.Merge danger
Door: two-way. Revert this PR to undo it.
Blast radius: low. Only PR Lens reads this file, and the PR Lens comment and check do not depend on the description block.
Changes made by Claude Opus 5.5 via Claude Code