Skip to content

refactor(all): Update WakeUpFunction.cs #298

refactor(all): Update WakeUpFunction.cs

refactor(all): Update WakeUpFunction.cs #298

Triggered via pull request December 23, 2023 20:44
Status Success
Total duration 4m 49s
Artifacts

slimfaas-ci.yaml

on: pull_request
Build and analyze
2m 18s
Build and analyze
Build and analyze
4m 39s
Build and analyze
build_slimfaas  /  build
55s
build_slimfaas / build
build_fibonacci  /  build
44s
build_fibonacci / build
build_fibonacci_webapp  /  build
29s
build_fibonacci_webapp / build
Fit to window
Zoom out
Zoom in

Annotations

35 warnings
Build and analyze: src/SlimData/Endpoints.cs#L54
Dereference of a possibly null reference.
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#L83
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L126
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L164
Dereference of a possibly null reference.
Build and analyze: src/SlimFaas/SlimProxyMiddleware.cs#L60
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build and analyze: src/SlimFaas/SlimProxyMiddleware.cs#L103
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 and analyze: src/SlimFaas/Program.cs#L180
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_fibonacci_webapp / 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_webapp / 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_webapp / 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_webapp / 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_webapp / 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 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/
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#L126
Dereference of a possibly null reference.
Build and analyze: src/SlimData/Endpoints.cs#L164
Dereference of a possibly null reference.
Build and analyze: src/SlimFaas/SlimProxyMiddleware.cs#L60
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Build and analyze: src/SlimFaas/SlimProxyMiddleware.cs#L103
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 and analyze: src/SlimFaas/Program.cs#L180
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)