Skip to content

CCR feedback from PR view disappearing - #8882

Merged
Alex Ross (alexr00) merged 1 commit into
mainfrom
alexr00/gradual-stork
Aug 10, 2026
Merged

CCR feedback from PR view disappearing#8882
Alex Ross (alexr00) merged 1 commit into
mainfrom
alexr00/gradual-stork

Conversation

@alexr00

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 10, 2026 13:43
@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) August 10, 2026 13:43
@alexr00 Alex Ross (alexr00) self-assigned this Aug 10, 2026

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

Prevents the review state validator from clearing an explicitly selected pull request while an explicit PR checkout is still in progress (when the destination branch name hasn’t been determined yet), which could cause PR-related UI state (including CCR feedback) to disappear mid-checkout.

Changes:

  • Add an early-return guard in ReviewManager.validateState to preserve the explicitly switched PR selection during an in-progress checkout.
  • Add a regression test covering the overlap between validateState and an explicit checkout (simulated by delaying updateRepositories resolution).
Show a summary per file
File Description
src/view/reviewManager.ts Adds a guard to avoid clearing the explicitly selected PR while checkout is in progress and the target branch is not yet known.
src/test/view/reviewManager.test.ts Adds a regression test to ensure explicit PR selection isn’t lost when validation overlaps checkout.

Review details

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

@alexr00
Alex Ross (alexr00) merged commit 7b3ad66 into main Aug 10, 2026
8 checks passed
@alexr00
Alex Ross (alexr00) deleted the alexr00/gradual-stork branch August 10, 2026 16:58
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.

4 participants