Skip to content

fix: ensure blank line before footer in PR review body - #50863

Merged
pelikhan merged 2 commits into
mainfrom
copilot/review-footer-in-issue-comments
Aug 6, 2026
Merged

fix: ensure blank line before footer in PR review body#50863
pelikhan merged 2 commits into
mainfrom
copilot/review-footer-in-issue-comments

Conversation

Copilot AI commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

pr_review_buffer.cjs appended the footer blockquote (> Generated by...) directly to the review body without a \n\n separator, causing the blockquote to render inline with preceding content (e.g. </details>> Generated by...).

All other callers (add_comment.cjs, close_entity_helpers.cjs, comment_memory.cjs, create_issue.cjs) already include the blank line — this was the only site missing it.

  • Fix: body += "\n\n" + generateFooterWithMessages(...) in pr_review_buffer.cjs
  • Test: assertion that the submitted review body matches /\n\n> /

Observed in #50806 (review).

Copilot AI and others added 2 commits August 6, 2026 12:33
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…kdown rendering

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title fix: ensure blank line before footer in PR review body for proper markdown rendering fix: ensure blank line before footer in PR review body Aug 6, 2026
Copilot AI requested a review from pelikhan August 6, 2026 12:36
@pelikhan
pelikhan marked this pull request as ready for review August 6, 2026 12:39
Copilot AI balanced review requested due to automatic review settings August 6, 2026 12:39
@pelikhan
pelikhan merged commit 66c689b into main Aug 6, 2026
@pelikhan
pelikhan deleted the copilot/review-footer-in-issue-comments branch August 6, 2026 12:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes malformed PR review footer rendering by inserting a blank line before the generated blockquote.

Changes:

  • Adds the required Markdown separator before review footers.
  • Adds regression coverage for footer separation.
  • Registers the designer mappings reference in the workflow skill.
Show a summary per file
File Description
actions/setup/js/pr_review_buffer.cjs Separates review content from the footer.
actions/setup/js/pr_review_buffer.test.cjs Tests correct Markdown separation.
.github/skills/agentic-workflows/SKILL.md Lists the designer mappings reference.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.86.0

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.

3 participants