Repository navigation
Keep configuration retries on their original file - #347074
Merged
Dmitriy Vasyura (dmitrivMS) merged 1 commit intoNov 12, 2026
Merged
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the change that keeps Save and Retry bound to the original configuration file and JSON path.
No open issues 🎉
What changed in this PR
Fixes #347073 by keeping Save and Retry bound to the original configuration file and JSON path, even after switching profiles.
Changes:
- Queues retries using the original edit operation while reusing existing validation and write/error handling.
- Adds memory-backed regression tests for settings and standalone task configuration, plus a no-switch control and awaited model cleanup.
| File | Description |
|---|---|
src/vs/workbench/services/configuration/test/browser/configurationEditing.test.ts |
Adds profile-switch retry coverage and verifies settings drafts remain intact. |
src/vs/workbench/services/configuration/common/configurationEditing.ts |
Reuses the original edit operation for settings and standalone configuration retries. |
Review effort: Balanced
Collaborator
|
Sameer (@sameerihs) Thank you! |
Dmitriy Vasyura (dmitrivMS)
enabled auto-merge (squash)
November 12, 2026 00:40
Dmitriy Vasyura (dmitrivMS)
approved these changes
Nov 12, 2026
roblourens
approved these changes
Nov 12, 2026
Osvaldo Ortega (osortega)
approved these changes
Nov 12, 2026
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.
Fixes #347073
Queue configuration retries with the original operation so switching profiles cannot retarget Save and Retry to another file or JSON path. Reuse the existing write/error handling and fresh validation for settings and standalone configuration.
Two sequential regressions fail before the fix; both and the no-switch control pass afterward. All 243 selected tests pass with seven existing pending tests. Client typechecking and targeted ESLint pass. Tests use memory-backed profiles and await model cleanup.