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
Previously, each version of a server was getting a unique ID, but the
intent was for all versions of the same server to share a consistent ID.
Changes:
- Modified registry_service.go to reuse the ID from the earliest version
- Updated database schema via migration to use separate record_id and server_id
- Fixed PostgreSQL and memory database implementations to handle the new schema
- Corrected UpdateServer logic to update specific versions, not just latest
- Added comprehensive tests to verify ID consistency
- Fixed edit test that incorrectly tried to change version during edit
The database now uses record_id as the primary key (unique per version)
while server_id remains consistent across all versions of the same server.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments