Add PatchBased02UnifiedEagerness prompt strategy - #333302
Merged
Ulugbek Abdullaev (ulugbekna) merged 1 commit intoSep 8, 2026
Merged
Conversation
Copilot started reviewing on behalf of
Benjamin Steenhoek (bstee615)
August 29, 2026 02:50
View session
Contributor
There was a problem hiding this comment.
Copilot review overview
Review tier: Balanced
Findings: 1
New issues introduced by this change (2)
| Severity | Finding |
|---|---|
extensions/copilot/src/platform/inlineEdits/common/dataTypes/xtabPromptOptions.ts — This standalone strategy does not inherit the configuration baked into PatchBased02Optimized; it… |
|
extensions/copilot/src/platform/inlineEdits/test/common/xtabPromptOptions.spec.ts — The same assertion is executed twice, so the second line adds no coverage and may conceal an… |
What changed in this PR
Adds a standalone four-in-one eagerness prompting strategy for inline edits and applies strategy configuration during default-model retries.
Changes:
- Adds and configures
PatchBased02OptimizedFourInOne. - Supports its prompt construction, response format, and system prompt.
- Adds focused configuration, prompt, and retry tests.
| File | Description |
|---|---|
xtabPromptOptions.ts |
Defines and configures the strategy. |
xtabPromptOptions.spec.ts |
Tests strategy configuration. |
xtabProvider.ts |
Applies configuration on fallback and selects its prompt. |
xtabProvider.spec.ts |
Tests propagation and fallback behavior. |
promptCrafting.ts |
Builds four-in-one prompts. |
promptCrafting.spec.ts |
Tests eagerness-tag placement. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Benjamin Steenhoek (bstee615)
force-pushed
the
bstee615-add-four-in-one-strategy
branch
from
August 31, 2026 18:35
cd6c7f8 to
762e6c2
Compare
Add the standalone PatchBased02UnifiedEagerness strategy as a clone of PatchBased02Unified with the aggressionHighLow eagerness prompt. Apply strategy configuration to default-model retries and cover prompt construction, response format, and configuration propagation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ulugbek Abdullaev (ulugbekna)
force-pushed
the
bstee615-add-four-in-one-strategy
branch
from
September 7, 2026 15:22
2ccfe4f to
4b37dd2
Compare
Ulugbek Abdullaev (ulugbekna)
marked this pull request as ready for review
September 7, 2026 15:32
Ulugbek Abdullaev (ulugbekna)
enabled auto-merge (squash)
September 7, 2026 15:32
Contributor
|
This PR will be automatically cherry-picked to |
Ulugbek Abdullaev (ulugbekna)
approved these changes
Sep 7, 2026
Alexandru Dima (alexdima)
approved these changes
Sep 7, 2026
Dmitriy Vasyura (dmitrivMS)
approved these changes
Sep 8, 2026
Ulugbek Abdullaev (ulugbekna)
merged commit Sep 8, 2026
6934916
into
microsoft:main
33 checks passed
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.


Add the standalone
PatchBased02UnifiedEagernessprompting strategy -- clone ofPatchBased02UnifiedwitheagernessPrompt: "aggressionHighLow".Depends on #333606