Skip to content

🐛 fix: fix PR timeline review filter follow-ups#43

Merged
SigureMo merged 1 commit intomainfrom
fix/pr42-review-followups
Apr 9, 2026
Merged

🐛 fix: fix PR timeline review filter follow-ups#43
SigureMo merged 1 commit intomainfrom
fix/pr42-review-followups

Conversation

@SigureMo
Copy link
Copy Markdown
Contributor

@SigureMo SigureMo commented Apr 9, 2026

Co-authored-by: Codex <codex@openai.com>
@SigureMo SigureMo marked this pull request as ready for review April 9, 2026 17:53
Copilot AI review requested due to automatic review settings April 9, 2026 17:53
@SigureMo SigureMo merged commit 9d15a31 into main Apr 9, 2026
2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes PR timeline window filtering so that “review follow-ups” (review events indirectly linked via review-thread history) don’t leak into --before filtered views, while keeping the intended “context thread” behavior for --after windows.

Changes:

  • Adjust timeline window matching to only consider related_timestamps when an --after bound exists (prevents later reviews being pulled into --before views via older thread history).
  • Keep minimized review comments collapsed even when a thread is retained for context.
  • Add/adjust CLI tests to cover the --before regression and minimized-comment behavior in context threads.

Reviewed changes

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

File Description
src/gh_llm/pager.py Tightens _event_matches_window rules to avoid related_timestamps causing leaks in --before-only filtering.
src/gh_llm/github_api.py Updates context-thread header text and ensures minimized comments remain collapsed even in context-kept threads.
tests/test_cli.py Updates expected header text and adds regression tests for --before filtering + minimized context threads.

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

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