Skip to content

Conversation

bachuv
Copy link
Contributor

@bachuv bachuv commented Aug 14, 2025

This PR adds a call to the Set-FunctionInvocationContext cmdlet to set the invocation id in module private data when Start-OpenTelemetryInvocationInternal is called. It also adds the Get-CurrentActivityForInvocation cmdlet.

The standalone Durable Functions PowerShell SDK uses the changes in this PR to get the current Activity based on the function invocation ID. PR: Azure/azure-functions-durable-powershell#99

@bachuv bachuv merged commit 15b63e5 into main Aug 29, 2025
1 check passed
@bachuv bachuv deleted the andystaples/add-get-current-activity-cmdlet branch August 29, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants