Skip to content

[Investigation] Define precedence for CLI, config, and replay profile resource settings #2

Description

@HenryParker37-VIP

Currently, reprospec replay parses --profile to select standard resource limits (minimal, standard, extended).

We need to investigate and define the optimal precedence model when users wish to override individual metrics (e.g. timeout, memory size) directly.

For example, if a user specifies:

  • reprospec.config.json defining standard limits.
  • A profile selection --profile extended defining 4GB memory.
  • A potential CLI override --memory 512m.

We need to:

  1. Decide the precedence hierarchy.
  2. Propose the command line schema for individual overrides.
  3. Implement test cases in tests/replay.test.js validating the agreed-upon precedence order.

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

    Labels

    cliCommand Line Interface commands and flags options

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions