Skip to content

fix(tests): code scanning #439 #440 — Select over regex matches, dispose the fake logger provider - #353

Merged
hoangsnowy merged 2 commits into
mainfrom
fix/code-scanning-439-440
Nov 28, 2026
Merged

hoangsnowy merged 2 commits into
mainfrom
fix/code-scanning-439-440

Conversation

@hoangsnowy

Copy link
Copy Markdown
Owner

Summary

  • Code scanning #439 (cs/linq/missed-select, RowLevelSecurityDocsTests.cs:57): the loop only projected each Match to its group value → Select.
  • Code scanning #440 (cs/local-not-disposed, SignupErrorsTests.cs:110): the FakeLoggerProvider is now a using local declared before the app, so it is disposed after it.
  • Both are tests only; no production change. Both are already covered in CLAUDE.md's recurring-CodeQL notes (no new Roslyn twin exists).

Test plan

  • RowLevelSecurityDocsTests + SignupErrorsTests — 11 passed
  • CI green; both alerts close on the next CodeQL run on main

🤖 Generated with Claude Code

https://claude.ai/code/session_018WAdQ7Rm24xss5QDSvXtJB

@hoangsnowy
hoangsnowy merged commit 0a0c853 into main Nov 28, 2026
5 checks passed
@hoangsnowy
hoangsnowy deleted the fix/code-scanning-439-440 branch November 28, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant