Replace the 25 ms worker-ready poll loop with a state-change signal (R21-O10 / GWC-13) #189

Open
opened 2026-11-06 15:25:02 -05:00 by dohertj2 · 0 comments
Owner

The worker-ready wait in GatewaySession is a poll loop (Task.Delay(pollIntervalMs), ~line 2316).

Source: archreview/2026-10-21/remediation/00-tracking.md row R21-O10 (cycle-1 GWC-13)

Next step (from the tracker): Replace with a TaskCompletionSource signalled on state change.

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.

The worker-ready wait in `GatewaySession` is a poll loop (`Task.Delay(pollIntervalMs)`, ~line 2316). Source: `archreview/2026-10-21/remediation/00-tracking.md` row R21-O10 (cycle-1 GWC-13) Next step (from the tracker): Replace with a `TaskCompletionSource` signalled on state change. 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:review-findingpriority:p3migrated labels 2026-11-06 15:25:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#189