Skip to content

updated db migrations #1

updated db migrations

updated db migrations #1

Triggered via push March 9, 2024 14:37
Status Failure
Total duration 41s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

1 error and 170 warnings
build
buildx failed with: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 66cd06a6-b278-495c-ae3e-04e926acdc46::snw1tat7xg98ry8169b6pyxhx: "/RecomendationAlgo/RecomendationAlgo.csproj": not found
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, docker/login-action@v1, docker/build-push-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1, docker/build-push-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build: Backend/Common/MBcontracts/UploadVideoRequest.cs#L12
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Backend/Common/MBcontracts/UploadVideoRequest.cs#L14
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Backend/Common/MBcontracts/UploadVideoRequest.cs#L20
Non-nullable property 'VideoUri' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Backend/Common/MBcontracts/UploadVideoRequest.cs#L22
Non-nullable property 'ThumbnailUri' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Backend/Common/MBcontracts/RenderVideoRequest.cs#L6
Non-nullable property 'VideoUri' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Backend/Common/MBcontracts/RecommendationVideoResponse.cs#L6
Non-nullable property 'VideoIds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Backend/Common/Model/VideoCategory.cs#L105
Converting null literal or possible null value to non-nullable type.
build: Backend/Common/Model/VideoCategory.cs#L107
Possible null reference argument for parameter 'element' in 'DescriptionAttribute? CustomAttributeExtensions.GetCustomAttribute<DescriptionAttribute>(MemberInfo element)'.
build: Backend/Common/Model/VideoCategory.cs#L107
Converting null literal or possible null value to non-nullable type.
build: Backend/RecommendationAlgo/ConsulRegisterer.cs#L16
Converting null literal or possible null value to non-nullable type.
Incorrect indent (around child statement): Upload/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): VideoStreamer/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): RecommendationAlgo/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): Account/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): Render/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Incorrect indent (around child statement): VideoLibrary/Controllers/HealthController.cs#L16
Line indent is not restored to the previous level around child statement
Use of obsolete symbol: APIGateway/Auth/OwnAuthHandler.cs#L30
CS0618: ISystemClock is obsolete, use TimeProvider on AuthenticationSchemeOptions instead.
Use of obsolete symbol: APIGateway/Auth/OwnAuthHandler.cs#L28
CS0618: Interface 'Microsoft.AspNetCore.Authentication.ISystemClock' is obsolete: Use TimeProvider instead.
Async function without await expression: Account/Services/AccountService.cs#L21
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.
Async method invocation without await expression: Account/Services/AccountService.cs#L33
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Converting null literal or possible null value to non-nullable type.: VideoLibrary/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Common/Model/VideoCategory.cs#L105
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Account/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Upload/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Upload/Controllers/UploadController.cs#L39
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: VideoStreamer/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: Render/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Converting null literal or possible null value to non-nullable type.: RecommendationAlgo/ConsulRegisterer.cs#L16
Converting null literal or possible null value into non-nullable type
Dereference of a possibly null reference.: Account/Services/StripePaymentService.cs#L44
Dereference of a possibly null reference
Possible null reference argument for a parameter.: VideoStreamer/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: VideoLibrary/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: APIGateway/Auth/OwnAuthHandler.cs#L73
Possible null reference argument for parameter 's' in 'System.Text.Encoding.GetBytes'
Possible null reference argument for a parameter.: Account/Services/AuthTokenGenerator.cs#L45
Possible null reference argument for parameter 's' in 'System.Text.Encoding.GetBytes'
Possible null reference argument for a parameter.: Account/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: Common/Model/VideoCategory.cs#L107
Possible null reference argument for parameter 'element' in 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute'
Possible null reference argument for a parameter.: Account/Services/AuthTokenGenerator.cs#L22
Possible null reference argument for parameter 's' in 'System.Text.Encoding.GetBytes'
Possible null reference argument for a parameter.: RecommendationAlgo/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: Render/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Possible null reference argument for a parameter.: Upload/ConsulRegisterer.cs#L19
Possible null reference argument for parameter 'uriString' in 'System.Uri.Uri'
Non-nullable member is uninitialized.: RecommendationAlgo/Repository/EFC/DatabaseContext.cs#L9
Non-nullable property 'VideoStats' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Repository/Entities/Account.cs#L14
Non-nullable property 'Email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L12
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/RecommendationVideoResponse.cs#L6
Non-nullable property 'VideoIds' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L11
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L18
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/RegisterRequestDTO.cs#L6
Non-nullable property 'passwordUnhashed' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/RegisterRequestDTO.cs#L5
Non-nullable property 'email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/LoginRequestDTO.cs#L5
Non-nullable property 'email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L20
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Repository/EFC/DatabaseContext.cs#L7
Non-nullable property 'Accounts' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: RecommendationAlgo/Repository/EFC/DatabaseContext.cs#L8
Non-nullable property 'WatchHistories' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/IncomingPaymentDTO.cs#L7
Non-nullable property 'StripeToken' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Upload/Model/DTO/VideoUploadDTO.cs#L9
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L8
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Upload/Model/DTO/VideoUploadDTO.cs#L17
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Repository/Entities/Account.cs#L17
Non-nullable property 'PasswordHashed' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/EFC/DatabaseContext.cs#L8
Non-nullable property 'Videos' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L27
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L14
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Model/VideoDTO.cs#L7
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L12
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/UploadVideoRequest.cs#L22
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/AccountDTO.cs#L6
Non-nullable property 'Email' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Account/Model/DTO/LoginRequestDTO.cs#L6
Non-nullable property 'passwordUnhashed' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L15
Non-nullable property 'Title' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Common/MBcontracts/RenderVideoRequest.cs#L6
Non-nullable property 'VideoUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: VideoLibrary/Repository/Entities/Video.cs#L30
Non-nullable property 'ThumbnailUri' is uninitialized. Consider declaring the property as nullable.
Non-nullable member is uninitialized.: Upload/Model/DTO/VideoUploadDTO.cs#L12
Non-nullable property 'Description' is uninitialized. Consider declaring the property as nullable.
Nullability of reference types in source type doesn't match target type.: VideoLibrary/Services/VideoService.cs#L42
Nullability of reference types in value of type 'System.Collections.Generic.List' does not match target type 'System.Collections.Generic.List'
Namespace does not correspond to file location: RecommendationAlgo/ConsulRegisterer.cs#L4
Namespace does not correspond to file location, must be: 'RecommendationAlgo'
Namespace does not correspond to file location: Render/Controllers/HealthController.cs#L4
Namespace does not correspond to file location, must be: 'Render.Controllers'
Namespace does not correspond to file location: Account/ConsulRegisterer.cs#L4
Namespace does not correspond to file location, must be: 'Account'
Expression is always 'true' or 'false' according to nullable reference types' annotations: VideoLibrary/Services/VideoService.cs#L26
Expression is always false according to nullable reference types' annotations
Expression is always 'true' or 'false' according to nullable reference types' annotations: Upload/Controllers/UploadController.cs#L29
Expression is always false according to nullable reference types' annotations
Expression is always 'true' or 'false' according to nullable reference types' annotations: Upload/Controllers/UploadController.cs#L33
Expression is always false according to nullable reference types' annotations
Conditional access qualifier expression is not null according to nullable reference types' annotations: Common/AccIdExtractorFromHttpContext.cs#L21
Conditional access qualifier expression is never null according to nullable reference types' annotations
Empty constructor: Account/Model/DTO/IncomingPaymentDTO.cs#L3
Empty constructor is redundant. The compiler generates the same by default.
Empty constructor: Account/Model/DTO/LoginRequestDTO.cs#L3
Empty constructor is redundant. The compiler generates the same by default.
Empty constructor: Account/Model/DTO/RegisterRequestDTO.cs#L3
Empty constructor is redundant. The compiler generates the same by default.
Invalid XML documentation comment: RecommendationAlgo/Repository/RecommendationRepository.cs#L153
Parameter 'category' has no matching param tag in the XML comment for RecommendationAlgo.Repository.RecommendationRepository.GetRecommendedVideosBasedOnLikeSimilarity (but other parameters do)
Invalid XML documentation comment: VideoLibrary/Controllers/VideoController.cs#L18
Parameter 'topN' has no matching param tag in the XML comment for OpenVisStreamer.VideoLibrary.Controllers.VideoController.GetRecommendedVideos (but other parameters do)
Redundant member initializer: Common/MBcontracts/UploadVideoRequest.cs#L29
Initializing property by default value is redundant
Redundant member initializer: Account/Repository/Entities/Account.cs#L10
Initializing property by default value is redundant
Redundant member initializer: Account/Repository/Entities/Account.cs#L22
Initializing property by default value is redundant
Redundant member initializer: RecommendationAlgo/Repository/Entities/WatchHistory.cs#L25
Initializing property by default value is redundant
Redundant member initializer: RecommendationAlgo/Repository/Entities/WatchHistory.cs#L19
Initializing property by default value is redundant
Redundant member initializer: VideoLibrary/Repository/Entities/Video.cs#L39
Initializing property by default value is redundant
Redundant member initializer: Account/Repository/Entities/Account.cs#L20
Initializing property by default value is redundant
Redundant type declaration body: APIGateway/Swagger/SwaggerAggregator.cs#L6
Redundant empty class declaration body
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L5
Using directive is not required by the code and can be safely removed
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L7
Using directive is not required by the code and can be safely removed
Redundant using directive: Common/MBcontracts/UploadVideoRequest.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Program.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Repository/Entities/VideoStats.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Repository/Entities/WatchHistory.cs#L3
Using directive is not required by the code and can be safely removed
Redundant using directive: Account/Program.cs#L4
Using directive is not required by the code and can be safely removed
Redundant using directive: RecommendationAlgo/Program.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L11
Using directive is not required by the code and can be safely removed
Redundant using directive: APIGateway/Auth/OwnAuthHandler.cs#L2
Using directive is not required by the code and can be safely removed
Redundant using directive: Common/MBcontracts/UploadVideoRequest.cs#L1
Using directive is not required by the code and can be safely removed
Redundant using directive: VideoLibrary/Program.cs#L1
Using directive is not required by the code and can be safely removed
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L7
Auto-property accessor 'Title.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/IncomingPaymentDTO.cs#L7
Auto-property accessor 'StripeToken.set' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L6
Auto-property accessor 'Email.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L7
Auto-property accessor 'Balance.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L8
Auto-property accessor 'SubscriptionValidUntil.get' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/RegisterRequestDTO.cs#L6
Auto-property accessor 'passwordUnhashed.set' is never used
Auto-property accessor is never used (non-private accessibility): Common/MBcontracts/UploadVideoRequest.cs#L18
Auto-property accessor 'videoLength.set' is never used
Auto-property accessor is never used (non-private accessibility): Account/Model/DTO/AccountDTO.cs#L5
Auto-property accessor 'AccId.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L12
Auto-property accessor 'ThumbnailUri.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L15
Auto-property accessor 'UploadDateTime.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L8
Auto-property accessor 'Description.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L11
Auto-property accessor 'VideoUri.get' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L9
Auto-property accessor 'Category.get' is never used
Auto-property accessor is never used (non-private accessibility): Upload/Model/DTO/VideoUploadDTO.cs#L12
Auto-property accessor 'Description.set' is never used
Auto-property accessor is never used (non-private accessibility): VideoLibrary/Model/VideoDTO.cs#L6
Auto-property accessor 'VideoId.get' is never used
Unused parameter (private accessibility): Account/Services/StripePaymentService.cs#L12
Parameter 'retryAttempt' is never used
Unused local variable: Render/Services/RenderService.cs#L41
Local variable 'error' is never used
Unused local variable: Render/Services/RenderService.cs#L40
Local variable 'output' is never used
Unused local variable: VideoStreamer/Program.cs#L6
Local variable 'consulIP' is never used
Unused local variable: APIGateway/Auth/OwnAuthHandler.cs#L77
Local variable 'validatedToken' is never used
Unused local variable: APIGateway/Auth/OwnAuthHandler.cs#L79
Local variable 'a' is never used
Do not use object initializer for 'using' variable: Render/Services/RenderService.cs#L35
Initialize object properties inside the 'using' statement to ensure that the object is disposed if an exception is thrown during initialization