Skip to content

Show the status of each breaking change in the Pro review comment - #221

Closed
reuvenharrison wants to merge 1 commit into
mainfrom
pro-comment-change-status
Closed

reuvenharrison wants to merge 1 commit into
mainfrom
pro-comment-change-status

Conversation

@reuvenharrison

Copy link
Copy Markdown
Contributor

With an oasdiff-token, the table in the PR comment gains a status column. Each breaking change shows ✅ approved, ❌ rejected or ⏳ pending; an info change needs no approval and has no status.

severity change endpoint status
error API removed GET /pets ✅ approved
warning removed the request property POST /pets ⏳ pending
info endpoint added PUT /pets

The action reads the recorded decisions from oasdiff on every run, so the comment is brought up to date after a push or when the job is re-run. If the decisions can't be read, the comment lists the changes without the column and the run prints a warning.

The comment without a token is unchanged.

Draft until the endpoint this reads is live on api.oasdiff.com.

🤖 Generated with Claude Code

With an oasdiff-token, the comment's table gains a status column: approved,
rejected or pending for each breaking change. The action reads the decisions
on every run, so the comment is brought up to date after a push or a re-run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@reuvenharrison

Copy link
Copy Markdown
Contributor Author

Closing: the status would only refresh on the next run of the job, so it would often disagree with the review.

@reuvenharrison
reuvenharrison deleted the pro-comment-change-status branch November 15, 2026 21:39
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.

1 participant