You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CI Failure] Flaky: DevTunnelMonitorTests.CancellingAHealthCallerDoesNotCancelTheSharedObserver throws ObjectDisposedException on disposed IServiceProvider #20859
Build: https://github.com/microsoft/aspire/actions/runs/37977079859
Build error leg or test failing: Tests / No-package tests (regular, Aspire.Hosting.DevTunnels.Tests, Hosting.DevTunnels, Hosting.DevTunnel... / Hosting.DevTunnels (ubuntu-latest) / Aspire.Hosting.DevTunnels.Tests.DevTunnelMonitorTests.CancellingAHealthCallerDoesNotCancelTheSharedObserver
Error Message
System.ObjectDisposedException : Cannot access a disposed object.
Object name: 'IServiceProvider'.
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ThrowHelper.ThrowObjectDisposedException()
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Aspire.Hosting.ApplicationModel.ResourceNotificationService.get_Configuration()
Description
Flaky: DevTunnelMonitorTests.CancellingAHealthCallerDoesNotCancelTheSharedObserver throws ObjectDisposedException on disposed IServiceProvider
[automated] Consolidating #20861 and #21699 here: all three failures reach TestDevTunnelMonitor.Dispose through DevTunnelMonitor.StopRunAsync after the service provider is disposed, including both configuration-lookup and command-state callback variants. Distinct verified jobs are October 9 / CancellingAHealthCaller, October 9 / HostOutputAllocatesPorts, and November 2 / ReconciliationRetries; the linked reports retain their full occurrence histories. #21424 merged November 3 and reverses the shared fixture's disposal order; the November 2 failure predates that merge, and duplicate consolidation alone does not close this canonical or claim recovery.
[automated] Fixed by #21424 on main. The fixture now stops the shared observer before disposing its services. The reported occurrences predate the fix, and the affected tests passed on Ubuntu and Windows in run 46182022124.
Activity
Stop DevTunnel test monitor before disposing its host (#21424)
Fix DcpStartupPublishesDevTunnelUrls cold-start timeout flake (#21573)
radical commentedon Nov 5, 2026
[automated] Consolidating #20861 and #21699 here: all three failures reach
TestDevTunnelMonitor.DisposethroughDevTunnelMonitor.StopRunAsyncafter the service provider is disposed, including both configuration-lookup and command-state callback variants. Distinct verified jobs are October 9 / CancellingAHealthCaller, October 9 / HostOutputAllocatesPorts, and November 2 / ReconciliationRetries; the linked reports retain their full occurrence histories. #21424 merged November 3 and reverses the shared fixture's disposal order; the November 2 failure predates that merge, and duplicate consolidation alone does not close this canonical or claim recovery.radical commentedon Nov 28, 2026
[automated] Fixed by #21424 on
main. The fixture now stops the shared observer before disposing its services. The reported occurrences predate the fix, and the affected tests passed on Ubuntu and Windows in run 46182022124.