Skip to content

feat(SlimData): alternative to redis for plug and play use #262

feat(SlimData): alternative to redis for plug and play use

feat(SlimData): alternative to redis for plug and play use #262

Triggered via pull request December 8, 2023 14:23
Status Success
Total duration 5m 29s
Artifacts

slimfaas-ci.yaml

on: pull_request
Build and analyze
4m 13s
Build and analyze
Build and analyze
4m 42s
Build and analyze
build_slimfaas  /  build
47s
build_slimfaas / build
build_fibonacci  /  build
26s
build_fibonacci / build
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Build and analyze: src/SlimData/Endpoints.cs#L54
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L83
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L133
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L164
Dereference of a possibly null reference.
Build and analyze: src/SlimData/SlimPersistentState.cs#L22
Possible null reference argument for parameter 'path' in 'SlimPersistentState.SlimPersistentState(string path)'.
Build and analyze: src/SlimData/Starter.cs#L38
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
Build and analyze: src/SlimFaas/Program.cs#L178
Suggest using WebApplicationBuilder.Configuration instead of ConfigureAppConfiguration (https://aka.ms/aspnet/analyzers)
Build and analyze: src/SlimFaas/Program.cs#L48
Calling 'BuildServiceProvider' from application code results in an additional copy of singleton services being created. Consider alternatives such as dependency injecting services as parameters to 'Configure'. (https://aka.ms/AA5k895)
Build and analyze: tests/SlimData.Tests/RaftClusterTests.cs#L47
Nullability of reference types in type of parameter 'exception' of 'void Logger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)' doesn't match implicitly implemented member 'void ILogger.Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string> formatter)' (possibly because of nullability attributes).
Build and analyze: tests/SlimData.Tests/RaftClusterTests.cs#L131
Cannot convert null literal to non-nullable reference type.
Build and analyze: src/SlimData/Starter.cs#L38
Argument of type 'Dictionary<string, string>' cannot be used for parameter 'initialData' of type 'IEnumerable<KeyValuePair<string, string?>>' in 'IConfigurationBuilder MemoryConfigurationBuilderExtensions.AddInMemoryCollection(IConfigurationBuilder configurationBuilder, IEnumerable<KeyValuePair<string, string?>>? initialData)' due to differences in the nullability of reference types.
Build and analyze: src/SlimData/SlimPersistentState.cs#L22
Possible null reference argument for parameter 'path' in 'SlimPersistentState.SlimPersistentState(string path)'.
Build and analyze: src/SlimData/Endpoints.cs#L54
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L83
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L133
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L164
Dereference of a possibly null reference.
Build and analyze: src/SlimData/SlimDataInterpreter.cs#L18
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build and analyze: src/SlimData/SlimDataInterpreter.cs#L15
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build and analyze: src/SlimData/SlimDataInterpreter.cs#L13
Remove the unused private field 'prefix'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build and analyze: src/SlimData/SlimDataInterpreter.cs#L19
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
build_fibonacci / build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/metadata-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_fibonacci / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_slimfaas / build
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/metadata-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_slimfaas / build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/