The translation of workflow output to be urls should happen on server side, as a result this code is being removed from workflow.lifecycle.attempt
if work:
product_url = config.get("http", {}).get("baseurls", {}).get("products", "")
if any(work.notify.slack.model_dump().values()) and work.products:
work.products = [
f"<{product_url}{product}|{product}>" for product in work.products
]
if any(work.notify.slack.model_dump().values()) and work.plots:
work.plots = [f"<{product_url}{plot}|{plot}>" for plot in work.plots]
The translation of workflow output to be urls should happen on server side, as a result this code is being removed from
workflow.lifecycle.attempt