Tags: jmezach/dotnet-operator-sdk
Tags
fix(client): don't access disposed resources (dotnet#738) This PR is ensuring that the host does not stop with an exception. Those exceptions were occuring because the `CancellationTokenSource` inside the hosted services was already disposed when `StopAsync` got called. The reason for this is that the host invokes `DisposeAsync` **before** `StopAsync`.
fix(deps): update dependency sonaranalyzer.csharp to v9.20.0.85982 (d… …otnet#723) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [SonarAnalyzer.CSharp](https://redirect.sonarsource.com/doc/sonar-visualstudio.html) ([source](https://github.com/SonarSource/sonar-dotnet)) | `9.19.0.84025` -> `9.20.0.85982` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)</summary> ### [`v9.20.0.85982`](https://github.com/SonarSource/sonar-dotnet/releases/tag/9.20.0.85982): 9.20 [Compare Source](https://github.com/SonarSource/sonar-dotnet/compare/9.19.0.84025...9.20.0.85982) Hey everyone! This release brings a vast number of improvements. The main focus lies on improving the capabilities of our Symbolic Execution engine, which results in much more accurate findings. The biggest visible impact is a significant reduction in false positives around loops for the rules S2583 and S2589. And a big thank you to [@​rcatley](https://github.com/rcatley) for their external contribution! ##### Bug Fixes - [8642](https://github.com/SonarSource/sonar-dotnet/issues/8642) - \[C#] Exception in `SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner` ##### False Positive - [8678](https://github.com/SonarSource/sonar-dotnet/issues/8678) - \[C#, VB.NET] Fix S2583 FP: Variable Updated in Catch Block - [8028](https://github.com/SonarSource/sonar-dotnet/issues/8028) - \[C#, VB.NET] Fix S2583 FP: Loop with manually incremented counter - [8449](https://github.com/SonarSource/sonar-dotnet/issues/8449) - \[C#, VB.NET] Fix S2589 FP: Change this condition so that it does not always evaluate to 'True' - [8495](https://github.com/SonarSource/sonar-dotnet/issues/8495) - \[C#, VB.NET] Fix S2583/S2589 FP: Return inside lock and using causes FP after the block - [8428](https://github.com/SonarSource/sonar-dotnet/issues/8428) - \[C#, VB.NET] Fix S2583/S2589 FP: For loop with Array.Length - [8483](https://github.com/SonarSource/sonar-dotnet/issues/8483) - \[C#, VB.NET] Fix S4158 FP: Should not report on HashSet.UnionWith for readonly fields. - [8739](https://github.com/SonarSource/sonar-dotnet/issues/8739) - \[C#] Fix S4049 FP: Do not raise on methods with generic parameters - [8638](https://github.com/SonarSource/sonar-dotnet/issues/8638) - \[C#] Fix S2386 & S3887 FP: should not be raised for FrozenDictionary and FrozenSet - [8611](https://github.com/SonarSource/sonar-dotnet/issues/8611) - \[C#] Fix S2372 FP: Add support for method invocations ([@​rcatley](https://github.com/rcatley)) - [8567](https://github.com/SonarSource/sonar-dotnet/issues/8567) - \[C#] Fix S2325 FP: Primary Constructor Support ##### False Negative - [8486](https://github.com/SonarSource/sonar-dotnet/issues/8486) - \[C#] Fix S2589 FN: Tuple binary operations (comparison) ##### Improvements - [8010](https://github.com/SonarSource/sonar-dotnet/issues/8010) - \[C#, VB.NET] S2589: Improve message in the case of null propagating operator - [7866](https://github.com/SonarSource/sonar-dotnet/issues/7866) - \[C#, VB.NET] SE: Allow collection tracking even when S4158 is not active - [8499](https://github.com/SonarSource/sonar-dotnet/issues/8499) - \[C#] SE: Learn number constraints from relational pattern - [8651](https://github.com/SonarSource/sonar-dotnet/issues/8651) - Update RSPEC before 9.20 release </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/buehler/dotnet-operator-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix(deps): update dependency roslynator.analyzers to v4.11.0 (dotnet#721 ) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Roslynator.Analyzers](https://github.com/dotnet/roslynator) | `4.10.0` -> `4.11.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>dotnet/roslynator (Roslynator.Analyzers)</summary> ### [`v4.11.0`](https://github.com/dotnet/roslynator/blob/HEAD/ChangeLog.md#4110---2024-02-19) ##### Added - Add analyzer "Use raw string literal" [RCS1266](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1266) ([PR](https://github.com/dotnet/roslynator/pull/1375)) - Add analyzer "Convert 'string.Concat' to interpolated string" [RCS1267](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1267) ([PR](https://github.com/dotnet/roslynator/pull/1379)) - Simplify LINQ query [RCS1077](https://josefpihrt.github.io/docs/roslynator/analyzers/1077) ([PR](https://github.com/dotnet/roslynator/pull/1384)) - `items.Select(selector).Average()` => `items.Average(selector)` - `items.Select(selector).Sum()` => `items.Sum(selector)` ##### Fixed - Fix analyzer [RCS0049](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS0049) ([PR](https://github.com/dotnet/roslynator/pull/1386)) - Fix analyzer [RCS1159](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1159) ([PR](https://github.com/dotnet/roslynator/pull/1390)) - Fix analyzer [RCS1019](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1019) ([PR](https://github.com/dotnet/roslynator/pull/1402)) - Fix analyzer [RCS1250](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1250) ([PR](https://github.com/dotnet/roslynator/pull/1403), [PR](https://github.com/dotnet/roslynator/pull/1404)) - Fix code fix for [CS8600](https://josefpihrt.github.io/docs/roslynator/fixes/CS8600) changing the wrong type when casts or `var` are involved ([PR](https://github.com/dotnet/roslynator/pull/1393) by [@​jroessel](https://github.com/jroessel)) - Fix Roslyn multi-targeting ([PR](https://github.com/dotnet/roslynator/pull/1407)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/buehler/dotnet-operator-sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix(watcher): queues not polling when status updated (dotnet#712) With reference to dotnet#707 This fixes the behaviour of requeues Co-authored-by: Christoph Bühler <[email protected]>
fix(watcher): queues not polling when status updated (dotnet#712) With reference to dotnet#707 This fixes the behaviour of requeues Co-authored-by: Christoph Bühler <[email protected]>
fix(deps): update dependency microsoft.build.locator to v1.7.1
fix(deps): update dependency bouncycastle.cryptography to v2.3.0
PreviousNext