Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

PromptsServiceImpl: avoid using openTextDocument to not trigger validation - #4733

Merged
Martin Aeschlimann (aeschli) merged 1 commit into
release/0.41from
aeschli/expected-swan-713
Mar 26, 2026
Merged

Martin Aeschlimann (aeschli) merged 1 commit into
release/0.41from
aeschli/expected-swan-713

Conversation

@aeschli

Copy link
Copy Markdown
Contributor

This avoids TextDocuments beeing created and validations beeing triggered.
Temporary fix for microsoft/vscode#304778 and microsoft/vscode#304857

PromptsServiceImpl.parseFile is only used by the CLI SDK since last week. The change can have negative side effect, e.g. when agent files/prompt files use different encodings.
The change will be reverted for 1.114 (next week) with a proper fix in the validation and change event triggering

@aeschli
Martin Aeschlimann (aeschli) merged commit 91396fc into release/0.41 Mar 26, 2026
22 of 23 checks passed
@aeschli
Martin Aeschlimann (aeschli) deleted the aeschli/expected-swan-713 branch March 26, 2026 17:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants