Skip to content

feat: sync service info periodically #360

Closed

Description

@uniqueg

Keep entries up to date with the service info of their registered URL, and show whether they are.

  • GET, PUT and DELETE /services/{serviceId}/sync, GET /syncs with a filter on the label.
  • Scheduler without Celery and without incoming traffic; a lock for several replicas or workers that costs nothing with one; sane behaviour on restart.
  • Sync changes descriptive fields and type, never id, url or owners; the verified mark stays; on failure the last values stay.
  • New versions by mode of service types: open, added; moderated, pending and applied after approval; controlled, not created. Another group, artifact or id never creates a type.
  • With sync on, the backend rejects changes of url.
  • Label computed at read time from last attempt, last success and reason, from a fixed set: absent without sync; synced only if the last success lies within two intervals; otherwise out-of-sync. Retries within a cycle come before a failure counts.
  • Config: on or off (default on), interval (default 24 h); served in the service info.
  • Docs: API, configuration, upgrade notes. They stress that verified and synced doesn't mean trusted: users decide.

Activity

  1. added this to the v1.0.0-rc2 milestone on Nov 5, 2026
  2. added
    priority: high
    status: blocked
    type: feature
    workload: hours
    on Nov 5, 2026
  3. added
    status: in progress
    and removed
    status: blocked
    on Nov 5, 2026
  4. removed
    status: in progress
    on Nov 5, 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: hightype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions