You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9c7eb9b
Browse filesBrowse the repository at this point in the historyBrowse files
test(owned-api): cover Socket.Accept and TcpListener.AcceptSocket branches
CodeRabbit: the accept matcher has three hard-coded branches but only
AcceptTcpClient had an end-to-end fixture, so a typo/regression in the
Socket.Accept or TcpListener.AcceptSocket branch would slip the corpus
benchmark (its after.cs specificity check + recall visibility).
Add a corpus fixture for each: socket-accept-leak (Socket.Accept) and
tcplistener-acceptsocket-leak (TcpListener.AcceptSocket) — before.cs leaks the
accepted socket (OWN001), after.cs disposes it with `using` (clean), case.own
reduces the pattern. case.own -> OWN001 locally (test_corpus 24/24); before/after
verified by the CI corpus benchmark.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019846YSZ35c7CdkWQ1qX5gm
0 commit comments