Repository navigation
Resolve merge conflicts in stack - #9065
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Failure cleanup leaves manual resolutions without a recovery ref, and stacked PRs lose the sidebar conflict-resolution action.
2 open findings
What changed in this PR
Enables conflict resolution for stacked pull requests through rebasing, while preserving merge-based resolution for unstacked PRs.
Changes:
- Adds guided rebase conflict resolution and cancellation handling.
- Shares stack-action progress and errors across editor controls.
- Adds regression tests and updates compatibility configuration.
| File | Description |
|---|---|
| webviews/tsconfig.json | Extends shared webview configuration. |
| webviews/editorWebview/test/overview.test.tsx | Tests stack conflict controls. |
| webviews/components/pullRequestStack.tsx | Shares stack-action state and eligibility. |
| webviews/components/merge.tsx | Routes stacked conflicts through stack updates. |
| src/test/github/updateStackBranches.test.ts | Tests rebase resolution and cancellation. |
| src/test/github/pullRequestOverview.test.ts | Tests conflict-guide integration. |
| src/test/github/pullRequestModel.test.ts | Tests conflicted-stack eligibility. |
| src/test/github/conflictGuide.test.ts | Covers rebase and merge guidance. |
| src/github/updateStackBranches.ts | Supports interactive rebase resolution. |
| src/github/pullRequestOverview.ts | Connects stack updates to conflict guidance. |
| src/github/pullRequestModel.ts | Marks conflicted stacks as needing updates. |
| src/github/interface.ts | Allows updates with conflicting or unknown mergeability. |
| src/github/conflictGuide.ts | Extends conflict guidance to rebases. |
| src/api/api.d.ts | Declares optional rebase continuation support. |
| package.json | Raises the minimum VS Code version. |
| package-lock.json | Mirrors the engine requirement change. |
| build/filters.js | Exempts the new configuration from copyright checks. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Alex Ross (alexr00)
marked this pull request as ready for review
October 16, 2026 11:08
Alex Ross (alexr00)
enabled auto-merge (squash)
October 16, 2026 11:17
Dmitriy Vasyura (dmitrivMS)
approved these changes
Oct 16, 2026
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.