Skip to content

fix(tasks): update tasks appendix schema#9835

Merged
ntrogh merged 1 commit into
microsoft:mainfrom
lizuju:fix/tasks-appendix-schema-243556
May 27, 2026
Merged

fix(tasks): update tasks appendix schema#9835
ntrogh merged 1 commit into
microsoft:mainfrom
lizuju:fix/tasks-appendix-schema-243556

Conversation

@lizuju
Copy link
Copy Markdown
Contributor

@lizuju lizuju commented May 27, 2026

Summary

  • mark task type and command as optional in the tasks appendix schema snippet
  • document object-form background beginsPattern/endsPattern via a WatchingPattern interface

Fixes microsoft/vscode#243556

Verification

  • Checked the updated appendix for optional task fields and object-form background patterns with a local Node assertion.
  • Compared against microsoft/vscode source: problemMatcher.ts defines beginsPattern?: string | IWatchingPattern and endsPattern?: string | IWatchingPattern; jsonSchema_v2.ts requires only label for the generic task description and adds command/type only for process tasks.
  • Ran git diff --check.

@lizuju
Copy link
Copy Markdown
Contributor Author

lizuju commented May 27, 2026

@microsoft-github-policy-service agree

Copy link
Copy Markdown
Collaborator

@ntrogh ntrogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@ntrogh ntrogh merged commit 1923bb8 into microsoft:main May 27, 2026
1 of 2 checks passed
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.

Inconsistencies task.json vs. task.json schema

2 participants