Skip to content

v0.2.17

Choose a tag to compare

@github-actions github-actions released this 15 Oct 04:27
4459556
fix: wrap policy failure comments into readable paragraphs (#89)

Policy failure comments rendered the whole rejection in a single preformatted line, making detailed owner-authorization failures horizontally scroll. Render escaped text as wrapping paragraphs with explicit line breaks, and separate sensitive-path reasons, next steps and one matching filename per line. Preserve the original error cause, HTML/mention escaping, length bound, CI/commit metadata and comment lifecycle.

Extend the existing report regression and reuse the shared scratch policy feedback probe during prepare, including multiline publication, superseding failure and hiding on success. No authorization changes. Runtime version 0.2.17. The reported herdr-linear-agent #157 comment was also reformatted in place without changing its decision or metadata.

Validation:
- Two focused existing regressions passed (escaped failure report and rename-sensitive owner explanation); local Clippy and independent review passed.
- [Required CI](https://github.com/civitaspo/securefix-server/actions/runs/38680922934) passed standard tests, formatting, Clippy and workflow checks for `f630be61e66bf647a2218e33d81c3da40430ec65`.
- [Candidate prepare](https://github.com/civitaspo/securefix-server/actions/runs/38680932124/job/116245624903) passed in testing-securefix-server, including actual multiline paragraph/line-break comment publication, failure supersession and minimize-on-success. Candidate client smoke also passed. Fixtures were cleaned up. Unrelated merge/release scenarios were not rerun.
- The original herdr-linear-agent #157 comment was reformatted in place; GitHub body_html confirms ordinary paragraphs and line breaks with no preformatted block, retaining CI/commit links.