Skip to content

.NET: Improve visibility for AzureFunctions Workflows samples run tests in increase timeouts#4820

Merged
westey-m merged 5 commits intomicrosoft:mainfrom
westey-m:functions-workflows-samples-test-improve
Mar 20, 2026
Merged

.NET: Improve visibility for AzureFunctions Workflows samples run tests in increase timeouts#4820
westey-m merged 5 commits intomicrosoft:mainfrom
westey-m:functions-workflows-samples-test-improve

Conversation

@westey-m
Copy link
Copy Markdown
Contributor

@westey-m westey-m commented Mar 20, 2026

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

  • Build separate from run
  • Run with --no-build
  • Stop waiting if the process fails
  • Increase timeouts

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings March 20, 2026 17:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-build to 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.

@westey-m westey-m requested a review from Copilot March 20, 2026 17:57
@github-actions github-actions bot changed the title Improve visibility for AzureFunctions Workflows samples run tests .NET: Improve visibility for AzureFunctions Workflows samples run tests Mar 20, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

@westey-m westey-m changed the title .NET: Improve visibility for AzureFunctions Workflows samples run tests .NET: Improve visibility for AzureFunctions Workflows samples run tests in increase timeouts Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants