Skip to content

Validate MiniLcm types #252

Validate MiniLcm types

Validate MiniLcm types #252

Triggered via pull request January 9, 2025 15:54
Status Failure
Total duration 1m 5s
Artifacts

develop-fw-headless.yaml

on: pull_request
Set Version
0s
Set Version
Build FwHeadless  /  publish-fw-headless
46s
Build FwHeadless / publish-fw-headless
Deploy FwHeadless  /  deploy
Deploy FwHeadless / deploy
Matrix: Deploy FwHeadless / verify-published
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L144
'MiniLcmValidators' does not contain a definition for 'ValidateAndThrowAsync' and the best extension method overload 'DefaultValidatorExtensions.ValidateAndThrowAsync<SemanticDomain>(IValidator<SemanticDomain>, SemanticDomain, CancellationToken)' requires a receiver of type 'FluentValidation.IValidator<MiniLcm.Models.SemanticDomain>'
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L160
'MiniLcmValidators' does not contain a definition for 'ValidateAndThrowAsync' and the best extension method overload 'DefaultValidatorExtensions.ValidateAndThrowAsync<SemanticDomain>(IValidator<SemanticDomain>, SemanticDomain, CancellationToken)' requires a receiver of type 'FluentValidation.IValidator<MiniLcm.Models.SemanticDomain>'
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L144
'MiniLcmValidators' does not contain a definition for 'ValidateAndThrowAsync' and the best extension method overload 'DefaultValidatorExtensions.ValidateAndThrowAsync<SemanticDomain>(IValidator<SemanticDomain>, SemanticDomain, CancellationToken)' requires a receiver of type 'FluentValidation.IValidator<MiniLcm.Models.SemanticDomain>'
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L160
'MiniLcmValidators' does not contain a definition for 'ValidateAndThrowAsync' and the best extension method overload 'DefaultValidatorExtensions.ValidateAndThrowAsync<SemanticDomain>(IValidator<SemanticDomain>, SemanticDomain, CancellationToken)' requires a receiver of type 'FluentValidation.IValidator<MiniLcm.Models.SemanticDomain>'
Build FwHeadless / publish-fw-headless
Process completed with exit code 1.
Set Version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build FwHeadless / publish-fw-headless
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build FwHeadless / publish-fw-headless: backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs#L209
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.
Build FwHeadless / publish-fw-headless: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Build FwHeadless / publish-fw-headless: backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateSenseProxy.cs#L121
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/CrdtProjectsService.cs#L25
The default value specified for parameter 'saveChangesOnDispose' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/Changes/RemoveSemanticDomainChange.cs#L11
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.
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/RemoteSync/CrdtHttpSyncService.cs#L53
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.
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/HistoryService.cs#L94
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Build FwHeadless / publish-fw-headless: backend/FwLite/LcmCrdt/HistoryService.cs#L94
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'