Skip to content

Track top-level review actions individually#78

Draft
trask wants to merge 2 commits into
open-telemetry:mainfrom
trask:mainline-conversation-action-ledger
Draft

Track top-level review actions individually#78
trask wants to merge 2 commits into
open-telemetry:mainfrom
trask:mainline-conversation-action-ledger

Conversation

@trask

@trask trask commented Jul 15, 2026

Copy link
Copy Markdown
Member

Track each actionable top-level review comment as a stable, independent item instead of collapsing the PR conversation into one synthetic thread. The dashboard classifies the expected evidence, deterministically hands requests between authors and reviewers based on commits, description edits, replies, and requester confirmation, and keeps pending mainline feedback visible until it is confirmed. This also makes Request changes a deterministic author action and updates reviewer guidance, notification behavior, state migration, and regression coverage.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds independent lifecycle tracking for actionable top-level review feedback.

Changes:

  • Introduces deterministic action-item routing and evidence tracking.
  • Updates reviewer indicators, notifications, and state migration.
  • Adds documentation and regression tests.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pull-request-dashboard/README.md Documents top-level feedback tracking.
.github/workflows/pull-request-dashboard-repo.yml Updates review guidance.
.github/scripts/pull-request-dashboard/test_state.py Tests notification-state compatibility.
.github/scripts/pull-request-dashboard/test_mainline_actions.py Tests action-ledger behavior.
.github/scripts/pull-request-dashboard/state.py Migrates dashboard state safely.
.github/scripts/pull-request-dashboard/render.py Renders new feedback indicators.
.github/scripts/pull-request-dashboard/RATIONALE.md Explains lifecycle design.
.github/scripts/pull-request-dashboard/notifications.py Includes pending feedback reviewers.
.github/scripts/pull-request-dashboard/github_cli.py Fetches PR edit metadata.
.github/scripts/pull-request-dashboard/dashboard.py Implements item grouping and lifecycle routing.
.github/scripts/pull-request-dashboard/classification.py Adds top-level action classification.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/classification.py
Comment thread .github/scripts/pull-request-dashboard/classification.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 4 comments.

Comment thread .github/scripts/pull-request-dashboard/github_cli.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py
Comment thread .github/scripts/pull-request-dashboard/dashboard.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py
Comment thread .github/scripts/pull-request-dashboard/render.py
Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/state.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py
Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated
Comment thread .github/scripts/pull-request-dashboard/dashboard.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py
Comment thread .github/scripts/pull-request-dashboard/dashboard.py
Comment thread .github/scripts/pull-request-dashboard/test_state.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Comment thread .github/scripts/pull-request-dashboard/dashboard.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated no new comments.

@trask trask force-pushed the mainline-conversation-action-ledger branch from 17b635c to 2264157 Compare July 15, 2026 23:29
@trask trask force-pushed the mainline-conversation-action-ledger branch from 2264157 to dbcda06 Compare July 15, 2026 23:43
Mechanical, behavior-preserving rename of thread-oriented identifiers and data keys (thread_id, thread_action, thread_kind, thread_facts, and related functions and constants) to discussion in classification.py, dashboard.py, and render.py. No logic changes.

This changes the classification cache key; the follow-up commit busts the cache anyway.
@trask trask force-pushed the mainline-conversation-action-ledger branch from dbcda06 to 3459039 Compare July 16, 2026 00:14
@trask trask requested a review from Copilot July 16, 2026 00:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated no new comments.

Track each actionable top-level review comment as a stable, independent item instead of collapsing the PR conversation into one synthetic thread. The dashboard classifies the expected evidence, deterministically hands requests between authors and reviewers based on commits, description edits, replies, and requester confirmation, and keeps pending mainline feedback visible until it is confirmed. This also makes Request changes a deterministic author action and updates reviewer guidance, notification behavior, state migration, and regression coverage.
@trask trask force-pushed the mainline-conversation-action-ledger branch from 3459039 to 9cf9e81 Compare July 16, 2026 00:52
@trask trask requested a review from Copilot July 16, 2026 00:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Comment on lines +841 to +845
confirmation_at = first_reviewer_confirmation(
events,
discussion.get("requester") or "",
evidence_at or discussion.get("root_timestamp") or "",
excluded_source_events,
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