microsoft / CromwellOnAzure

Microsoft Genomics implementation of the Broad Institute's Cromwell workflow engine on Azure
MIT License
134 stars 55 forks source link

Support assigning user labels to workflow #389

Open olesya13 opened 2 years ago

olesya13 commented 2 years ago

Problem: We want to be able to add user generated labels to workflow task logs. If labels are supported, we can better track resources and this will allow users to easily delineate and organize repeated runs of their workflows.

Solution: CoA user provides json file with key-value pairs (for example labels describing experiment such as sample_name, dataset_name, etc), this json file is passed to Cromwell API.

To do:

Describe alternatives you've considered Created fake runtime attributes and inputs, that requires wdl changes and won't be used by general audience.

Additional context Cromwell has an optional parameter ‘labels’ to specify a file of JSON key-value label pairs to associate with the workflow (see Submit a workflow for execution at https://cromwell.readthedocs.io/en/stable/api/RESTAPI/). At the moment Trigger Service doesn’t handle labels.json.

olesya13 commented 2 years ago

Broad's ticket - https://broadworkbench.atlassian.net/browse/BT-657 ETA - end of June

olesya13 commented 2 years ago

Subtasks

436

437

438

BMurri commented 2 years ago

Use case scenario: #37

BMurri commented 2 years ago

Another use case scenario: #352

ngambani commented 8 months ago

@olesya13 is this an active issue? or can this be closed?