fix(release): render release PR descriptions correctly #242

Merged
jwilger merged 2 commits from fix/release-pr-description-quality into main 2026-05-17 23:38:46 -07:00
Owner

Summary

  • Render generated release PR descriptions as normal Markdown paragraphs instead of code blocks.
  • Add a release-prepare workflow contract test for generated PR descriptions.
  • Accept the current generated release PR body in the deterministic metadata bypass so Cheap-tier false negatives do not block release PRs.

Verification

  • just fmt
  • rtk cargo test -p ar-gateway --test ci_workflow_contract
  • rtk cargo test -p ar-review generated_release_pr_metadata_does_not_request_changes_when_cheap_model_over_blocks
  • rtk cargo test -p ar-review
  • just clippy
## Summary - Render generated release PR descriptions as normal Markdown paragraphs instead of code blocks. - Add a release-prepare workflow contract test for generated PR descriptions. - Accept the current generated release PR body in the deterministic metadata bypass so Cheap-tier false negatives do not block release PRs. ## Verification - `just fmt` - `rtk cargo test -p ar-gateway --test ci_workflow_contract` - `rtk cargo test -p ar-review generated_release_pr_metadata_does_not_request_changes_when_cheap_model_over_blocks` - `rtk cargo test -p ar-review` - `just clippy`
fix(review): accept generated release PR metadata
All checks were successful
CI / Format check (pull_request) Successful in 6s
CI / Clippy (pull_request) Successful in 39s
CI / Dependency policy (pull_request) Successful in 12s
CI / Test (pull_request) Successful in 51s
CI / Build (pull_request) Successful in 31s
CI / Request auto_review semantic review (pull_request) Successful in 1s
CI / Build PR artifacts (no token) (pull_request) Successful in 2s
auto_review auto_review: no findings
97fcb27b8e
auto-review left a comment

This PR updates the release PR description format from code blocks to Markdown paragraphs and adds tests to ensure correct rendering. It also modifies the release-prepare workflow to accommodate these changes. The changes appear safe to merge.

Walkthrough

  • .forgejo/workflows/release-prepare.yml:
    • Adjusted the indentation of the release PR description to ensure it is rendered as a Markdown paragraph instead of a code block.
  • crates/ar-gateway/tests/ci_workflow_contract.rs:
    • Added a test to verify that release PR descriptions are correctly formatted as Markdown paragraphs.
    • Introduced a helper function release_pr_descriptions to extract and verify PR descriptions from the workflow script.
  • crates/ar-review/src/pipeline.rs:
    • Updated the logic to recognize both old and new formats of the release PR body to ensure backward compatibility.
This PR updates the release PR description format from code blocks to Markdown paragraphs and adds tests to ensure correct rendering. It also modifies the release-prepare workflow to accommodate these changes. The changes appear safe to merge. ## Walkthrough - **.forgejo/workflows/release-prepare.yml**: - Adjusted the indentation of the release PR description to ensure it is rendered as a Markdown paragraph instead of a code block. - **crates/ar-gateway/tests/ci_workflow_contract.rs**: - Added a test to verify that release PR descriptions are correctly formatted as Markdown paragraphs. - Introduced a helper function `release_pr_descriptions` to extract and verify PR descriptions from the workflow script. - **crates/ar-review/src/pipeline.rs**: - Updated the logic to recognize both old and new formats of the release PR body to ensure backward compatibility.
jwilger deleted branch fix/release-pr-description-quality 2026-05-17 23:38:47 -07:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Slipstream/auto_review!242
No description provided.