<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sourcegraph &#8211; iAIFeed</title>
	<atom:link href="https://www.iaifeed.com/tag/sourcegraph/feed" rel="self" type="application/rss+xml" />
	<link>https://www.iaifeed.com</link>
	<description>iAIFeed</description>
	<lastBuildDate>Fri, 16 Oct 2026 12:43:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.iaifeed.com/wp-content/uploads/2026/07/cropped-iaifeed1-80x80.png</url>
	<title>Sourcegraph &#8211; iAIFeed</title>
	<link>https://www.iaifeed.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Speed Up Code Reviews With Sourcegraph</title>
		<link>https://www.iaifeed.com/how-to-speed-up-code-reviews-with-sourcegraph</link>
					<comments>https://www.iaifeed.com/how-to-speed-up-code-reviews-with-sourcegraph#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Fri, 16 Oct 2026 12:43:09 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Sourcegraph]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-speed-up-code-reviews-with-sourcegraph</guid>

					<description><![CDATA[Use Sourcegraph code intelligence and Cody to review pull requests faster: find every caller, trace dependencies, and catch blast radius before merging.]]></description>
										<content:encoded><![CDATA[<p>Most code review pain is not the diff itself — it is figuring out what the diff touches. Who calls this function? Is this API used elsewhere? Sourcegraph answers those in seconds, which changes how you review.</p>
<p>This guide wires Sourcegraph into a review habit: dependency tracing, blast-radius checking, and using Cody for explanation. It assumes you can already run a basic search.</p>
<h2>How do I trace who calls a changed function?</h2>
<p>Open the function in Sourcegraph and use Find References. Unlike grep, it resolves across repos and languages, so you see every call site including ones in other projects. This is the single highest-value move in a review: before approving a signature change, confirm the reference list is short or all callers are updated.</p>
<p>For a deeper map, hover the symbol to see its type and definition, then jump to the definition link. The <a href="https://www.iaifeed.com/ai-tool/sourcegraph">Sourcegraph</a> code intelligence layer powers this across indexed repos.</p>
<h2>How do I check the blast radius of a change?</h2>
<ol>
<li>Identify the changed symbols in the diff.</li>
<li>Run Find References on each one, scoped with <code>repo:</code> filters.</li>
<li>Check for callers in repos outside the PR.</li>
<li>If any downstream caller is unupdated, flag the PR before merge.</li>
</ol>
<p>This takes two minutes and prevents the classic &#8220;we broke a service nobody remembered&#8221; incident.</p>
<h2>How does Cody help during review?</h2>
<p>Cody is Sourcegraph&#8217;s AI assistant. Inside the editor or on the web, you can ask it to explain a diff or a function in plain language, or to generate a test for a changed path. Ask a scoped question — &#8220;what does this migration do to the user table?&#8221; — and it answers from context. It is not a replacement for reading the code, but it shortens the time to understand an unfamiliar file.</p>
<h2>Sourcegraph vs reviewing only in the PR tool</h2>
<table>
<tr>
<th>Question</th>
<th>Sourcegraph</th>
<th>GitHub PR view</th>
</tr>
<tr>
<td>All call sites across repos</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>Inline comments/discussion</td>
<td>Minimal</td>
<td>Native</td>
</tr>
<tr>
<td>Symbol-level navigation</td>
<td>Yes</td>
<td>Limited</td>
</tr>
<tr>
<td>Historical blame</td>
<td>Yes, cross-repo</td>
<td>Per file</td>
</tr>
</table>
<p>They are not competitors. You discuss in the PR, and you investigate in Sourcegraph. Reviewers who jump between both ship fewer regressions.</p>
<h2>What are the limits?</h2>
<p>Saved searches and code monitors are the real automation win — code monitors alert you when a pattern (like a deprecated import) reappears. But monitors run on indexed repos, so anything not connected is invisible. Also, Cody&#8217;s answers depend on the context window it retrieves, so for huge monorepos you may need to scope the query or it misses related code. Neither is a substitute for a team that reads carefully.</p>
<h2>Quick Summary</h2>
<ul>
<li>Find References across repos beats grep for checking call sites in a PR.</li>
<li>Check blast radius by tracing every changed symbol before approving.</li>
<li>Cody explains diffs and generates tests from scoped questions.</li>
<li>Use code monitors to catch regressions; indexed-repo limits apply.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-speed-up-code-reviews-with-sourcegraph/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Search Code Across Repos With Sourcegraph</title>
		<link>https://www.iaifeed.com/how-to-search-code-across-repos-with-sourcegraph</link>
					<comments>https://www.iaifeed.com/how-to-search-code-across-repos-with-sourcegraph#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Fri, 16 Oct 2026 12:42:50 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Sourcegraph]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-search-code-across-repos-with-sourcegraph</guid>

					<description><![CDATA[Sourcegraph searches code across every repository at once, with regex and structural queries. Here is how to run your first cross-repo search in minutes.]]></description>
										<content:encoded><![CDATA[<p>Sourcegraph is a code search and intelligence platform that indexes many repositories at once. Instead of cloning each repo, you search all of them from one query box, using regex or structural patterns that understand code rather than just matching text.</p>
<p>You can use the free public index at sourcegraph.com or self-host. This guide covers both, plus the query syntax that makes it worth switching from grep.</p>
<h2>What can Sourcegraph find that grep cannot?</h2>
<p>Three things. It searches across repos without cloning. It understands code structure, so you can match a function call with any arguments. And it handles languages across thousands of repos with results ranked by relevance. The <a href="https://www.iaifeed.com/ai-tool/sourcegraph">Sourcegraph</a> query language supports filters like <code>lang:</code>, <code>repo:</code> and <code>file:</code> that narrow results instantly.</p>
<h2>How do I run my first search?</h2>
<ol>
<li>Go to sourcegraph.com/search. No account needed for public repos.</li>
<li>Type a plain query, e.g. <code>context.WithTimeout</code>.</li>
<li>Add filters: <code>lang:go repo:github.com/gorilla</code>.</li>
<li>Switch to the Code Search tab and enable regex for pattern matching.</li>
</ol>
<p>For structural matching, wrap the pattern in a patternType:structural search — for example finding every call of a function regardless of arguments.</p>
<h2>How do I search my own private repos?</h2>
<p>You need either a cloud account with connected repos, or a self-hosted instance. Self-hosting runs a Sourcegraph container stack and indexes your code locally.</p>
<pre><code>docker run --publish 7080:7080 --publish 3379:3379 sourcegraph/server:latest</code></pre>
<p>External services (GitHub, GitLab, Bitbucket) are added as connections, then Sourcegraph indexes them. Fair warning: for large codebases the first index takes hours and needs real disk and RAM. Check the sizing docs before committing.</p>
<h2>Is Sourcegraph free?</h2>
<p>There is a free tier for public code search, and Sourcegraph offers a free plan for individual developers that includes some private repo indexing. Enterprise features — fine-grained permissions, SSO, large-scale self-hosting support — are paid and priced per user. The exact numbers change, so confirm on their pricing page; the free code-search-for-public-repos capability has no time limit.</p>
<h2>Where does Sourcegraph not shine?</h2>
<p>It is a search tool, not an IDE. There is no refactoring, no run button, and editing is minimal. Indexing lag also means very recent commits can take a while to appear. And if you only work in one small repo, plain ripgrep with a good editor is less overhead — Sourcegraph pays off at scale, when &#8220;which repos use this old API?&#8221; becomes a daily question.</p>
<h2>Quick Summary</h2>
<ul>
<li>Sourcegraph searches code across many repos at once with regex and structural queries.</li>
<li>Public search is free at sourcegraph.com; self-host via Docker for private code.</li>
<li>Filters like <code>lang:</code>, <code>repo:</code>, <code>file:</code> make queries precise.</li>
<li>Strong for cross-repo questions; not an editor and heavy to self-host at scale.</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-search-code-across-repos-with-sourcegraph/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
