Run fn inside both a collapsible group in the workflow log and an active
OpenTelemetry span of the same name.
This is the replacement for a startGroup/endGroup pair: the group closes
and the span ends even if fn throws, and a throwing fn marks the span
failed before re-throwing.
Run
fninside both a collapsible group in the workflow log and an active OpenTelemetry span of the same name.This is the replacement for a
startGroup/endGrouppair: the group closes and the span ends even iffnthrows, and a throwingfnmarks the span failed before re-throwing.