Skip to content

Support mapped task expansion #8

Description

@kriben

Loading N surfaces is a map operation. TaskMaestro could expand one task declaration over a configured mapping:


- task: resinsight.load_regular_surface
  name: load_surfaces
  map:
    over: surfaces
    key_as: surface_name
    value_as: path
  depends_on:
    resinsight: resinsight.connect

The output could be a typed dictionary keyed by the input aliases. Desirable semantics include:

  • bounded parallelism;
  • fail-fast or collect-all-errors modes;
  • per-item lifecycle events and timings;
  • stable result ordering;
  • correlation IDs derived from the parent task; and
  • visualization of mapped instances without an unreadable expanded DAG.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions