Repository navigation
feat!: remove A2A agents from the registry - #296
Merged
Merged
Conversation
The registry now catalogs MCP servers only. Migration 000026 deletes agent rows from the shared tables and drops the agent tables.
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.
Removes the A2A agents catalog across the whole stack: the registry now catalogs MCP servers only.
What changes
/api/v1/agents/...route is gone, along with/.well-known/agent-card.jsonand/agents/{namespace}/{slug}/.well-known/agent-card.json.openapi.yamldrops the agent paths and schemas, theagentvalue from theresource_typeenums, theagent_*review-queue kinds, and the agent counters inRegistryCounts,PublisherStatsandPublicStats.internal/agents, the agent handlers, store and domain code are deleted, and the agent branches in review, reports, audit, activity, visibility, stats, tags, changelog and the publisher cascade are removed. Theregistry.agents.totalmetric is gone, as is thejsonschemadependency that only the Agent Card used.000026_remove_agentsdeletes the agent rows fromentry_change_requests,reportsandaudit_log, restricts bothresource_typechecks tomcp_server, then dropsagent_versionsandagents.mcp/agentare now MCP-only. Unit tests and Playwright specs are updated.Breaking changes
/.well-known/agent-card.json.agents:key now fail at startup, because the loader is strict. Remove the key before upgrading.registry.agents.totalor on the stats fieldsagents,agent_status_breakdownandnew_agents_this_weekstop receiving data.Testing
go build,go vetandgo test ./...(testcontainers Postgres) pass.tsc -b+ build and vitest pass (843 tests).helm lintandhelm templatepass.