Skip to content

Use project ID, not code, in CrdtMerge API #319

Use project ID, not code, in CrdtMerge API

Use project ID, not code, in CrdtMerge API #319

Triggered via pull request October 28, 2024 06:45
Status Failure
Total duration 6m 26s
Artifacts

fw-lite.yaml

on: pull_request
Build FW Lite and run tests
6m 12s
Build FW Lite and run tests
Publish FW Lite app for Mac
0s
Publish FW Lite app for Mac
Publish FW Lite app for Linux
0s
Publish FW Lite app for Linux
Publish FW Lite app for Windows
0s
Publish FW Lite app for Windows
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
FwLiteProjectSync.Tests.SyncFixtureTests.CanStart: backend/FwLite/FwLiteProjectSync.Tests/SyncFixtureTests.cs#L11
CommonServiceLocator.ActivationException : Activation error occurred while trying to get instance of type IDataSetup, key "" ---- StructureMap.Building.StructureMapBuildException : Error while building type SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache. See the inner exception for details 1.) new LcmMetaDataCache() 2.) SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache 3.) Instance of SIL.LCModel.Infrastructure.IFwMetaDataCacheManaged (SIL.LCModel.Infrastructure.Impl.LcmMetaDataCache) 4.) new IdentityMap(*Default of IFwMetaDataCacheManaged*) 5.) SIL.LCModel.Infrastructure.Impl.IdentityMap 6.) Instance of SIL.LCModel.Infrastructure.Impl.IdentityMap 7.) new MemoryOnlyBackendProvider(*Default of LcmCache*, *Default of IdentityMap*, *Default of ICmObjectSurrogateFactory*, *Default of IFwMetaDataCacheManagedInternal*, *Default of IDataMigrationManager*, *Default of ILcmUI*, *Default of ILcmDirectories*, *Default of LcmSettings*) 8.) SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider 9.) Instance of SIL.LCModel.Infrastructure.IDataSetup (SIL.LCModel.Infrastructure.Impl.MemoryOnlyBackendProvider) 10.) Container.GetInstance(SIL.LCModel.Infrastructure.IDataSetup) -------- System.ArgumentException : An item with the same key has already been added. Key: CmFilter
Build FW Lite and run tests
Process completed with exit code 1.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge.Tests/Fixtures/MockFwProjectList.cs#L6
Parameter 'IOptions<FwDataBridgeConfig> config' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L189
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 FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L194
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 FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L226
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 FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L245
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 FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateSenseProxy.cs#L122
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 FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateEntryProxy.cs#L53
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 FW Lite and run tests: 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 FW Lite and run tests: backend/FwLite/FwLiteProjectSync/DryRunMiniLcmApi.cs#L30
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(MiniLcm.Models.WritingSystemType)2' is not covered.
Build FW Lite and run tests: backend/FwLite/LocalWebApp/SyncService.cs#L14
Parameter 'factory' is unread.