Skip to content

PR dashboard: ignore merge-from-base commits made by non-authors#18485

Merged
laurit merged 1 commit into
open-telemetry:mainfrom
trask:dashboard-merge-from-base-context
May 2, 2026
Merged

PR dashboard: ignore merge-from-base commits made by non-authors#18485
laurit merged 1 commit into
open-telemetry:mainfrom
trask:dashboard-merge-from-base-context

Conversation

@trask

@trask trask commented May 1, 2026

Copy link
Copy Markdown
Member

This refines the rule to ignore merge commits authored by someone other than the PR author (e.g. an approver clicking "Update branch" on someone else's PR, as on #18090).

@trask trask requested a review from a team as a code owner May 1, 2026 14:17
The is_substantive() filter excluded "Update branch" merge commits from the latest-event determination, but treated all merge commits the same regardless of who made them, and the LLM-rendered context still surfaced them in the "Last N commits" listing and used their timestamp for "Last commit pushed".

Refine the rule to only ignore merge commits authored by someone other than the PR author (e.g. an approver clicking "Update branch" on someone else's PR, as on open-telemetry#18090). Author-driven merges of base into the PR remain substantive. Apply the same rule to the rendered commit listing and last_commit_date.
@trask trask force-pushed the dashboard-merge-from-base-context branch from 280c116 to b05ce14 Compare May 1, 2026 14:26
@trask trask changed the title PR dashboard: skip merge-from-base commits in commit summary context PR dashboard: ignore merge-from-base commits made by non-authors May 1, 2026
@laurit laurit merged commit e727123 into open-telemetry:main May 2, 2026
92 checks passed
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