Skip to content

feat: configure service environments #239

Closed

Description

@uniqueg

Why?

The GA4GH service-info spec defines environment as a free string: it suggests prod, test, dev and staging, but advises rather than enforces them. Registries can't settle on a vocabulary, so typos (Prod, production) split filters, and the UI's create form hard-codes the four suggestions.

What?

  • A config option, e.g. service_environments, listing the allowed values; the default is [prod, test, dev, staging], the spec's suggestions.
  • Writes with another value get 400 with a clear detail. Existing services are left as they are, and validated only when they're next written.
  • An empty list allows any value (today's behaviour).
  • Document it next to the URL scheme options, and say UIs must mirror it.

Acceptance criteria

  • Admins configure the allowed environments in the app config; the registry rejects other values on write.

Activity

  1. added
    priority: high
    status: triage
    type: feature
    workload: hours
    on Oct 25, 2026
  2. added
    status: in progress
    and removed
    status: triage
    on Oct 25, 2026
  3. removed
    status: in progress
    on Oct 25, 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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions