Skip to content

fix: remove overeager GCP Blueprint Metadata fileMatch - #6046

Merged
hyperupcall merged 1 commit into
SchemaStore:masterfrom
Solaris-star:fix/gcp-blueprint-remove-overeager-filematch
Jul 20, 2026
Merged

fix: remove overeager GCP Blueprint Metadata fileMatch#6046
hyperupcall merged 1 commit into
SchemaStore:masterfrom
Solaris-star:fix/gcp-blueprint-remove-overeager-filematch

Conversation

@Solaris-star

Copy link
Copy Markdown
Contributor

Summary

Removes the automatic fileMatch for GCP Blueprint Metadata so IDE schema association no longer treats every metadata.yaml / metadata.display.yaml as a GCP Blueprint.

Why

metadata.yaml is an extremely common filename. Matching it globally causes false-positive schema validation for unrelated projects (issue #5985).

Maintainer note on the issue: a PR that removes both fileMatches is welcome / mergeable. Users can still select the schema manually when they are actually editing GCP Blueprint metadata.

Change

  • src/api/json/catalog.json: drop fileMatch from the GCP Blueprint Metadata catalog entry (schema URL unchanged).

Closes #5985

The catalog previously matched every `metadata.yaml` and
`metadata.display.yaml` in a workspace, which falsely applied the GCP
Blueprint schema to unrelated metadata files.

Maintainer guidance on SchemaStore#5985 was to remove both fileMatch entries so
users can still select the schema manually without automatic false
positives.

Closes SchemaStore#5985
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@hyperupcall

Copy link
Copy Markdown
Member

Thanks!

@hyperupcall
hyperupcall merged commit 2121f58 into SchemaStore:master Jul 20, 2026
5 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.

"GCP Blueprint" glob is overeager

2 participants