Skip to content

Define canonical runtime service identity #2036

Description

@josecelano

Goal

Define tracker-owned canonical service-role and configuration-instance identity types that can be used consistently by bootstrap, runtime registration, and event-metrics consumers.

Background

The earlier #2036 plan combined two deliveries:

  1. defining canonical tracker identity types; and
  2. migrating torrust-server-lib::Registar and tracker registrations to carry them.

The registration migration cannot be completed until #2035 propagates identity through actual bootstrap. The migration is therefore split into #2041. This issue owns only the independently mergeable canonical type foundation.

Scope

Out of scope

Implementation outline

  1. Define tracker-owned service role type.
  2. Define canonical configuration-instance identity type.
  3. Verify intended consumer boundaries.
  4. Run focused tests and linter all.

Acceptance criteria

Related to #2035, #2039, and #2041.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions