Skip to content

fix paste performance issue on windows and linux #630

fix paste performance issue on windows and linux

fix paste performance issue on windows and linux #630

Triggered via pull request January 9, 2025 02:14
@tomlmtomlm
synchronize #249
tomlm/fixPaste
Status Failure
Total duration 5m 46s
Artifacts

editorconfig.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 7 warnings, and 10 notices
build
Issues found.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/Consolonia.Core/Infrastructure/NaiveClipboard.cs#L13
"[CSharpWarnings::CS1998] 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." on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/NaiveClipboard.cs(13,16)
build: src/Consolonia.Core/Infrastructure/NaiveClipboard.cs#L18
"[CSharpWarnings::CS1998] 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." on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/NaiveClipboard.cs(18,16)
build: src/Consolonia.Core/Infrastructure/NaiveClipboard.cs#L23
"[CSharpWarnings::CS1998] 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." on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/NaiveClipboard.cs(23,16)
build: src/Consolonia.Core/Infrastructure/NaiveClipboard.cs#L28
"[CSharpWarnings::CS1998] 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." on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/NaiveClipboard.cs(28,16)
build: src/Consolonia.Core/Infrastructure/NaiveClipboard.cs#L33
"[CSharpWarnings::CS1998] 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." on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/NaiveClipboard.cs(33,16)
build: src/Consolonia.Core/Infrastructure/NaiveClipboard.cs#L38
"[CSharpWarnings::CS1998] 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." on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Infrastructure/NaiveClipboard.cs(38,16)
build: src/Consolonia.Core/Controls/LineStyles.cs#L38
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(38,38)
build: src/Consolonia.Core/Controls/LineStyles.cs#L39
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(39,37)
build: src/Consolonia.Core/Controls/LineStyles.cs#L40
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(40,39)
build: src/Consolonia.Core/Controls/LineStyles.cs#L41
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Controls/LineStyles.cs(41,40)
build: src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs#L26
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/DrawingBoxSymbol.cs(26,44)
build: src/Consolonia.Core/Drawing/PixelBufferImplementation/EgaConsoleColor/EgaColor.cs#L30
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/EgaConsoleColor/EgaColor.cs(30,42)
build: src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs#L86
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/Pixel.cs(86,36)
build: src/Consolonia.Core/Drawing/PixelBufferImplementation/SimpleSymbol.cs#L46
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/PixelBufferImplementation/SimpleSymbol.cs(46,49)
build: src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs#L72
"[AutoPropertyCanBeMadeGetOnly.Global] Auto-property can be made get-only" on /home/runner/work/Consolonia/Consolonia/src/Tools/Consolonia.PreviewHost/ViewModels/ProjectViewModel.cs(72,41)
build: src/Experimental/Consolonia.Designer/ConsolePreview.cs#L256
"[CA1859] Change return type of method 'RenderPixelBuffer' from 'Avalonia.Controls.Control' to 'Avalonia.Controls.StackPanel' for improved performance" on /home/runner/work/Consolonia/Consolonia/src/Experimental/Consolonia.Designer/ConsolePreview.cs(256,25)