Skip to content

Modify components to take a config file as input rather than multiple command line inputs #98

Closed

Description

@milindsrivastava1997

This is more scalable for a large number of parameters and will also help us keep a static docker-compose.yml file for components, instead of a jinja-templated docker compose file and/or a docker compose file that reads multiple env variables. We will need to do this for each component.

This is similar to when we changed the experiment infrastructure to have a simple Hydra config file, instead of command line inputs.

We will need to define the input config file format.

Activity

  1. milindsrivastava1997 commented on Mar 4, 2026

    @milindsrivastava1997
    ContributorAuthor

    Originally by @linear[bot] on 2025-12-27:

    PRO-343

  2. milindsrivastava1997 commented on Mar 4, 2026

    @milindsrivastava1997
    ContributorAuthor

    Originally by @milindsrivastava1997 on 2026-01-05:

    For Python configs, we can use pydantic. We could also re-use the Pydantic type definitions between the specific component and the service in Utilities/experiments that orchestrates it.

    For Rust, we can use figment.

  3. milindsrivastava1997 commented on Mar 4, 2026

    @milindsrivastava1997
    ContributorAuthor

    Originally by @milindsrivastava1997 on 2026-01-07:

    I've pushed some code to the related branch but am unsure whether the ROI on this change is worth it or not. The issue is that any component can be orchestrated by either quickstart, asap-cli or Utilities experiment scripts.
    Changing the command line interface of any component will require changes to all 3 orchestration methods. Maybe this needs to be broken down into smaller, more incremental issues.

  4. milindsrivastava1997 commented on May 4, 2026

    @milindsrivastava1997
    ContributorAuthor

    Stale issue, closing.

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