servicetalk / PR 3641

loadbalancer: fix corePool connection selector crash on empty pool

apple/servicetalk#3641 mergedmixed

+145/−16lines
4files
0comments
2026-09-17opened
2026-09-17merged

What it touches

test: 2 main: 2

Modules: servicetalk-loadbalancer (3), servicetalk-http-netty (1)

Architectural impact (arcade-agent diff_impact)

2files mapped to the graph
9entities in those files
Client, Loadbalancercomponents
0entities within 3 hops downstream

Computed against the current default branch, not the PR base commit; files renamed or deleted since then are unmatched. Downstream counts are a reverse-dependency closure to depth 3 and over-approximate real blast radius.

Files

testservicetalk-http-netty/src/test/java/io/servicetalk/http/netty/LoadBalancerConnectionSelectorTest.java
mainservicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/ConnectionSelectorPolicies.java
mainservicetalk-loadbalancer/src/main/java/io/servicetalk/loadbalancer/CorePoolConnectionSelector.java
testservicetalk-loadbalancer/src/test/java/io/servicetalk/loadbalancer/CorePoolConnectionSelectorTest.java