Skip to content

feat(pr): post the check results of a pull request as a comment - #3864

Merged
dan-petty merged 2 commits into
mainfrom
feat/3199-pr-evidence-comment
Nov 6, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/3199-pr-evidence-comment

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

CONTRIBUTING.md requires check results and fail-to-pass evidence in a pull request comment. It also forbids hand-typed counts. No command currently formats or writes this comment (#3199). Agents and developers manually compile check numbers into comments, which causes inconsistent counts and formatting errors across pull requests.

Closes #3199

Change: openspec/changes/archive/2026-11-06-3199-post-the-check-results-of-a/

devops pr evidence reads the check runs of the head commit from GitHub and
writes one comment: the head commit, a table of the checks with their
conclusion and link, the fail-to-pass run of a fix, and a line for each
skipped check. The comment opens with a marker line and its author is the
login of the session, so a new head commit updates it and no second comment
is posted. The command takes no text of its own.
@dan-petty dan-petty added type/feature Type feature: a new function scope/pr The devops pr commands labels Nov 6, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results from the local run on the rebased branch (base 05511ed):

  • tests/github/test_pr_evidence.py, tests/commands/test_pr_evidence.py, tests/commands/test_pr_dry_run.py and tests/ai/mcp/test_mcp.py: 238 passed.
  • The pre-push fast static checks passed.
  • This is a feature, not a fix, so there is no fail-to-pass run.
  • The branch needed no rebase and had no conflicts.

@dan-petty
dan-petty marked this pull request as ready for review November 6, 2026 23:14
@dan-petty
dan-petty merged commit ad1e4b8 into main Nov 6, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3199-pr-evidence-comment branch November 6, 2026 23:21
dan-petty pushed a commit that referenced this pull request Nov 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.75.0](v0.74.0...v0.75.0)
(2026-11-06)


### Features

* **pr:** post the check results of a pull request as a comment
([#3864](#3864))
([ad1e4b8](ad1e4b8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/pr The devops pr commands type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(pr): post the check results of a pull request as a comment

1 participant