Skip to content

Collapse completed author reminders as outdated - #229

Draft
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:trask-fix-reviewer-handoff-routing
Draft

Collapse completed author reminders as outdated#229
trask wants to merge 1 commit into
open-telemetry:mainfrom
trask:trask-fix-reviewer-handoff-routing

Conversation

@trask

@trask trask commented Aug 8, 2026

Copy link
Copy Markdown
Member

Keep author reminder comments accurate without replacing their historical context. Active reminders retain the friendly wording and snapshot footer; when an author-waiting episode ends, the dashboard appends a timestamped note and collapses the comment using GitHub’s Outdated classification. Completion delivery is retry-safe and migrates reminders posted before the new state format.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f7e532a5-ed16-440b-9de4-ad18e5f20c51

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 lifecycle management for author reminders, preserving history while marking completed reminders outdated.

Changes:

  • Tracks reminder episodes and retry-safe completion state.
  • Appends completion notes and minimizes comments as outdated.
  • Adds migration coverage, lifecycle tests, and documentation.

Reviewed changes

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

Show a summary per file
File Description
pull-request-dashboard/README.md Documents reminder completion behavior.
.github/scripts/pull-request-dashboard/test_state.py Tests state migration and retry merging.
.github/scripts/pull-request-dashboard/test_author_nudge.py Tests reminder lifecycle and minimization.
.github/scripts/pull-request-dashboard/state.py Adds state versioning and completion persistence.
.github/scripts/pull-request-dashboard/author_nudge.py Implements completion notes and comment minimization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@@ -337,10 +343,21 @@ def union_merge_author_nudges(
waiting_since = (retry_entry or {}).get("waiting_since") or ""
baseline_waiting_since = (baseline_nudges.get(key) or {}).get("waiting_since") or ""
if nudged_at and waiting_since and waiting_since == baseline_waiting_since:
Comment on lines +462 to +463
if not comment_is_minimized(node_id):
minimize_comment(node_id)
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