Skip to content

Validate configuration before and after building #38

Description

@lucabello

Enhancement Proposal

The Mimir configuration we put in relation data should be validated twice:

  • when the coordinator builds it, via a Pydantic model that maps to the Mimir configuration
  • when the worker receives it (and before trying to start), using mimirtool runtime-config to avoid the "retry loop" on a faulty configuration file

This should resolve retrying for a very long time on a faulty config, while the correct one is in a pending event. This might also be the cause of flakiness in integration tests.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions