Skip to content

Optimization - A queue with fixed storage size backed by a circular buffer #2112

Optimization - A queue with fixed storage size backed by a circular buffer

Optimization - A queue with fixed storage size backed by a circular buffer #2112

Triggered via pull request September 29, 2025 20:22
Status Success
Total duration 8m 59s
Artifacts 3

main.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Test (osx-release): LLama/Native/SafeLlamaModelHandle.cs#L439
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_n_cls_out(SafeLlamaModelHandle)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (osx-release)
The 'PackageIconUrl'/'iconUrl' element is deprecated. Consider using the 'PackageIcon'/'icon' element instead. Learn more at https://aka.ms/deprecateIconUrl
Test (osx-release): LLama.SemanticKernel/TextEmbedding/LLamaSharpEmbeddingGeneration.cs#L8
'ITextEmbeddingGenerationService' is obsolete: 'Use Microsoft.Extensions.AI.IEmbeddingGenerator<string, Embedding<float>> instead.'
Test (osx-release): LLama/Batched/Conversation.cs#L413
XML comment has cref attribute 'start' that could not be resolved
Test (osx-release): LLama/Batched/Conversation.cs#L413
XML comment has cref attribute 'count' that could not be resolved
Test (osx-release): LLama/Common/FixedSizeQueue.cs#L17
The field 'FixedSizeQueue<T>._window' is never used
Test (osx-release): LLama/LLamaInteractExecutor.cs#L206
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.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L157
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.
Test (osx-release): LLama/Native/SafeLlamaModelHandle.cs#L447
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_cls_label(SafeLlamaModelHandle, uint)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (osx-release): LLama/Native/SafeLlamaModelHandle.cs#L439
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_n_cls_out(SafeLlamaModelHandle)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L206
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.
Test (windows-release): LLama/Native/SafeLlamaModelHandle.cs#L447
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_cls_label(SafeLlamaModelHandle, uint)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (windows-release): LLama/Native/SafeLlamaModelHandle.cs#L439
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_n_cls_out(SafeLlamaModelHandle)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (windows-release): LLama/Batched/Conversation.cs#L413
XML comment has cref attribute 'start' that could not be resolved
Test (windows-release): LLama/Batched/Conversation.cs#L413
XML comment has cref attribute 'count' that could not be resolved
Test (windows-release): LLama/Common/FixedSizeQueue.cs#L17
The field 'FixedSizeQueue<T>._window' is never used
Test (windows-release): LLama/LLamaInteractExecutor.cs#L206
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.
Test (windows-release): LLama/LLamaInstructExecutor.cs#L157
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.
Test (windows-release): LLama/Native/SafeLlamaModelHandle.cs#L447
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_cls_label(SafeLlamaModelHandle, uint)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (windows-release): LLama/Native/SafeLlamaModelHandle.cs#L439
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_n_cls_out(SafeLlamaModelHandle)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (linux-release): LLama/Native/SafeLlamaModelHandle.cs#L447
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_cls_label(SafeLlamaModelHandle, uint)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (linux-release): LLama/Native/SafeLlamaModelHandle.cs#L439
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_n_cls_out(SafeLlamaModelHandle)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (linux-release): LLama.SemanticKernel/TextEmbedding/LLamaSharpEmbeddingGeneration.cs#L8
'ITextEmbeddingGenerationService' is obsolete: 'Use Microsoft.Extensions.AI.IEmbeddingGenerator<string, Embedding<float>> instead.'
Test (linux-release): LLama/Batched/Conversation.cs#L413
XML comment has cref attribute 'start' that could not be resolved
Test (linux-release): LLama/Batched/Conversation.cs#L413
XML comment has cref attribute 'count' that could not be resolved
Test (linux-release): LLama/Common/FixedSizeQueue.cs#L17
The field 'FixedSizeQueue<T>._window' is never used
Test (linux-release): LLama/LLamaInteractExecutor.cs#L206
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.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L157
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.
Test (linux-release): LLama/Native/SafeLlamaModelHandle.cs#L447
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_cls_label(SafeLlamaModelHandle, uint)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.
Test (linux-release): LLama/Native/SafeLlamaModelHandle.cs#L439
Method, operator, or accessor 'SafeLlamaModelHandle.llama_model_n_cls_out(SafeLlamaModelHandle)' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation.

Artifacts

Produced during runtime
Name Size Digest
logs-macos-14
1.03 MB
sha256:a36e67ad0fc7b25c2aa77b4d34e801dbaed1f11bd9cc977406769d7aaca81a6a
logs-ubuntu-latest
540 KB
sha256:16b9b3cc2f27e7a92ee07242463fe54bdbff0130bd6a276f1a5ee097ea719480
logs-windows-2022
423 KB
sha256:e041bcc6d440e0163cf8887f0231af6b116f0c90ef6a8e8af5da26a64f0f26b6