Skip to content

feat: publish discovery payload for catalog registration - #6

Merged
mattisonchao merged 1 commit into
mainfrom
feat/lip-0002-discovery
Oct 23, 2026
Merged

mattisonchao merged 1 commit into
mainfrom
feat/lip-0002-discovery

Conversation

@mattisonchao

Copy link
Copy Markdown
Member

Motivation

Implement the Catalog side of LIP-0002 discovery: publish the advertised endpoint and process identity in the registration payload so future load balancers have real discovery inputs.

Modifications

  • Pin lyra-meta to the merged discovery contract.
  • Register the catalog with a READY payload carrying instance_id, pg_endpoint, connection_capacity, and zeroed load counters.
  • Re-register on loss with the same instance_id, and publish DRAINING before graceful unregister.

Testing

  • cargo fmt, clippy, and the full workspace test suite pass locally.

@mattisonchao
mattisonchao merged commit 7a8f12b into main Oct 23, 2026
1 check passed
@mattisonchao
mattisonchao deleted the feat/lip-0002-discovery branch October 23, 2026 02:03
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