Skip to content

Add ci review --summary for GitHub Actions job summaries - #53

Closed
wfzyx wants to merge 1 commit into
prooflinedev:mainfrom
wfzyx:ci-review-summary
Closed

wfzyx wants to merge 1 commit into
prooflinedev:mainfrom
wfzyx:ci-review-summary

Conversation

@wfzyx

@wfzyx wfzyx commented Nov 9, 2026

Copy link
Copy Markdown

This change adds a --summary [FILE] option to proofline ci review.

When run in GitHub Actions, proofline ci review --summary writes a Markdown job summary directly to $GITHUB_STEP_SUMMARY (or to an explicit FILE path when supplied, e.g. for local preview or other CI runners).

Summary details

  • Overview banner & link: Displays review outcome status badge (COMPLETED, INCOMPLETE, FAILED) and a direct link to the review in Proofline.
  • Metadata: Repository, commit SHA, pull request number and run number.
  • Assessment status table: Lists code and environment assessments, indicating any incompleteness reasons/gaps and counts of open findings.
  • Findings table: Formats non-resolved findings with severity badges, environment, risk domain, claim, and source repository locations. Escapes Markdown table special characters (|, newlines) to preserve table integrity. Zero-finding state renders a clean check indicator.
  • GitHub Actions integration: Appends to $GITHUB_STEP_SUMMARY without clobbering existing step summaries.

Verification

  • Added unit tests for markdown rendering and cell escaping in src/summary.rs.
  • Added integration tests in tests/http.rs covering:
    • --summary <file> writes report to an explicit file path.
    • Bare --summary resolves to $GITHUB_STEP_SUMMARY.
    • Bare --summary without $GITHUB_STEP_SUMMARY fails with a descriptive exit error.
  • Verified test suite passes cleanly with cargo test (unit tests and integration suites).
  • Verified cargo clippy --locked --all-targets -- -D warnings and cargo fmt --check pass without warnings.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-09T05:09:03.603921Z
We couldn’t complete this review. Comment @codex review to try again.
5b6549f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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.

2 participants