Skip to content

Microsoft.KernelMemory version 0.68+ compatibility fix #1519

Microsoft.KernelMemory version 0.68+ compatibility fix

Microsoft.KernelMemory version 0.68+ compatibility fix #1519

Status Success
Total duration 8m 26s
Artifacts 1

main.yml

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

Annotations

34 warnings
Test (osx-release)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (osx-release): LLama/Common/PolymorphicJSONConverter.cs#L48
Dereference of a possibly null reference.
Test (osx-release): LLama/ChatSession.cs#L782
Possible null reference argument for parameter 'executorState' in 'SessionState.SessionState(State? contextState, ExecutorBaseState executorState, ChatHistory history, List<ITextTransform> inputTransformPipeline, ITextStreamTransform outputTransform, IHistoryTransform historyTransform)'.
Test (osx-release): LLama/Native/Load/SystemInfo.cs#L100
The variable 'e' is declared but never used
Test (osx-release): LLama/LLamaInstructExecutor.cs#L108
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (osx-release): LLama/LLamaExecutorBase.cs#L422
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaExecutorBase.cs#L425
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaExecutorBase.cs#L428
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaExecutorBase.cs#L431
Non-nullable property 'LastTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (osx-release): LLama/LLamaInstructExecutor.cs#L161
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
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 (linux-release)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (linux-release): LLama/LLamaWeights.cs#L108
The variable 'modelLoadProgressRange' is assigned but its value is never used
Test (linux-release): LLama/LLamaInteractExecutor.cs#L100
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/LLamaInstructExecutor.cs#L108
Possible null reference argument for parameter 'data' in 'Task InstructExecutor.LoadState(ExecutorBaseState data)'.
Test (linux-release): LLama/Native/Load/SystemInfo.cs#L100
The variable 'e' is declared but never used
Test (linux-release): LLama/LLamaInstructExecutor.cs#L161
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
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/LLamaInteractExecutor.cs#L166
Dereference of a possibly null reference.
Test (linux-release): LLama/LLamaExecutorBase.cs#L422
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (linux-release): LLama/LLamaExecutorBase.cs#L425
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (linux-release): LLama/LLamaExecutorBase.cs#L428
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (windows-release): LLama/Common/PolymorphicJSONConverter.cs#L48
Dereference of a possibly null reference.
Test (windows-release): LLama/ChatSession.cs#L782
Possible null reference argument for parameter 'executorState' in 'SessionState.SessionState(State? contextState, ExecutorBaseState executorState, ChatHistory history, List<ITextTransform> inputTransformPipeline, ITextStreamTransform outputTransform, IHistoryTransform historyTransform)'.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L100
Possible null reference argument for parameter 'data' in 'Task InteractiveExecutor.LoadState(ExecutorBaseState data)'.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L166
Dereference of a possibly null reference.
Test (windows-release): LLama/LLamaExecutorBase.cs#L422
Non-nullable property 'Embeds' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L425
Non-nullable property 'EmbedInps' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L428
Non-nullable property 'SessionTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaExecutorBase.cs#L431
Non-nullable property 'LastTokens' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Test (windows-release): LLama/LLamaInteractExecutor.cs#L207
'IReadOnlyListExtensions.TokensEndsWithAnyString<TTokens>(TTokens, IList<string>?, SafeLlamaModelHandle, Encoding)' is obsolete: 'Use an Antiprompt processor instead'
Test (windows-release): LLama/LLamaInteractExecutor.cs#L203
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.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "logs". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
logs
3.01 MB