.NET: Improve visibility for AzureFunctions Workflows samples run tests in increase timeouts#4820
Merged
westey-m merged 5 commits intomicrosoft:mainfrom Mar 20, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves CI failure visibility for Azure Functions workflow/sample integration tests by separating build from run and failing fast when the Functions host process exits unexpectedly.
Changes:
- Build sample projects separately before attempting to start the Functions host.
- Run Functions host with
dotnet run --no-buildto avoid hidden build failures during startup. - Stop waiting for readiness if the host process exits early.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs | Adds explicit build step, runs Functions host with --no-build, and makes readiness wait fail fast on host exit. |
| dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/SamplesValidation.cs | Updates readiness wait to fail fast if the Functions host process exits during startup. |
...sts/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs
Outdated
Show resolved
Hide resolved
dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/SamplesValidation.cs
Outdated
Show resolved
Hide resolved
dotnet/tests/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/SamplesValidation.cs
Outdated
Show resolved
Hide resolved
peibekwe
reviewed
Mar 20, 2026
...sts/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs
Outdated
Show resolved
Hide resolved
peibekwe
approved these changes
Mar 20, 2026
...sts/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs
Outdated
Show resolved
Hide resolved
dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/SamplesValidationBase.cs
Show resolved
Hide resolved
...sts/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs
Outdated
Show resolved
Hide resolved
...sts/Microsoft.Agents.AI.Hosting.AzureFunctions.IntegrationTests/WorkflowSamplesValidation.cs
Outdated
Show resolved
Hide resolved
SergeyMenshykh
approved these changes
Mar 20, 2026
This was referenced Apr 3, 2026
This was referenced Apr 6, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
These tests seem to be failing at the build step rather than at the run step. Separating these out to improve visibility.
Also increasing timeouts in a couple of places
Description
Contribution Checklist