Skip to content

feat: let admins list the registry itself #347

Closed

Description

@uniqueg

The registry doesn't list itself among its services. Deployments may want it to, so that clients find it like any other service, but registering it by hand copies its service info, and the copy goes stale.

Proposal

An admin-only operation to add the registry to its own list of services, or to remove it.

  • Add: creates the entry from the service info and server.public_url plus the API's base path. It adds the entry's service type if it's missing, and refuses with a clear error if the registry's environment isn't allowed (see feat: check the environment of the service info #346 on checking it at startup).
  • Remove: removes the entry. It also removes the service type, unless other services use it.
  • Atomic: one backend operation, as separate client calls could leave a service without its type, or the reverse.
  • No personal owner: the entry doesn't belong to the admin who added it, and counts as verified.
  • Stays current: while listed, the entry is refreshed at startup, so that its version and description follow the service info.
  • State: the API tells clients whether the registry is listed, for the UI's button.

To do

  • Design the endpoint, and check it against the service registry specification and the existing rules for renaming and service types.
  • Implement it, with tests and docs.
  • Consider the same for trs-filer afterwards, which follows the registry's design.

Activity

  1. added
    priority: medium
    status: triage
    type: feature
    workload: hours
    on Nov 3, 2026
  2. added this to the v1.0.0-rc2 milestone on Nov 3, 2026
  3. added
    status: in progress
    and removed
    status: triage
    on Nov 3, 2026
  4. removed
    status: in progress
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions