Skip to content

feat: first implementation of identity server #98

feat: first implementation of identity server

feat: first implementation of identity server #98

Triggered via pull request May 28, 2025 12:14
Status Failure
Total duration 5m 49s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

user-management-test.yml

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

Annotations

2 errors and 30 warnings
integration-test-agnostic (AZURE)
Process completed with exit code 1.
integration-test-azure (AZURE)
Process completed with exit code 1.
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.Auth/DynamoDB/DynamoDbScopeStore.cs#L275
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.Auth/DynamoDbIdentityAuthService.cs#L89
Possible null reference argument for parameter 'email' in 'Task<IdentityUser?> UserManager<IdentityUser>.FindByEmailAsync(string email)'.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Auth/DynamoDB/DynamoDbScopeStore.cs#L93
Possible null reference argument for parameter 'item' in 'bool ImmutableArray<string>.Contains(string item)'.
integration-test-agnostic (AZURE): user-management/src/Stickerlandia.UserManagement.Auth/DynamoDbIdentityAuthService.cs#L56
Possible null reference argument for parameter 'identity' in 'bool OpenIddictExtensions.HasScope(ClaimsIdentity identity, string scope)'.
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-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Auth/DynamoDB/DynamoDbScopeStore.cs#L93
Possible null reference argument for parameter 'item' in 'bool ImmutableArray<string>.Contains(string item)'.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Auth/DynamoDB/DynamoDbApplicationStore.cs#L340
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.Auth/DynamoDbIdentityAuthService.cs#L89
Possible null reference argument for parameter 'email' in 'Task<IdentityUser?> UserManager<IdentityUser>.FindByEmailAsync(string email)'.
integration-test-azure (AZURE): user-management/src/Stickerlandia.UserManagement.Auth/DynamoDbIdentityAuthService.cs#L56
Possible null reference argument for parameter 'identity' in 'bool OpenIddictExtensions.HasScope(ClaimsIdentity identity, string scope)'.
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.