The Wire · Showcase
CONNECT-RUST FIXES STREAMING PROTOCOL LEAK, BUFFA CUTS BOILERPLATE 8 PERCENT
By RepoJournal · Filed · About Anthropic
connect-rust now properly validates the END_STREAM envelope on client-streaming responses, closing a gap where truncated streams looked identical to complete ones.
The fix [1] ensures that `parse_connect_client_stream_envelopes` returns an error if the data message arrives without the required EndStreamResponse envelope, bringing the implementation into compliance with the Connect protocol spec. Over on the buffa desk, three major improvements shipped: a new `check_wire_type` helper [2] that consolidates per-arm wire-type guards into single calls, eliminating roughly 1,100 copies of duplicated boilerplate (about 8 percent of generated code), plus proto2 required-field tracking [3] that adds `has_<field>()` accessors to MessageView for distinguishing missing fields from defaults. The tooling team removed Docker as a hard requirement for the conformance suite [4], letting developers run native builds without a daemon. On the codegen side, a new `type_name_prefix` config [5] lets multi-protocol crates generate distinct type names (`RpcUser` vs `User`) without schema changes. The plugin marketplace added Airwallex AgentOS [6] [7], bringing financial infrastructure and MCP servers for orchestrating invoices and supplier onboarding. CLA Assistant bumped to v3.2.0 across connect-rust and buffa [8] [9], relaxing comment triggers so contributors can add trailing periods or split commands onto new lines without breaking the signature detection.
Action items
- → Deploy connect-rust fix before accepting new streaming responses from untrusted sources anthropics/connect-rust [immediate]
- → Rebuild with buffa's new boilerplate reduction to measure code size and compile-time improvements anthropics/buffa [plan]
- → Review and merge the three buffa codegen improvements when ready for next release anthropics/buffa [plan]
References
- [1] client: require END_STREAM for Connect client-streaming responses ↗ anthropics/connect-rust
- [2] runtime: add check_wire_type, fold per-arm wire guards into one call ↗ anthropics/buffa
- [3] views: track proto2 required-field presence on MessageView ↗ anthropics/buffa
- [4] tooling: run the conformance suite without Docker ↗ anthropics/buffa
- [5] codegen: add type_name_prefix for generated message and enum names ↗ anthropics/buffa
- [6] Add airwallex-agentos plugin ↗ anthropics/knowledge-work-plugins
- [7] Add airwallex-agentos plugin ↗ anthropics/claude-plugins-official
- [8] ci: bump CLA Assistant to v3.2.0 and relax comment trigger (#166) anthropics/connect-rust
- [9] ci: bump CLA Assistant to v3.2.0 and relax comment trigger (#205) anthropics/buffa
FAQ
- What changed in Anthropic on June 17, 2026?
- connect-rust now properly validates the END_STREAM envelope on client-streaming responses, closing a gap where truncated streams looked identical to complete ones.
- What should Anthropic teams do about it?
- Deploy connect-rust fix before accepting new streaming responses from untrusted sources • Rebuild with buffa's new boilerplate reduction to measure code size and compile-time improvements • Review and merge the three buffa codegen improvements when ready for next release
- Which Anthropic repositories shipped on June 17, 2026?
- anthropics/connect-rust, anthropics/buffa, anthropics/knowledge-work-plugins, anthropics/claude-plugins-official