Piyush Bag

Results comments of Piyush Bag

Plan to fix this by routing `ClientJsonRpcMessage::Response` (and error replies) in `send_internal` instead of rejecting them, and tracking server-initiated request ids from the GET SSE stream so pongs reach the...

+1 on documenting this. Gateways sit at the boundary where model reasoning becomes tool execution, so they are the right place to make workflow decisions auditable. Today most traces answer...

Opened docs PR for Phase 1 (documentation only): https://github.com/agentgateway/agentgateway/pull/2205 Adds `design/2141-governance-trace-metadata.md` with recommended fields, JSON examples, OTel attribute mapping, and mapping to existing `dtrace` events. Cross-links from `examples/telemetry/README.md`. Happy to...

Thanks for this RFC, @ramki982. The `on-phase` vs `on-confirmation` split raised by @rpelevin matches a pattern I see in production engineering workflows. In cross-functional hardware validation ops, most pauses are...

Following up on the handler-side scope rdimitrov called out after #1335: I am opening a PR to apply the same client-cancellation handling (`499`, no error-level log, no second `WriteHeader`) to...

Nice refactor in the stdio framing path. A few notes from reading the diff: 1. **Pre-decode bound** — Checking `len(frame)+len(part)` against `MaxMessageBytes` before `validateJSONFrame` avoids allocating/decoding oversized payloads. That composes...

Thanks for the follow-up. The payload-vs-line-ending semantics and the CRLF/LF regression tests match what I had in mind. Looks good from my read.

+1 on an optional standardized section for generated-code safety checks. **Placement:** I would keep this out of the minimal starter template and add it to advanced guidance (or a recipe...

Local verification on `fix-440-streamable-handler-close` (78d7176): ``` go test ./... -count=1 ok github.com/modelcontextprotocol/go-sdk/mcp ok github.com/modelcontextprotocol/go-sdk/oauthex go test -race ./mcp/... -run TestStreamableHTTPHandlerClose -count=1 ok github.com/modelcontextprotocol/go-sdk/mcp ``` This matches the shutdown shape discussed...

Rebased onto current `main` (includes #1000) and force-pushed `1da2ef5`. Local gate: ``` go test ./... -count=1 ok github.com/modelcontextprotocol/go-sdk/mcp ok github.com/modelcontextprotocol/go-sdk/oauthex ``` GitHub CI on this push: lint, test 1.25/1.26, race,...