GatewaySession API hygiene: IAsyncDisposable and unused KillWorker(string) (R21-O12, O13) #191

Open
opened 2026-11-06 15:25:03 -05:00 by dohertj2 · 0 comments
Owner
  • R21-O12: GatewaySession exposes DisposeAsync without implementing IAsyncDisposable.
  • R21-O13: GatewaySession.KillWorker(string) (line ~2057) has no production callers (only test comments mention it).

Source: archreview/2026-10-21/remediation/00-tracking.md row R21-O12, R21-O13 (cycle-1 GWC-18, GWC-19)

Next step (from the tracker): O12: declare the interface and check await using call sites. O13: delete it and fix the comments, or document it as the synchronous kill primitive.

Current-state evidence: the row is still Open/Deferred in the latest (2026-10-21) tracker, and a code check on local main @ 8c0a51d (2026-11-06) found it still present unless noted below.

- R21-O12: `GatewaySession` exposes `DisposeAsync` without implementing `IAsyncDisposable`. - R21-O13: `GatewaySession.KillWorker(string)` (line ~2057) has no production callers (only test comments mention it). Source: `archreview/2026-10-21/remediation/00-tracking.md` row R21-O12, R21-O13 (cycle-1 GWC-18, GWC-19) Next step (from the tracker): O12: declare the interface and check `await using` call sites. O13: delete it and fix the comments, or document it as the synchronous kill primitive. Current-state evidence: the row is still `Open`/`Deferred` in the latest (2026-10-21) tracker, and a code check on local `main` @ `8c0a51d` (2026-11-06) found it still present unless noted below.
dohertj2 added the area:gatewaytype:debtpriority:p3migrated labels 2026-11-06 15:25:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#191