Go client: fall back when crypto/rand fails in newCorrelationID (R21-O25 / CLI-22) #201

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

newCorrelationID returns an empty string if crypto/rand fails.

Source: archreview/2026-10-21/remediation/00-tracking.md row R21-O25 (cycle-1 CLI-22)

Next step (from the tracker): Fall back to a counter-based id.

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.

`newCorrelationID` returns an empty string if `crypto/rand` fails. Source: `archreview/2026-10-21/remediation/00-tracking.md` row R21-O25 (cycle-1 CLI-22) Next step (from the tracker): Fall back to a counter-based id. 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:client-gotype:review-findingpriority:p3migrated labels 2026-11-06 15:25:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/mxaccessgw#201