Skip to content

2.0 API changes #12

Description

@comps

Not implemented yet

  • Executor.run_test() should probably create the artifacts dir on its own, if it doesn't exist
    • A pre-existing tmpdir won't be impacted, and it's a nice QoL convenience when writing simple runners
  • Remove LocalProvisioner in favor of Generalize LocalProvisioner as a generic Provisioner wrapper #10
  • Add duration to Test Artifacts #8
  • Have Orchestrators start their Provisioners
    • Would make sense given that any Provisioner is exclusive to an Orchestrator (when used with it) - a Provisioner cannot be shared across Orchestrators mainly due to .clear() usage
    • AI analysis:
      - AdHocOrchestrator.start() -- add prov.start() for each provisioner before the provision loop
      - AdHocOrchestrator.stop() -- add prov.stop() (with try/except, like MultiAggregator) after draining queues
      - SimpleOrchestrator.start()/stop() -- same, for the single provisioner
      - Docstrings in both classes -- change "initialized and started" to "initialized (but not started)" for provisioner params
      - Test in test_adhoc.py:11-49 -- remove the outer with LocalProvisioner() context manager, just pass the bare instance
      

On main

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions