Skip to content

fix: ContinueAsNew integration tests#1784

Closed
Copilot wants to merge 2 commits intocopilot/investigate-integration-tests-failurefrom
copilot/sub-pr-1783
Closed

fix: ContinueAsNew integration tests#1784
Copilot wants to merge 2 commits intocopilot/investigate-integration-tests-failurefrom
copilot/sub-pr-1783

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 13, 2026

Description

Integration tests using Dapr 1.17-only APIs (context.IsPatched(), ListInstanceIdsAsync, GetInstanceHistoryAsync) were running unconditionally on older runtimes, causing them to hang indefinitely rather than skip.

Changes:

  • WorkflowRpcTests — replaced try/catch/Assert.Skip pattern with [MinimumDaprRuntimeFact("1.17.0")] on ListInstanceIds_ShouldReturnScheduledWorkflowInstances and GetInstanceHistory_ShouldReturnHistoryForCompletedWorkflow
  • CombinedVersioningIntegrationTests — gated ShouldCombinePatchAndNameBasedVersioning with [MinimumDaprRuntimeFact("1.17")]; without this, the patched workflow never reaches a terminal state on 1.16.x, hanging the test runner
  • WorkflowGrpcClient.IsRpcMethodNotSupportedByRuntime — tightened detection to require both "required metadata" and "dapr-app-id" in the error detail, preventing false-positive unsupported-RPC classifications

Issue reference

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Co-authored-by: WhitWaldo <2238529+WhitWaldo@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix: Skip 1.17-only workflow tests on Dapr < 1.17 fix: skip 1.17-only workflow tests on Dapr < 1.17 Apr 13, 2026
Copilot AI requested a review from WhitWaldo April 13, 2026 12:58
@WhitWaldo WhitWaldo changed the title fix: skip 1.17-only workflow tests on Dapr < 1.17 fix: ContinueAsNew integration tests Apr 13, 2026
@WhitWaldo WhitWaldo closed this Apr 16, 2026
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.

2 participants