Skip to content

Cache RootResource per endpoint rather than per repository #1598

Cache RootResource per endpoint rather than per repository

Cache RootResource per endpoint rather than per repository #1598

GitHub Actions / Linux unit tests results succeeded Aug 16, 2024 in 0s

930 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
./TestResults/Linux_net6.0_20240816002408.trx 465✅ 29s
./TestResults/Linux_net8.0_20240816002435.trx 465✅ 27s

✅ ./TestResults/Linux_net6.0_20240816002408.trx

465 tests were completed in 29s with 465 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Octo.Tests.Commands.AutomationEnvironmentProviderFixture 2✅ 77ms
Octopus.Client.Tests.Conventions.AccountTypeConventions 1✅ 19ms
Octopus.Client.Tests.Conventions.ClientConventions 22✅ 64ms
Octopus.Client.Tests.Conventions.RepositorySymmetryConventions 2✅ 1ms
Octopus.Client.Tests.DefaultLinkResolverFixture 24✅ 2ms
Octopus.Client.Tests.Exceptions.OctopusExceptionFactoryFixture 42✅ 105ms
Octopus.Client.Tests.Extensions.DateTimeExtensionsFixture 9✅ 1s
Octopus.Client.Tests.Extensions.TypeExtensionMethodsFixture 3✅ 4ms
Octopus.Client.Tests.HttpRequestRouting.GivenAGetPayload 10✅ 470ms
Octopus.Client.Tests.HttpRequestRouting.GivenAPostPayload 8✅ 165ms
Octopus.Client.Tests.Integration.OctopusClient.AntiforgeryTokenTests 2✅ 297ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersAzureDevOpsTests 2✅ 17ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersBambooTests 2✅ 13ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersTeamCityTests 2✅ 12ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersUnspecifiedTests 2✅ 11ms
Octopus.Client.Tests.Integration.OctopusClient.ErrorHandlingTests 1✅ 22ms
Octopus.Client.Tests.Integration.OctopusClient.FileTests 2✅ 36ms
Octopus.Client.Tests.Integration.OctopusClient.HttpMethodTests 4✅ 49ms
Octopus.Client.Tests.Integration.OctopusClient.NonJsonReturnTypeTests 3✅ 40ms
Octopus.Client.Tests.Integration.OctopusClient.SslTests 2✅ 2s
Octopus.Client.Tests.Integration.OctopusClient.StatusTests 7✅ 46ms
Octopus.Client.Tests.Integration.OctopusClient.StreamTests 1✅ 5ms
Octopus.Client.Tests.Integration.OctopusClient.TimeoutTests 2✅ 5s
Octopus.Client.Tests.Integration.OctopusClient.UserAgentTests 2✅ 14ms
Octopus.Client.Tests.Integration.Repository.MachineRepositoryTest 3✅ 133ms
Octopus.Client.Tests.Integration.Repository.TenantRepositoryTest 2✅ 16ms
Octopus.Client.Tests.Integration.Repository.UnauthorisedTest 1✅ 12ms
Octopus.Client.Tests.Model.InterruptionResourceFixture 4✅ 5ms
Octopus.Client.Tests.Model.InterruptionTypeFixture 2✅ 0ms
Octopus.Client.Tests.Model.NonEmptyCollectionItemAttributeFixture 3✅ 1ms
Octopus.Client.Tests.Model.PasswordComplexityAttributeFixture 10✅ 2ms
Octopus.Client.Tests.Model.SemanticVersionMaskFixture 62✅ 17ms
Octopus.Client.Tests.Model.TenantVariableResourceFixture 6✅ 22ms
Octopus.Client.Tests.Model.Versioning.VersionComparerFixture 23✅ 3ms
Octopus.Client.Tests.OctopusClientsCanBeMockedFixture 2✅ 97ms
Octopus.Client.Tests.OctopusRepositoryConventionFixture 1✅ 1ms
Octopus.Client.Tests.Operations.RegisterKubernetesClusterOperationFixture 7✅ 78ms
Octopus.Client.Tests.Operations.RegisterKubernetesDeploymentTargetOperationFixture 7✅ 13ms
Octopus.Client.Tests.Operations.RegisterKubernetesWorkerOperationFixture 4✅ 17ms
Octopus.Client.Tests.Operations.RegisterMachineOperationFixture 14✅ 25ms
Octopus.Client.Tests.Operations.RegisterWorkerOperationFixture 18✅ 40ms
Octopus.Client.Tests.Repositories.Async.BasicRepositoryFixture 16✅ 15ms
Octopus.Client.Tests.Repositories.Async.ProjectTriggerRepositoryTest 1✅ 3ms
Octopus.Client.Tests.Repositories.Async.TaskRepositoryTests 3✅ 11s
Octopus.Client.Tests.Repositories.BasicRepositoryFixture 15✅ 9ms
Octopus.Client.Tests.Repositories.OctopusAsyncRepositoryTests 1✅ 1ms
Octopus.Client.Tests.Repositories.OctopusRepositoryTests 2✅ 2ms
Octopus.Client.Tests.Repositories.ProjectBetaRepositoryTests 3✅ 7ms
Octopus.Client.Tests.Repositories.ProjectRepositoryFixture 3✅ 4ms
Octopus.Client.Tests.Repositories.ProjectRepositorySettingsFixture 1✅ 23ms
Octopus.Client.Tests.Repositories.VariableSetBetaRepositoryTests 4✅ 5ms
Octopus.Client.Tests.Serialization.ChannelVersionRuleResourceSerializationFixture 2✅ 16ms
Octopus.Client.Tests.Serialization.ControlConverterTests 2✅ 6ms
Octopus.Client.Tests.Serialization.CrossPlatformDateTimeZoneJsonConverterFixture 8✅ 8ms
Octopus.Client.Tests.Serialization.EndpointConverterFixture 11✅ 24ms
Octopus.Client.Tests.Serialization.FeedResourceConverterFixture 7✅ 16ms
Octopus.Client.Tests.Serialization.InheritedClassConverterFixture 3✅ 6ms
Octopus.Client.Tests.Serialization.MultiIsoDateTimeFormatConverterFixture 4✅ 3ms
Octopus.Client.Tests.Serialization.PermissionSerializationFixture 7✅ 17ms
Octopus.Client.Tests.Serialization.PermissiveInstantJsonConverterFixture 5✅ 4ms
Octopus.Client.Tests.Serialization.TentacleConfigurationConverterFixture 2✅ 3ms
Octopus.Client.Tests.Serialization.TinyTypeSerializationFixture 2✅ 6ms
Octopus.Client.Tests.Serialization.VersioningStrategyResourceSerializationFixture 4✅ 9ms
Octopus.Client.Tests.ServerVersionCheckFixture 8✅ 0ms
Octopus.Client.Tests.Spaces.MixedScopeSpaceContextExtensionTests 3✅ 10ms
Octopus.Client.Tests.Spaces.SpaceIdAsyncTests 10✅ 30ms
Octopus.Client.Tests.UrlTemplateTests 12✅ 3ms

