Fix PascalCase keys in copilot cgmanifest.json#309655
Merged
benvillalobos merged 1 commit intomainfrom Apr 13, 2026
Merged
Conversation
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>
Contributor
Member
Author
|
@hediet another case where screenshots shouldn't have been taken for this PR |
Contributor
There was a problem hiding this comment.
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 (
Registrations→registrations,Component→component, etc.). - Moved
DevelopmentDependencyto the schema-expecteddevelopmentDependencyfield 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
mjbvz
approved these changes
Apr 13, 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.
The
extensions/copilot/cgmanifest.jsonuses 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.registrationswasundefinedbecause the key wasRegistrations.This normalizes the file to use camelCase keys matching every other
cgmanifest.jsonin the repo.Companion PR: microsoft/vscode-build-tools — adds defensive PascalCase→camelCase normalization in the OSS tool.