From e8a7ffbc14fbac54dbbeeaaaf94d78094526ad22 Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 4 Mar 2026 14:39:54 +0000 Subject: [PATCH] .NET: Skip flacky UT + (Attempt) Merge Gatekeeper fix (#4456) * Skip flacky UT * Ignore org-level GitHub App checks in merge-gatekeeper Add Cleanup artifacts, Agent, Prepare, and Upload results to the ignored list. These are check runs created by an org-level GitHub App (MSDO), not by any workflow in this repo, and their transient failures should not block merges. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/merge-gatekeeper.yml | 5 ++++- .../ObservabilityTests.cs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-gatekeeper.yml b/.github/workflows/merge-gatekeeper.yml index de1a68a78e..49247c5eeb 100644 --- a/.github/workflows/merge-gatekeeper.yml +++ b/.github/workflows/merge-gatekeeper.yml @@ -29,4 +29,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} timeout: 3600 interval: 30 - ignored: CodeQL,CodeQL analysis (csharp) + # "Cleanup artifacts", "Agent", "Prepare", and "Upload results" are check runs + # created by an org-level GitHub App (MSDO), not by any workflow in this repo. + # They are outside our control and their transient failures should not block merges. + ignored: CodeQL,CodeQL analysis (csharp),Cleanup artifacts,Agent,Prepare,Upload results diff --git a/dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ObservabilityTests.cs b/dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ObservabilityTests.cs index be45f55104..4c0aeef5bb 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ObservabilityTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Workflows.UnitTests/ObservabilityTests.cs @@ -145,7 +145,7 @@ public sealed class ObservabilityTests : IDisposable await this.TestWorkflowEndToEndActivitiesAsync("OffThread"); } - [Fact] + [Fact(Skip = "Flaky test - temporarily disabled")] public async Task CreatesWorkflowEndToEndActivities_WithCorrectName_ConcurrentAsync() { await this.TestWorkflowEndToEndActivitiesAsync("Concurrent");