Skip to content

Fix UIActionEngine test flakiness #6538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

nkolev92
Copy link
Member

@nkolev92 nkolev92 commented Jul 8, 2025

Bug

Fixes: NuGet/Home#14402
Fixes: https://github.com/NuGet/Client.Engineering/issues/2798

Description

Follow up to a discussion with @donnie-msft and his PR #6535.

The root cause is that we're calling the telemetry service static. This PR moves away from that in a similar fashion like #6419 and #6417

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@nkolev92 nkolev92 requested a review from a team as a code owner July 8, 2025 00:13
@nkolev92 nkolev92 requested review from zivkan and jebriede July 8, 2025 00:13
Copy link
Contributor

@donnie-msft donnie-msft left a comment

Choose a reason for hiding this comment

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

Thanks for improving this!
Do you know if the event status is now something besides Cancelled after this change? I had to remove a bunch of assertions due to that in https://github.com/NuGet/Client.Engineering/issues/2798.

@nkolev92 nkolev92 force-pushed the dev-nkolev92-fixUIActionEngineTestFlakiness branch from 5294f03 to d7b414f Compare July 8, 2025 18:11
@nkolev92 nkolev92 requested review from dtivel and donnie-msft July 8, 2025 18:21
@nkolev92 nkolev92 enabled auto-merge (squash) July 8, 2025 18:48
@nkolev92 nkolev92 merged commit 806974c into dev Jul 8, 2025
17 of 18 checks passed
@nkolev92 nkolev92 deleted the dev-nkolev92-fixUIActionEngineTestFlakiness branch July 8, 2025 19:30
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.

Flaky test: CreateInstallAction_OnInstallingProject_EmitsPkgWasTransitiveTelemetryAndTabAndIsSolutionPropertiesAsync
3 participants