Skip to content

test: validate every catalog manifest against the SDK schema - #82

Merged
Resinder merged 2 commits into
mainfrom
test/manifest-schema
Oct 23, 2026
Merged

Resinder merged 2 commits into
mainfrom
test/manifest-schema

Conversation

@Resinder

@Resinder Resinder commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Catalog manifests are now checked against the plugin SDK's manifest schemas in this repo's CI, so a manifest that drifts from the contract fails here, before Minder or an author sees it.

  • Pin bump: minder-plugin-sdk moves from f44873fc to 0919ce8c, the head of feat(manifest): full trigger/action set and a declarative connector schema plugin-sdk#52. That commit adds the declarative connector schema and the full manifest-plugin trigger/action set. The only changes since the old pin are CI gate: validate + contract-conformance + metadata lint on every catalog PR #52's. The jsonschema and yaml extras are on, so validation is full rather than the light fallback.
  • New tests/test_manifest_schemas.py:
    • every */manifest.{yml,yaml,json} that declares apiVersion must pass validate_manifest, which is what minder-plugin validate runs. Today that's arxiv, frankfurter, openlibrary and wikipedia, against the declarative schema;
    • each manifest's metadata.name must match its directory (Minder's runner refuses one that doesn't);
    • telegraf's manifest.yml is a bundle-claim file without apiVersion, so it's skipped.

Test plan

  • pytest: 637 passed (9 new).
  • minder-plugin validate <dir>/__init__.py for every plugin (the CI pre-test loop): all pass.
  • minder-plugin validate */manifest.yml: the four declarative manifests are valid.
  • python scripts/gen_catalog.py --check: up to date. python scripts/check_plugin_policy.py: OK.
  • black and flake8 on the new test: clean.

Merge after minderhq/plugin-sdk#52. It merges with a merge commit, so the pinned commit stays reachable from the SDK's main.

Agent-Session: zeynep-portainer

🤖 Generated with Claude Code

Bump the plugin-sdk pin to plugin-sdk#52, which adds the declarative
connector schema, and check every manifest.yml that declares an
apiVersion with validate_manifest (what `minder-plugin validate` runs).
A manifest that drifts from the SDK contract now fails this repo's CI.
Also check that each manifest's metadata.name matches its directory.

Agent-Session: zeynep-portainer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Resinder

Resinder commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Driven by session zeynep-portainer from 2026-10-23T12:10:11Z: it is the one session acting on this PR (pushes, reruns, merge). Protocol: minderhq/minder#2342.

Agent-Session: zeynep-portainer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Resinder
Resinder merged commit 6b88c03 into main Oct 23, 2026
9 checks passed
@Resinder
Resinder deleted the test/manifest-schema branch October 23, 2026 13:52
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.

1 participant