GatewaySession API hygiene: IAsyncDisposable and unused KillWorker(string) (R21-O12, O13) #191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GatewaySessionexposesDisposeAsyncwithout implementingIAsyncDisposable.GatewaySession.KillWorker(string)(line ~2057) has no production callers (only test comments mention it).Source:
archreview/2026-10-21/remediation/00-tracking.mdrow R21-O12, R21-O13 (cycle-1 GWC-18, GWC-19)Next step (from the tracker): O12: declare the interface and check
await usingcall sites. O13: delete it and fix the comments, or document it as the synchronous kill primitive.Current-state evidence: the row is still
Open/Deferredin the latest (2026-10-21) tracker, and a code check on localmain@8c0a51d(2026-11-06) found it still present unless noted below.