Skip to content

Mobile fixups

Mobile fixups #729

Triggered via pull request January 24, 2025 06:58
Status Success
Total duration 39m 29s
Artifacts 6

fw-lite.yaml

on: pull_request
Build FW Lite and run tests
24m 54s
Build FW Lite and run tests
Publish FW Lite app for Mac
1m 39s
Publish FW Lite app for Mac
Publish FW Lite app for Linux
1m 15s
Publish FW Lite app for Linux
Publish FW Lite app for Android
4m 49s
Publish FW Lite app for Android
Publish FW Lite app for Windows
14m 11s
Publish FW Lite app for Windows
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

Annotations

62 warnings
Build FW Lite and run tests: 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 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/FwLiteShared/Layout/SvelteLayout.razor#L90
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/FwLiteShared/ExampleJsInterop.cs#L23
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/FwLiteShared/ExampleJsInterop.cs#L30
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/FwLiteShared/Projects/LexboxProjectService.cs#L101
This call site is reachable on all platforms. 'ConsoleLoggerExtensions.AddConsole(ILoggingBuilder)' is unsupported on: 'browser'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build FW Lite and run tests: backend/FwLite/FwLiteShared/FwLiteSharedKernel.cs#L60
This call site is reachable on all platforms. 'HttpClientHandler.ServerCertificateCustomValidationCallback' is unsupported on: 'browser'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build FW Lite and run tests: backend/FwLite/FwLiteProjectSync/DryRunMiniLcmApi.cs#L35
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/FwLiteMaui/MauiProgram.cs#L24
Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD002.md)
Build FW Lite and run tests: backend/FwLite/FwLiteMaui/MauiProgram.cs#L24
Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD002.md)
Publish FW Lite app for Linux
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Publish FW Lite app for Linux: 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.
Publish FW Lite app for Linux: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Publish FW Lite app for Linux: backend/FwLite/LcmCrdt/CrdtProjectsService.cs#L27
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
Publish FW Lite app for Linux: 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.
Publish FW Lite app for Linux: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L20
Parameter 'dbContext' is unread.
Publish FW Lite app for Linux: 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.
Publish FW Lite app for Linux: backend/FwLite/LcmCrdt/Data/SetupCollationInterceptor.cs#L27
The variable 'e' is declared but never used
Publish FW Lite app for Linux: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Linux: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Linux: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L392
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.
Publish FW Lite app for Mac: 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.
Publish FW Lite app for Mac: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/CrdtProjectsService.cs#L27
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
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L20
Parameter 'dbContext' is unread.
Publish FW Lite app for Mac: 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.
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/Data/SetupCollationInterceptor.cs#L27
The variable 'e' is declared but never used
Publish FW Lite app for Mac: 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.
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L392
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.
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/CrdtProjectsService.cs#L27
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
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L20
Parameter 'dbContext' is unread.
Publish FW Lite app for Mac: 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.
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/Data/SetupCollationInterceptor.cs#L27
The variable 'e' is declared but never used
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Mac: 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.
Publish FW Lite app for Mac: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L392
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.
Publish FW Lite app for Mac: 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.
Publish FW Lite app for Mac: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Publish FW Lite app for Android: backend/FwLite/LcmCrdt/CrdtProjectsService.cs#L27
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
Publish FW Lite app for Android: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L20
Parameter 'dbContext' is unread.
Publish FW Lite app for Android: 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.
Publish FW Lite app for Android: backend/FwLite/LcmCrdt/Data/SetupCollationInterceptor.cs#L27
The variable 'e' is declared but never used
Publish FW Lite app for Android: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Android: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Android: 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.
Publish FW Lite app for Android: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L392
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.
Publish FW Lite app for Android: backend/FwLite/FwLiteShared/ExampleJsInterop.cs#L23
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.
Publish FW Lite app for Android: backend/FwLite/FwLiteShared/ExampleJsInterop.cs#L30
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.
Publish FW Lite app for Windows: backend/FwLite/FwLiteMaui/MauiProgram.cs#L24
Synchronously waiting on tasks or awaiters may cause deadlocks. Use await or JoinableTaskFactory.Run instead. (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD002.md)
Publish FW Lite app for Windows: 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.
Publish FW Lite app for Windows: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
Publish FW Lite app for Windows: backend/FwLite/LcmCrdt/CrdtProjectsService.cs#L27
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
Publish FW Lite app for Windows: 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.
Publish FW Lite app for Windows: 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.
Publish FW Lite app for Windows: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L20
Parameter 'dbContext' is unread.
Publish FW Lite app for Windows: backend/FwLite/LcmCrdt/Data/SetupCollationInterceptor.cs#L27
The variable 'e' is declared but never used
Publish FW Lite app for Windows: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Windows: backend/FwLite/LcmCrdt/HistoryService.cs#L103
The result of the expression is always 'true' since a value of type 'Guid' is never equal to 'null' of type 'Guid?'
Publish FW Lite app for Windows: backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L392
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.

Artifacts

Produced during runtime
Name Size
fw-lite-android
179 MB
fw-lite-msix
146 MB
fw-lite-portable
182 MB
fw-lite-viewer-js
2.23 MB
fw-lite-web-linux
59.6 MB
fw-lite-web-mac
124 MB