Add grpc-timeout cross-repo discovery scenario#3
Open
ben-pepper-sg wants to merge 1 commit into
Open
Conversation
New scenario tracing how RPC deadlines propagate across grpc-go and connect-go — grounded in real code verified via Sourcegraph MCP. Demonstrates the 5x quality gap (0.18 → 0.88) when the agent can search both repos simultaneously vs. being limited to a single local checkout. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
grpc-timeout-cross-reposcenario under Understanding existing code that demonstrates hard cross-repo discovery across two real OSS repos:github.com/grpc/grpc-goandgithub.com/connectrpc/connect-gounderstand-existing-codescenario list to lead with the most dramatic cross-repo contrastWhy this scenario
The existing
cross-repo-discoveryscenario is effectively single-repo (vscode Settings Sync). This one is genuinely multi-repo: without MCP the agent physically cannot accessconnect-gosource — every fallback (GOPATH cache, filesystem scan, GitHub API) fails, resulting in a partially-inferred answer that misses the core architectural insight. With MCP it discovers both repos in seconds and traces the full path.Metrics (from live runs):
Key finding the scenario surfaces
grpc-goembeds deadline handling inside the HTTP/2 transport layer.connect-goelevates it to a first-classProtocolinterface (SetTimeout(*http.Request)), making timeout encoding swappable per protocol. This difference is only visible when reading both codebases side by side — which is exactly what MCP enables.Test plan
npm run dev— new scenario appears in the picker as "Cross-repo protocol comparison"🤖 Generated with Claude Code