✅ ./TestResults/Linux_net8.0_20240816002435.trx

465 tests were completed in 27s with 465 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Octo.Tests.Commands.AutomationEnvironmentProviderFixture 2✅ 45ms
Octopus.Client.Tests.Conventions.AccountTypeConventions 1✅ 18ms
Octopus.Client.Tests.Conventions.ClientConventions 22✅ 62ms
Octopus.Client.Tests.Conventions.RepositorySymmetryConventions 2✅ 1ms
Octopus.Client.Tests.DefaultLinkResolverFixture 24✅ 4ms
Octopus.Client.Tests.Exceptions.OctopusExceptionFactoryFixture 42✅ 64ms
Octopus.Client.Tests.Extensions.DateTimeExtensionsFixture 9✅ 71ms
Octopus.Client.Tests.Extensions.TypeExtensionMethodsFixture 3✅ 5ms
Octopus.Client.Tests.HttpRequestRouting.GivenAGetPayload 10✅ 432ms
Octopus.Client.Tests.HttpRequestRouting.GivenAPostPayload 8✅ 173ms
Octopus.Client.Tests.Integration.OctopusClient.AntiforgeryTokenTests 2✅ 209ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersAzureDevOpsTests 2✅ 16ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersBambooTests 2✅ 11ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersTeamCityTests 2✅ 11ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersUnspecifiedTests 2✅ 11ms
Octopus.Client.Tests.Integration.OctopusClient.ErrorHandlingTests 1✅ 20ms
Octopus.Client.Tests.Integration.OctopusClient.FileTests 2✅ 23ms
Octopus.Client.Tests.Integration.OctopusClient.HttpMethodTests 4✅ 54ms
Octopus.Client.Tests.Integration.OctopusClient.NonJsonReturnTypeTests 3✅ 21ms
Octopus.Client.Tests.Integration.OctopusClient.SslTests 2✅ 2s
Octopus.Client.Tests.Integration.OctopusClient.StatusTests 7✅ 55ms
Octopus.Client.Tests.Integration.OctopusClient.StreamTests 1✅ 6ms
Octopus.Client.Tests.Integration.OctopusClient.TimeoutTests 2✅ 5s
Octopus.Client.Tests.Integration.OctopusClient.UserAgentTests 2✅ 13ms
Octopus.Client.Tests.Integration.Repository.MachineRepositoryTest 3✅ 118ms
Octopus.Client.Tests.Integration.Repository.TenantRepositoryTest 2✅ 17ms
Octopus.Client.Tests.Integration.Repository.UnauthorisedTest 1✅ 11ms
Octopus.Client.Tests.Model.InterruptionResourceFixture 4✅ 5ms
Octopus.Client.Tests.Model.InterruptionTypeFixture 2✅ 0ms
Octopus.Client.Tests.Model.NonEmptyCollectionItemAttributeFixture 3✅ 1ms
Octopus.Client.Tests.Model.PasswordComplexityAttributeFixture 10✅ 2ms
Octopus.Client.Tests.Model.SemanticVersionMaskFixture 62✅ 22ms
Octopus.Client.Tests.Model.TenantVariableResourceFixture 6✅ 19ms
Octopus.Client.Tests.Model.Versioning.VersionComparerFixture 23✅ 3ms
Octopus.Client.Tests.OctopusClientsCanBeMockedFixture 2✅ 69ms
Octopus.Client.Tests.OctopusRepositoryConventionFixture 1✅ 1ms
Octopus.Client.Tests.Operations.RegisterKubernetesClusterOperationFixture 7✅ 74ms
Octopus.Client.Tests.Operations.RegisterKubernetesDeploymentTargetOperationFixture 7✅ 13ms
Octopus.Client.Tests.Operations.RegisterKubernetesWorkerOperationFixture 4✅ 17ms
Octopus.Client.Tests.Operations.RegisterMachineOperationFixture 14✅ 26ms
Octopus.Client.Tests.Operations.RegisterWorkerOperationFixture 18✅ 38ms
Octopus.Client.Tests.Repositories.Async.BasicRepositoryFixture 16✅ 17ms
Octopus.Client.Tests.Repositories.Async.ProjectTriggerRepositoryTest 1✅ 3ms
Octopus.Client.Tests.Repositories.Async.TaskRepositoryTests 3✅ 11s
Octopus.Client.Tests.Repositories.BasicRepositoryFixture 15✅ 9ms
Octopus.Client.Tests.Repositories.OctopusAsyncRepositoryTests 1✅ 1ms
Octopus.Client.Tests.Repositories.OctopusRepositoryTests 2✅ 4ms
Octopus.Client.Tests.Repositories.ProjectBetaRepositoryTests 3✅ 7ms
Octopus.Client.Tests.Repositories.ProjectRepositoryFixture 3✅ 5ms
Octopus.Client.Tests.Repositories.ProjectRepositorySettingsFixture 1✅ 22ms
Octopus.Client.Tests.Repositories.VariableSetBetaRepositoryTests 4✅ 5ms
Octopus.Client.Tests.Serialization.ChannelVersionRuleResourceSerializationFixture 2✅ 15ms
Octopus.Client.Tests.Serialization.ControlConverterTests 2✅ 6ms
Octopus.Client.Tests.Serialization.CrossPlatformDateTimeZoneJsonConverterFixture 8✅ 8ms
Octopus.Client.Tests.Serialization.EndpointConverterFixture 11✅ 23ms
Octopus.Client.Tests.Serialization.FeedResourceConverterFixture 7✅ 15ms
Octopus.Client.Tests.Serialization.InheritedClassConverterFixture 3✅ 5ms
Octopus.Client.Tests.Serialization.MultiIsoDateTimeFormatConverterFixture 4✅ 5ms
Octopus.Client.Tests.Serialization.PermissionSerializationFixture 7✅ 16ms
Octopus.Client.Tests.Serialization.PermissiveInstantJsonConverterFixture 5✅ 4ms
Octopus.Client.Tests.Serialization.TentacleConfigurationConverterFixture 2✅ 3ms
Octopus.Client.Tests.Serialization.TinyTypeSerializationFixture 2✅ 6ms
Octopus.Client.Tests.Serialization.VersioningStrategyResourceSerializationFixture 4✅ 9ms
Octopus.Client.Tests.ServerVersionCheckFixture 8✅ 1ms
Octopus.Client.Tests.Spaces.MixedScopeSpaceContextExtensionTests 3✅ 10ms
Octopus.Client.Tests.Spaces.SpaceIdAsyncTests 10✅ 9ms
Octopus.Client.Tests.UrlTemplateTests 12✅ 3ms