feat(ci): validate registry plugins - #124
Merged
Merged
Conversation
Run the influxdb3-plugin CLI against every packageable plugin directory on pull requests and pushes to main. - Split into changes/validate/result jobs so a single stable registry-plugin-validate check can be required in branch protection without blocking unrelated PRs. - Fail when plugin discovery finds no directories so a broken glob cannot pass silently (also applied to publish-registry). - Read the SDK version from .github/plugin-sdk-version, shared with publish-registry, so validate and publish cannot drift; bump the SDK to v0.6.0 for manifest schema 1.3 support. - Install the CLI into $RUNNER_TEMP/bin instead of /usr/local/bin and pin actions/checkout to a commit SHA. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Aliaksei-Kharlap
approved these changes
Jul 15, 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.
Summary
Adds a
validate-registry-pluginsworkflow that runs theinfluxdb3-pluginCLI against every packageable plugin directory on pull requests and pushes tomain.changes→validate→resultjob split gives branch protection a singleregistry-plugin-validatecheck name that passes on unrelated PRs (validation skipped) without blocking them.publish-registry)..github/plugin-sdk-version(nowv0.6.0, required for manifest schema 1.3), so validate and publish can't drift.$RUNNER_TEMP/bininstead of/usr/local/bin;actions/checkoutpinned to a commit SHA; SHA256-verified CLI download;persist-credentials: false.base...head(not the merge ref) so base-branch drift doesn't trigger validation, and excluded directories (library) don't count as plugin changes.