PM-32517 Create Migration for Azure Blob Storage #5530
test-database.yml
on: pull_request
Run tests
11m 38s
Run validation
2m 11s
Validate new migration naming and order
14s
Annotations
24 warnings
|
Run validation:
src/Core/Utilities/CoreHelpers.cs#L122
The behavior of 'string.ToUpper()' could vary based on the current user's locale settings. Replace this call in 'CoreHelpers.CleanCertificateThumbprint(string)' with a call to 'string.ToUpper(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/FreeFamiliesForEnterprisePolicyValidator.cs#L45
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'FreeFamiliesForEnterprisePolicyValidator.NotifiesUserWithApplicablePoliciesAsync(PolicyUpdate)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/EmailValidation.cs#L57
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'EmailValidation.GetDomain(string)' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Utilities/EnumerationProtectionHelpers.cs#L30
The behavior of 'long.Parse(string, NumberStyles)' could vary based on the current user's locale settings. Replace this call in 'EnumerationProtectionHelpers.GetIndexForInputHash(byte[], string, int)' with a call to 'long.Parse(string, NumberStyles, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/EncryptedStringLengthAttribute.cs#L13
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'EncryptedStringLengthAttribute.FormatErrorMessage(string)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Utilities/HostBuilderExtensions.cs#L14
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'IHostBuilder.ConfigureCustomAppConfiguration(string[])' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Utilities/JsonHelpers.cs#L127
The behavior of 'long.ToString()' could vary based on the current user's locale settings. Replace this call in 'MsEpochConverter.Write(Utf8JsonWriter, DateTime?, JsonSerializerOptions)' with a call to 'long.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/AdminConsole/Models/Mail/DeviceApprovalRequestedViewModel.cs#L13
The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'DeviceApprovalRequestedViewModel.Url.get' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run validation:
src/Core/Billing/Pricing/Organizations/Purchasable.cs#L79
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'FreeOrScalableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run validation:
src/Core/Billing/Pricing/Organizations/Purchasable.cs#L30
The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'PurchasableJsonConverter._typePropertyName' with a call to 'string.ToLower(CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L260
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.GetOrganizationsForSubscriptionSyncAsync_GivenOrganizationHasChangedSeatCount_WhenGettingOrgsToUpdate_ThenReturnsOrgSubscriptionUpdate(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L260
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.GetOrganizationsForSubscriptionSyncAsync_GivenOrganizationHasChangedSeatCount_WhenGettingOrgsToUpdate_ThenReturnsOrgSubscriptionUpdate(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L237
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasChangedSeatCountBeforeAndRecordExists_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L237
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasChangedSeatCountBeforeAndRecordExists_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L212
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasNotChangedSeatCountBefore_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
test/Infrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationRepositoryTests.cs#L212
The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'OrganizationRepositoryTests.IncrementSeatCountAsync_GivenOrganizationHasNotChangedSeatCountBefore_WhenUpdatingOrgSeats_ThenSubscriptionUpdateIsSaved(IOrganizationRepository)' with a call to 'DateTime.ToString(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Infrastructure.Dapper/Dirt/Repositories/EventRepository.cs#L184
The behavior of 'long.ToString()' could vary based on the current user's locale settings. Replace this call in 'EventRepository.GetManyAsync(string, IDictionary<string, object>, DateTime, DateTime, PageOptions)' with a call to 'long.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
src/Infrastructure.Dapper/NotificationCenter/Repositories/NotificationRepository.cs#L56
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NotificationRepository.GetByUserIdAndStatusAsync(Guid, ClientType, NotificationStatusFilter, PageOptions)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L43
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogError(Exception, string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L38
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogError(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L33
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogWarning(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L28
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogInformation(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L23
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogDebug(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
|
Run tests:
util/Migrator/DbUpLogger.cs#L18
The behavior of 'string.Format(string, params object[])' could vary based on the current user's locale settings. Replace this call in 'DbUpLogger.LogTrace(string, params object[])' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
report.xml
|
1.22 KB |
sha256:7c5788ebb8414febdc4dae12f3aa2d5cf8b2684d3ba3bcd0f072ff549e5a5e6c
|
|
|
sql.dacpac
|
159 KB |
sha256:92e9aa1ee0dbd6dee7bbc728b9ee3b490c5f2366fef704a82d58c0719fbdf082
|
|