Expand description
PR comment rendering for cockpitctl.
Renderer must:
- be deterministic
- be budgeted
- link to artifacts rather than dumping content
It should not parse sensor-specific markdown. Link only.
Structs§
- Annotation
Render Result - Result of annotation rendering, tracking whether truncation occurred.
- GitHub
Annotation Result - Result of GitHub annotation rendering.
Functions§
- append_
comment_ sections - Append externally supplied comment sections before the cockpit end marker.
- render_
annotations - Render annotations (file-level or inline findings) with capping.
- render_
annotations_ section - Render annotations section for the PR comment.
- render_
buildfix_ apply_ section - Render buildfix apply evidence (if present) as a markdown section.
- render_
buildfix_ section - Render a buildfix summary as a markdown section for the PR comment.
- render_
comment - render_
github_ annotations - Render GitHub Actions workflow command annotations from highlights.
- render_
policy_ signature_ section - Render policy signature evidence as a markdown section for the PR comment.
- render_
trend_ section - Render a trend delta as a markdown section for the PR comment.