Skip to content

Fix PascalCase keys in copilot cgmanifest.json#309655

Merged
benvillalobos merged 1 commit intomainfrom
benvillalobos/fix-copilot-cgmanifest-casing
Apr 13, 2026
Merged

Fix PascalCase keys in copilot cgmanifest.json#309655
benvillalobos merged 1 commit intomainfrom
benvillalobos/fix-copilot-cgmanifest-casing

Conversation

@benvillalobos
Copy link
Copy Markdown
Member

The extensions/copilot/cgmanifest.json uses PascalCase keys (Registrations, Component, Type, etc.) instead of the camelCase required by the official schema. This caused the OSS license tool in vscode-build-tools to crash silently — fileContents.registrations was undefined because the key was Registrations.

This normalizes the file to use camelCase keys matching every other cgmanifest.json in the repo.

Companion PR: microsoft/vscode-build-tools — adds defensive PascalCase→camelCase normalization in the OSS tool.

The official component-detection-manifest schema uses camelCase keys.
This file used PascalCase (e.g. "Registrations", "Component"), which
caused the OSS license tool to crash silently.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 13, 2026 22:44
@github-actions
Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: ff853006 Current: f811d461

Changed (3)

editor/inlineCompletions/other/JumpToHint/Dark
Before After
before after
editor/inlineCompletions/other/JumpToHint/Light
Before After
before after
agentSessionsViewer/NeedsInput/Light
Before After
before after

@benvillalobos
Copy link
Copy Markdown
Member Author

@hediet another case where screenshots shouldn't have been taken for this PR

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Normalizes extensions/copilot/cgmanifest.json to match the official component-detection-manifest schema’s camelCase property names, preventing OSS/license tooling from failing to parse the manifest.

Changes:

  • Renamed top-level and nested manifest keys from PascalCase to camelCase (Registrationsregistrations, Componentcomponent, etc.).
  • Moved DevelopmentDependency to the schema-expected developmentDependency field on the registration entry.
Show a summary per file
File Description
extensions/copilot/cgmanifest.json Aligns manifest key casing/shape with the official schema so build/compliance tooling can reliably parse it.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@benvillalobos benvillalobos merged commit 11018d9 into main Apr 13, 2026
30 checks passed
@benvillalobos benvillalobos deleted the benvillalobos/fix-copilot-cgmanifest-casing branch April 13, 2026 23:13
@vs-code-engineering vs-code-engineering bot added this to the 1.117.0 milestone Apr 13, 2026
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.

3 participants