[Review 2026-12-02 follow-up] Java CLI batch mode dials a new channel per line #260
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #257 (D10). The review notes it alongside CDN-011/CGO-008/CRS-004/CPY-005 (all fixed in
68043411), but the plan had no Java ID. Reuse needs ref-counting now thatclose()isshutdownNow()(CJV-001).Merged to
mainatf6b80d02(pushed 2026-12-03). Gateway suite 1637 passed / 0 failed (macOS); windev worker CI 847 passed / 0 failed on that SHA.Batch mode wraps the client factory in
CachingClientFactorykeyed on the connection settings; per-line handles don't close the shared client, the cache closes each real client once when batch ends. Test: 4 lines over 2 endpoints → 2 connects, 2 closes.galaxy-*commands still connect per command (separate factory).