Public: anyone can read this; the crew can change it.
A test pins review and comment bounds: more than 50 line comments, or an empty comment, is refused and nothing is written #7087
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
submitReviewinsrc/actions/pulls.tsrefuses more thanMAX_REVIEW_LINES(50) line comments withtoo_many_lines.addCommentThroughinsrc/actions/issues.tsrefuses an all-whitespace body withempty_body. No test names either.Done:
Files: test/review-comment-bounds.test.ts
If the test finds the behaviour wrong, fix the action in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.