Skip to content

ci(init): generated workflow leaves nothing on the PR conversation; add one updated summary comment #8402

Closed

Description

@EffortlessSteven

Found by running ripr init --ci github and the packet end to end on a sample repo (changed threshold in a Rust lib, no boundary test).

Gap: the digest lands only in the Actions job summary, annotations only on the Files tab, and inline comments are opt-in (RIPR_COMMENT_MODE=inline, default off). A reviewer reading the PR conversation sees nothing, which is the first thing a team evaluating the workflow looks at.

Fix (PR to follow): ripr pr-comments summary renders a short digest from target/ripr/review/comments.json and writes one POST, or a PATCH of the earlier github-actions[bot] comment (marker is bot-author checked, so a forged marker is never edited). Clean PR with no earlier comment posts nothing. Generated workflow gets a Publish RIPR summary comment step, RIPR_SUMMARY_COMMENT (default true) to opt out, skipped for fork and Dependabot heads (read-only token), continue-on-error.

Not covered: hosted Actions run (no runner in session); verified through the replay harness with a stand-in gh.

Related: #5409 (generated workflow lane).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions