You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: validate category refs in CI + fix 4 servers with unknown categories
Four server definitions referenced categories not present in
\`categories.json\` (\`web-scraping\`, \`business\`, \`crm\`, \`search-web\`).
These silently failed to sync in the bundler because server_categories
has a FK to categories.id — the upsert threw and dropped the entire
server, so any update to these four files never reached production.
- Fix the four offenders to use valid categories:
ai.suprsonic-mcp-npx web-scraping -> dropped (kept search, ai-ml, communication)
app.businys-mcp-npx business, crm -> productivity, communication
dev.agentdeals-mcp-http business -> productivity
io.global-chat-mcp-npx search-web -> search
- Extend scripts/validate.js to load categories.json and reject any
server that references an ID not listed there. Reports the full list
of valid IDs on failure so contributors can pick the right one.
- Broaden the Validate PR workflow so changes to categories.json,
schemas, scripts, or tests all trigger validation. Added a "Run full
test suite" step so cross-file checks (consistency, categories,
deprecated icon field, logo URL format) run on every PR.
- Fix the one pre-existing \`type: "password"\` test fixture, which was
always invalid under the input schema but went unnoticed because CI
didn't run the test suite.
Verified \`pnpm validate servers/<bad>\` now prints a clear error listing
every valid category ID.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
0 commit comments