Skip to content

fix paste performance issue on windows and linux #733

fix paste performance issue on windows and linux

fix paste performance issue on windows and linux #733

Triggered via pull request January 9, 2025 18:00
@tomlmtomlm
synchronize #249
tomlm/fixPaste
Status Failure
Total duration 51s
Artifacts

general_build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: src/Consolonia.PlatformSupport/Clipboard/WSLClipboard.cs#L55
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: src/Consolonia.PlatformSupport/Clipboard/XClipClipboard.cs#L48
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: src/Consolonia.PlatformSupport/Clipboard/ClipboardProcessRunner.cs#L56
'string.Contains(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Consolonia.PlatformSupport.Clipboard.ClipboardProcessRunner.FileExists(string)' with a call to 'string.Contains(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: src/Consolonia.PlatformSupport/Clipboard/MacOSXClipboard.cs#L43
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build: src/Consolonia.PlatformSupport/PlatformSupportExtensions.cs#L77
'string.Contains(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Consolonia.PlatformSupportExtensions.IsWSLPlatform()' with a call to 'string.Contains(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: src/Consolonia.PlatformSupport/PlatformSupportExtensions.cs#L77
'string.Contains(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Consolonia.PlatformSupportExtensions.IsWSLPlatform()' with a call to 'string.Contains(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: src/Consolonia.PlatformSupport/Clipboard/WSLClipboard.cs#L55
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: src/Consolonia.PlatformSupport/Clipboard/XClipClipboard.cs#L48
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: src/Consolonia.PlatformSupport/Clipboard/ClipboardProcessRunner.cs#L56
'string.Contains(string)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Consolonia.PlatformSupport.Clipboard.ClipboardProcessRunner.FileExists(string)' with a call to 'string.Contains(string, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: src/Consolonia.PlatformSupport/Clipboard/MacOSXClipboard.cs#L43
Exception type System.Exception is not sufficiently specific (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2201)
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636