Skip to content

Skip node_modules entries in manifest validation#539

Merged
mckn merged 3 commits intomainfrom
mckn/skip-node-modules-manifest
Mar 11, 2026
Merged

Skip node_modules entries in manifest validation#539
mckn merged 3 commits intomainfrom
mckn/skip-node-modules-manifest

Conversation

@mckn
Copy link
Copy Markdown
Contributor

@mckn mckn commented Mar 11, 2026

Summary

Allows already-published plugins to pass Go manifest validation without requiring a rebuild by ignoring manifest entries under the root node_modules/ directory. These files are not part of the backend code and should not be included in validation checks.

Allow existing plugins to pass validation without rebuild by ignoring manifest entries under the root node_modules/ directory. These files are not part of the backend code and should not be included in validation.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Mar 11, 2026

CLA assistant check
All committers have signed the CLA.

@github-project-automation github-project-automation Bot moved this from 📬 Triage to 🔬 In review in Grafana Catalog Team Mar 11, 2026
Replace the broad node_modules/ prefix skip with an explicit list of
ignored manifest files. Currently only the known flatted package path
is ignored, making it easy to add more paths later if needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mckn mckn requested review from academo and xnyo March 11, 2026 12:51
Comment thread pkg/analysis/passes/gomanifest/gomanifest.go Outdated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mckn mckn self-assigned this Mar 11, 2026
@mckn mckn merged commit e5f0204 into main Mar 11, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from 🔬 In review to 🚀 Shipped in Grafana Catalog Team Mar 11, 2026
@mckn mckn deleted the mckn/skip-node-modules-manifest branch March 11, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants