Commit 1ce78e5
Bump Microsoft.VisualStudio.Threading.Analyzers from 17.14.15 to 18.7.23 (#34)
* Bump Microsoft.VisualStudio.Threading.Analyzers from 17.14.15 to 18.7.23
---
updated-dependencies:
- dependency-name: Microsoft.VisualStudio.Threading.Analyzers
dependency-version: 18.7.23
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Suppress VSTHRD103 false positive for EF Core DbSet.Add
VS.Threading.Analyzers 18.x flags synchronous DbSet<T>.Add as
"Add synchronously blocks; await AddAsync instead" (VSTHRD103) because
DbSet also exposes AddAsync. This is a false positive: EF Core's Add does
not block; AddAsync only matters for special value generators. With
TreatWarningsAsErrors the 17.14.15 -> 18.7.23 bump broke the build (src
plus the EF-using test projects once src compiled).
Scope severity=none to src/RustPlusBot.Persistence (the only production
DbSet.Add sites) and to tests/** (test EF setup), keeping VSTHRD103
active everywhere else.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HandyS11 <valentin-clergue@orange.fr>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1672c8e commit 1ce78e5
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
| 478 | + | |
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments