Skip to content
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

Cache RootResource per endpoint rather than per repository #870

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Cache RootResource per endpoint rather than per repository

ac1e611
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Cache RootResource per endpoint rather than per repository #870

Cache RootResource per endpoint rather than per repository
ac1e611
Select commit
Loading
Failed to load commit list.
GitHub Actions / Mac OS unit test results succeeded Aug 16, 2024 in 0s

930 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
./TestResults/Mac_net6.0_20240816002412.trx 465✅ 29s
./TestResults/Mac_net8.0_20240816002440.trx 465✅ 28s

✅ ./TestResults/Mac_net6.0_20240816002412.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✅ 58ms
Octopus.Client.Tests.Conventions.AccountTypeConventions 1✅ 13ms
Octopus.Client.Tests.Conventions.ClientConventions 22✅ 39ms
Octopus.Client.Tests.Conventions.RepositorySymmetryConventions 2✅ 0ms
Octopus.Client.Tests.DefaultLinkResolverFixture 24✅ 1ms
Octopus.Client.Tests.Exceptions.OctopusExceptionFactoryFixture 42✅ 60ms
Octopus.Client.Tests.Extensions.DateTimeExtensionsFixture 9✅ 895ms
Octopus.Client.Tests.Extensions.TypeExtensionMethodsFixture 3✅ 2ms
Octopus.Client.Tests.HttpRequestRouting.GivenAGetPayload 10✅ 475ms
Octopus.Client.Tests.HttpRequestRouting.GivenAPostPayload 8✅ 266ms
Octopus.Client.Tests.Integration.OctopusClient.AntiforgeryTokenTests 2✅ 302ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersAzureDevOpsTests 2✅ 12ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersBambooTests 2✅ 10ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersTeamCityTests 2✅ 12ms
Octopus.Client.Tests.Integration.OctopusClient.BuildServerHeadersUnspecifiedTests 2✅ 14ms
Octopus.Client.Tests.Integration.OctopusClient.ErrorHandlingTests 1✅ 15ms
Octopus.Client.Tests.Integration.OctopusClient.FileTests 2✅ 23ms
Octopus.Client.Tests.Integration.OctopusClient.HttpMethodTests 4✅ 33ms
Octopus.Client.Tests.Integration.OctopusClient.NonJsonReturnTypeTests 3✅ 15ms
Octopus.Client.Tests.Integration.OctopusClient.SslTests 2✅ 2s
Octopus.Client.Tests.Integration.OctopusClient.StatusTests 7✅ 62ms
Octopus.Client.Tests.Integration.OctopusClient.StreamTests 1✅ 9ms
Octopus.Client.Tests.Integration.OctopusClient.TimeoutTests 2✅ 5s
Octopus.Client.Tests.Integration.OctopusClient.UserAgentTests 2✅ 17ms
Octopus.Client.Tests.Integration.Repository.MachineRepositoryTest 3✅ 103ms
Octopus.Client.Tests.Integration.Repository.TenantRepositoryTest 2✅ 13ms
Octopus.Client.Tests.Integration.Repository.UnauthorisedTest 1✅ 13ms
Octopus.Client.Tests.Model.InterruptionResourceFixture 4✅ 3ms
Octopus.Client.Tests.Model.InterruptionTypeFixture 2✅ 0ms
Octopus.Client.Tests.Model.NonEmptyCollectionItemAttributeFixture 3✅ 1ms
Octopus.Client.Tests.Model.PasswordComplexityAttributeFixture 10✅ 1ms
Octopus.Client.Tests.Model.SemanticVersionMaskFixture 62✅ 13ms
Octopus.Client.Tests.Model.TenantVariableResourceFixture 6✅ 12ms
Octopus.Client.Tests.Model.Versioning.VersionComparerFixture 23✅ 2ms
Octopus.Client.Tests.OctopusClientsCanBeMockedFixture 2✅ 57ms
Octopus.Client.Tests.OctopusRepositoryConventionFixture 1✅ 1ms
Octopus.Client.Tests.Operations.RegisterKubernetesClusterOperationFixture 7✅ 46ms
Octopus.Client.Tests.Operations.RegisterKubernetesDeploymentTargetOperationFixture 7✅ 9ms
Octopus.Client.Tests.Operations.RegisterKubernetesWorkerOperationFixture 4✅ 9ms
Octopus.Client.Tests.Operations.RegisterMachineOperationFixture 14✅ 25ms
Octopus.Client.Tests.Operations.RegisterWorkerOperationFixture 18✅ 35ms
Octopus.Client.Tests.Repositories.Async.BasicRepositoryFixture 16✅ 12ms
Octopus.Client.Tests.Repositories.Async.ProjectTriggerRepositoryTest 1✅ 2ms
Octopus.Client.Tests.Repositories.Async.TaskRepositoryTests 3✅ 12s
Octopus.Client.Tests.Repositories.BasicRepositoryFixture 15✅ 20ms
Octopus.Client.Tests.Repositories.OctopusAsyncRepositoryTests 1✅ 2ms
Octopus.Client.Tests.Repositories.OctopusRepositoryTests 2✅ 2ms
Octopus.Client.Tests.Repositories.ProjectBetaRepositoryTests 3✅ 5ms
Octopus.Client.Tests.Repositories.ProjectRepositoryFixture 3✅ 3ms
Octopus.Client.Tests.Repositories.ProjectRepositorySettingsFixture 1✅ 15ms
Octopus.Client.Tests.Repositories.VariableSetBetaRepositoryTests 4✅ 5ms
Octopus.Client.Tests.Serialization.ChannelVersionRuleResourceSerializationFixture 2✅ 12ms
Octopus.Client.Tests.Serialization.ControlConverterTests 2✅ 4ms
Octopus.Client.Tests.Serialization.CrossPlatformDateTimeZoneJsonConverterFixture 8✅ 8ms
Octopus.Client.Tests.Serialization.EndpointConverterFixture 11✅ 19ms
Octopus.Client.Tests.Serialization.FeedResourceConverterFixture 7✅ 9ms
Octopus.Client.Tests.Serialization.InheritedClassConverterFixture 3✅ 4ms
Octopus.Client.Tests.Serialization.MultiIsoDateTimeFormatConverterFixture 4✅ 2ms
Octopus.Client.Tests.Serialization.PermissionSerializationFixture 7✅ 13ms
Octopus.Client.Tests.Serialization.PermissiveInstantJsonConverterFixture 5✅ 2ms
Octopus.Client.Tests.Serialization.TentacleConfigurationConverterFixture 2✅ 2ms
Octopus.Client.Tests.Serialization.TinyTypeSerializationFixture 2✅ 3ms
Octopus.Client.Tests.Serialization.VersioningStrategyResourceSerializationFixture 4✅ 5ms
Octopus.Client.Tests.ServerVersionCheckFixture 8✅ 0ms
Octopus.Client.Tests.Spaces.MixedScopeSpaceContextExtensionTests 3✅ 6ms
Octopus.Client.Tests.Spaces.SpaceIdAsyncTests 10✅ 4ms
Octopus.Client.Tests.UrlTemplateTests 12✅ 2ms

✅ ./TestResults/Mac_net8.0_20240816002440.trx

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

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