Skip to content

fix(deps): bump rendezvous to fix accept rate-limiter data race#250

Merged
TeoSlayer merged 2 commits into
mainfrom
fix/bump-rendezvous-race
Jun 15, 2026
Merged

fix(deps): bump rendezvous to fix accept rate-limiter data race#250
TeoSlayer merged 2 commits into
mainfrom
fix/bump-rendezvous-race

Conversation

@TeoSlayer

Copy link
Copy Markdown
Collaborator

Summary

Fixes the Architecture gates CI failure (TestConcurrentDialEncryptDecrypt
under -race), which has been red on main since June 9.

The failure is a data race in the rendezvous dependency, not in this
repo: globalRateBucket.allow() (the process-wide accept rate limiter)
performed an unsynchronized read-modify-write on tokens/lastFill while
being called concurrently from every Acceptor connection handler.

This bumps rendezvous v0.2.4 → the mutex-guarded fix
(pilot-protocol/rendezvous#73), which pulls beacon v0.2.6 transitively.

Testing

  • go test -race -count=1 -run TestConcurrentDialEncryptDecrypt ./tests
    now passes (104s, no DATA RACE) — previously failed with the race.
  • go build ./... clean.

Notes

rendezvous v0.2.4 had a data race in globalRateBucket.allow() (the
process-wide accept rate limiter mutated tokens/lastFill without a lock,
called concurrently from every connection handler). This surfaced as the
Architecture gates job's TestConcurrentDialEncryptDecrypt failing under
-race. Bump to the fixed rendezvous (mutex-guarded; pilot-protocol/rendezvous#73),
which pulls beacon v0.2.6 transitively.

Verified: go test -race TestConcurrentDialEncryptDecrypt ./tests passes
(104s, no race).
@TeoSlayer TeoSlayer requested a review from Alexgodoroja as a code owner June 15, 2026 15:54
@TeoSlayer TeoSlayer merged commit 98be253 into main Jun 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants