9 references to CI
aspire (4)
Telemetry\TelemetryManager.cs (4)
83(_, true) => ReportedTelemetryMode.CI, 86AppContext.SetSwitch(PersistOnForceFlushSwitchName, mode != ReportedTelemetryMode.CI); 87AppContext.SetSwitch(DisablePersistOnShutdownSwitchName, mode == ReportedTelemetryMode.CI); 427(ReportedTelemetryMode.CI, _) => ReportedCIShutdownTimeoutMilliseconds,
Aspire.Cli.Tests (5)
Telemetry\AgentTelemetryPersistenceTests.cs (1)
480Assert.Equal(isAgent ? ReportedTelemetryMode.Agent : isCI ? ReportedTelemetryMode.CI : ReportedTelemetryMode.Local, mode);
Telemetry\TelemetryShutdownTests.cs (4)
32[InlineData(nameof(ReportedTelemetryMode.CI), CliExitCodes.Success, 5000)] 33[InlineData(nameof(ReportedTelemetryMode.CI), CliExitCodes.Cancelled, 5000)] 34[InlineData(nameof(ReportedTelemetryMode.CI), CliExitCodes.InvalidCommand, 5000)] 44TelemetryManager.ConfigureExporterForProcess(mode == ReportedTelemetryMode.Agent, mode == ReportedTelemetryMode.CI);