Skip to content

feat: add AWS native implementation #116

feat: add AWS native implementation

feat: add AWS native implementation #116

Triggered via pull request June 6, 2025 13:05
Status Failure
Total duration 3m 19s
Artifacts

user-management-test.yml

on: pull_request
unit-test
33s
unit-test
Matrix: integration-test-agnostic
Matrix: integration-test-azure
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 50 warnings
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L15
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L14
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L13
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L12
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L11
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L10
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L9
The type or namespace name 'EntityFrameworkCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L8
The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L7
The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L6
The type or namespace name 'Azure' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L15
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L14
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L13
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L12
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L11
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L10
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L9
The type or namespace name 'EntityFrameworkCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L8
The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L7
The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L6
The type or namespace name 'Azure' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L15
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L14
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L13
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L12
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L11
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L10
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L9
The type or namespace name 'EntityFrameworkCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L8
The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L7
The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L6
The type or namespace name 'Azure' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L15
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L14
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L13
The type or namespace name 'OpenIddict' could not be found (are you missing a using directive or an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L12
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L11
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L10
The type or namespace name 'Extensions' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L9
The type or namespace name 'EntityFrameworkCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L8
The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L7
The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.AWS/ServiceExtensions.cs#L6
The type or namespace name 'Azure' could not be found (are you missing a using directive or an assembly reference?)
unit-test: user-management/tests/Stickerlandia.UserManagement.UnitTest/AccountTests.cs#L159
The variable 'ex' is declared but never used
unit-test: user-management/tests/Stickerlandia.UserManagement.UnitTest/AccountTests.cs#L139
Argument of type 'IReturnValueArgumentValidationConfiguration<Task<UserAccount?>>' cannot be used for parameter 'configuration' of type 'IReturnValueConfiguration<Task<UserAccount>>' in 'IAfterCallConfiguredWithOutAndRefParametersConfiguration<IReturnValueConfiguration<Task<UserAccount>>> ReturnValueConfigurationExtensions.Returns<Task<UserAccount>>(IReturnValueConfiguration<Task<UserAccount>> configuration, Task<UserAccount> value)' due to differences in the nullability of reference types.
unit-test: user-management/tests/Stickerlandia.UserManagement.UnitTest/AccountTests.cs#L106
The variable 'testPasswordHash' is assigned but its value is never used
unit-test: user-management/tests/Stickerlandia.UserManagement.UnitTest/AccountTests.cs#L44
The variable 'testPassword' is assigned but its value is never used
unit-test: user-management/tests/Stickerlandia.UserManagement.UnitTest/AccountTests.cs#L62
Dereference of a possibly null reference.
unit-test: user-management/tests/Stickerlandia.UserManagement.UnitTest/AccountTests.cs#L54
Argument of type 'IReturnValueArgumentValidationConfiguration<Task<UserAccount?>>' cannot be used for parameter 'configuration' of type 'IReturnValueConfiguration<Task<UserAccount>>' in 'IAfterCallConfiguredWithOutAndRefParametersConfiguration<IReturnValueConfiguration<Task<UserAccount>>> ReturnValueConfigurationExtensions.Returns<Task<UserAccount>>(IReturnValueConfiguration<Task<UserAccount>> configuration, Task<UserAccount> value)' due to differences in the nullability of reference types.
unit-test: user-management/src/Stickerlandia.UserManagement.Core/Login/LoginResponse.cs#L13
Non-nullable property 'Identity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
unit-test: user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L59
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
unit-test: user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L53
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/PostgresUserRepository.cs#L194
Possible null reference argument for parameter 'emailAddress' in 'UserAccount UserAccount.From(AccountId id, string emailAddress, string firstName, string lastName, int claimedStickerCount, DateTime dateCreated, AccountTier accountTier, AccountType accountType)'.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/PostgresUserRepository.cs#L169
Possible null reference argument for parameter 'emailAddress' in 'UserAccount UserAccount.From(AccountId id, string emailAddress, string firstName, string lastName, int claimedStickerCount, DateTime dateCreated, AccountTier accountTier, AccountType accountType)'.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/KafakStickerClaimedWorker.cs#L25
Parameter 'ProducerConfig producerConfig' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/UserManagementDbContext.cs#L13
'UserManagementDbContext.Users' hides inherited member 'IdentityUserContext<PostgresUserAccount, string, IdentityUserClaim<string>, IdentityUserLogin<string>, IdentityUserToken<string>>.Users'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Core/Login/LoginResponse.cs#L13
Non-nullable property 'Identity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L59
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L53
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/MicrsoftIdentityAuthService.cs#L81
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/MicrsoftIdentityAuthService.cs#L43
Possible null reference argument for parameter 'identity' in 'bool OpenIddictExtensions.HasScope(ClaimsIdentity identity, string scope)'.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/KafakStickerClaimedWorker.cs#L25
Parameter 'ProducerConfig producerConfig' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/UserManagementDbContext.cs#L13
'UserManagementDbContext.Users' hides inherited member 'IdentityUserContext<PostgresUserAccount, string, IdentityUserClaim<string>, IdentityUserLogin<string>, IdentityUserToken<string>>.Users'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L59
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L53
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-agnostic (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Core/Login/LoginResponse.cs#L13
Non-nullable property 'Identity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/PostgresUserRepository.cs#L194
Possible null reference argument for parameter 'emailAddress' in 'UserAccount UserAccount.From(AccountId id, string emailAddress, string firstName, string lastName, int claimedStickerCount, DateTime dateCreated, AccountTier accountTier, AccountType accountType)'.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/PostgresUserRepository.cs#L169
Possible null reference argument for parameter 'emailAddress' in 'UserAccount UserAccount.From(AccountId id, string emailAddress, string firstName, string lastName, int claimedStickerCount, DateTime dateCreated, AccountTier accountTier, AccountType accountType)'.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/KafakStickerClaimedWorker.cs#L25
Parameter 'ProducerConfig producerConfig' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Agnostic/UserManagementDbContext.cs#L13
'UserManagementDbContext.Users' hides inherited member 'IdentityUserContext<PostgresUserAccount, string, IdentityUserClaim<string>, IdentityUserLogin<string>, IdentityUserToken<string>>.Users'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Core/Login/LoginResponse.cs#L13
Non-nullable property 'Identity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L59
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L53
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/PostgresUserRepository.cs#L169
Possible null reference argument for parameter 'emailAddress' in 'UserAccount UserAccount.From(AccountId id, string emailAddress, string firstName, string lastName, int claimedStickerCount, DateTime dateCreated, AccountTier accountTier, AccountType accountType)'.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/MicrsoftIdentityAuthService.cs#L43
Possible null reference argument for parameter 'identity' in 'bool OpenIddictExtensions.HasScope(ClaimsIdentity identity, string scope)'.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/KafakStickerClaimedWorker.cs#L25
Parameter 'ProducerConfig producerConfig' is captured into the state of the enclosing type and its value is also used to initialize a field, property, or event.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Agnostic/UserManagementDbContext.cs#L13
'UserManagementDbContext.Users' hides inherited member 'IdentityUserContext<PostgresUserAccount, string, IdentityUserClaim<string>, IdentityUserLogin<string>, IdentityUserToken<string>>.Users'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Core/Login/LoginResponse.cs#L13
Non-nullable property 'Identity' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L59
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
integration-test-azure (AGNOSTIC): user-management/src/Stickerlandia.UserManagement.Core/UserAccount.cs#L53
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.