Skip to content

[1.0] fix: Harden configuration parsing for nested settings - #320

Merged
skazantsev merged 1 commit into
1.0from
fix/1.0-cfg-nested
Oct 23, 2026
Merged

skazantsev merged 1 commit into
1.0from
fix/1.0-cfg-nested

Conversation

@skazantsev

Copy link
Copy Markdown
Contributor

Description of Changes

Backport an upstream VS Code fix that hardens how nested objects in configuration files are parsed. Adds a common quilt patch to all targets and registers it in patches/backported-patches.json.

Adapted to Code-OSS 1.101.2: the parser there has no excluded-property filtering, so that part of the upstream change is dropped. The recursive walk is otherwise the same.

Remove the patch when Code-OSS is updated to >= 1.136.2.

Testing

  • prepare-src.sh applies cleanly on all 4 targets.
  • Upstream configurationModels.test.ts passes on the patched source (81 passing, including the new upstream tests); the new upstream tests fail without the patch.
  • security-scan.sh scan-github-advisories no longer reports the advisory.
  • CI: Build Code Editor Targets dispatched on this branch.

Backporting

Same change as #317 (1.2), #318 (main) and #319 (1.1).


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@skazantsev
skazantsev marked this pull request as ready for review October 23, 2026 13:20
@skazantsev
skazantsev requested review from a team as code owners October 23, 2026 13:20
@skazantsev
skazantsev added this pull request to the merge queue Oct 23, 2026
Merged via the queue into 1.0 with commit a398274 Oct 23, 2026
3 checks passed
@skazantsev
skazantsev deleted the fix/1.0-cfg-nested branch October 23, 2026 14:23
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