Skip to content

Remove conditional e2e test assertions for ClientOperationReceived logs after SDK releases #3327

@cgillum

Description

@cgillum

Summary

The e2e tests for client operation logging correlation (PR #3326) currently have conditional assertions that skip validation if the ClientOperationReceived logs are not present. This is necessary because the .NET Isolated SDK changes that propagate the FunctionInvocationId header are in a separate PR and have not been released yet.

Background

Issue #3317 adds correlation between out-of-process worker function invocations and host-side orchestration events by:

  1. Host extension logs ClientOperationReceived when it receives a client operation with a FunctionInvocationId header/metadata
  2. SDKs (.NET Isolated, Python, Java, JavaScript) send the FunctionInvocationId in HTTP headers or gRPC metadata

The e2e tests run against published NuGet packages, which do not have the SDK changes yet.

Action Required

Once the following SDK PRs are merged and released:

Update these files to remove the conditional checks and make the assertions mandatory:

  • test/e2e/Tests/Helpers/ClientOperationLogHelpers.cs - Remove the if (hasClientOperationLog) conditional
  • test/e2e/Tests/Tests/RewindOrchestratorTests.cs - Remove the if (rewindLogCount > 0) conditional

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions