Skip to content

feat(ci): add rich GitHub Actions job summary ($GITHUB_STEP_SUMMARY) - #66

Closed
Adeolu5678 wants to merge 2 commits into
prooflinedev:mainfrom
Adeolu5678:feature/github-step-summary
Closed

Adeolu5678 wants to merge 2 commits into
prooflinedev:mainfrom
Adeolu5678:feature/github-step-summary

Conversation

@Adeolu5678

Copy link
Copy Markdown

Problem

While Proofline outputs SARIF for CI integration, native GitHub code scanning alerts require a GitHub Advanced Security license on private repositories. For engineering teams on standard plans, Proofline reviews remain hidden in workflow logs. Developers inspecting a completed workflow run benefit from seeing immediate, high-level review metrics directly on the GitHub Actions Run Summary tab.

Solution

This PR adds first-class support for rendering rich GitHub Actions job summaries ($GITHUB_STEP_SUMMARY) to the Proofline CLI:

  1. CLI Flags & Environment Detection: Added --summary to ci review (resolving to $GITHUB_STEP_SUMMARY when set) and --summary-file <FILE> for explicit paths or stdout (-).
  2. Actionable Markdown Output: Renders status indicator badges (🟢 PASS, 🟡 WARNINGS, 🔴 BLOCKING), metadata links, Summary Metrics table, Assessments breakdown, and Open Findings with Markdown character escaping.
  3. Collapsible Details: Embeds finding impact and remediation walkthroughs in collapsible <details> sections for clean PR readability.
  4. Safety & Workspace Hygiene: Zero unsafe code, full adherence to CLI workspace Clippy policies, and atomic file append handling.

Verification

  • Added unit tests in src/summary.rs testing clean reviews, multi-finding reviews, and cell escaping.
  • Added integration tests in tests/http.rs testing summary generation in CI environments.

Copilot AI balanced review requested due to automatic review settings November 16, 2026 20:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

mohsen1 commented Nov 17, 2026

Copy link
Copy Markdown
Member

Codex

Closing as out of scope for the CLI.

@mohsen1 mohsen1 closed this Nov 17, 2026
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