April 2025 Summaries
4 posts from Sourcegraph
Filter
Month:
Year:
Post Summaries
Back to Blog
Batch Changes, a tool by Sourcegraph, is being enhanced to better support large-scale code transformations by focusing on security, lovability, and usability. This tool addresses the challenges of the outer loop in software development, which encompasses the management of code changes across multiple repositories and often involves bureaucratic processes. The improvements include fine-grained access controls, support for signed commits, search, sort, and filter capabilities, clearer error messages, bulk changeset rebasing, and reusable batch spec templates. These enhancements aim to make Batch Changes more secure, intuitive, and efficient for engineering teams managing complex codebases. The future vision includes integrating AI tools like Cody to automate and streamline large-scale code changes, making the process smarter and more strategic for development teams.
Apr 11, 2025
700 words in the original blog post.
Sourcegraph has achieved ISO/IEC 27001:2022 certification, highlighting its dedication to maintaining the highest standards of information security for enterprises. This certification ensures that Sourcegraph has established a robust, independently audited security program designed to safeguard the confidentiality, integrity, and availability of customer data across its products and operations. This is particularly significant for large enterprises and global organizations, as it demonstrates Sourcegraph's adherence to stringent security and data protection standards. The company emphasizes that security is an ongoing commitment, embedded in its operations and culture, with a proactive Governance, Risk, and Compliance (GRC) program that includes continuous monitoring and regular risk assessments. Sourcegraph's ISO 27001 certification is part of a broader security strategy that also includes SOC 2 Type II attestation and compliance with GDPR and CCPA, underscoring its commitment to building secure and reliable solutions for users.
Apr 09, 2025
340 words in the original blog post.
The adaptation of the BM25 algorithm to improve code search efficiency by 20% at Sourcegraph highlights the enduring relevance of classic search methodologies in modern applications. BM25, originally designed for text search, has been tailored to handle code-specific complexities, such as distinguishing between matches in file names and symbol definitions versus less significant matches in comments or statements. This adaptation involved the integration of BM25F, an extension that allows for differential weighting of term matches across different fields like content, symbols, and filenames, ensuring a balanced and interpretable ranking system. The revised approach enhances Sourcegraph's search capabilities by leveraging line-level scoring and combining traditional keyword search with semantic methods to address diverse customer needs, including support for niche programming languages and proprietary systems. Despite advancements in search technology, the foundational strength of BM25, with its simplicity and conceptual rigor, continues to prove valuable, as demonstrated through rigorous internal evaluations against modern embeddings and semantic reranking models.
Apr 04, 2025
2,372 words in the original blog post.
Sherlock is an AI-powered tool developed by a security team to enhance code reviews by automating the identification of security risks while reducing false positives. Traditional SAST tools often overwhelm engineers with alerts, many of which are false, making it challenging to identify genuine vulnerabilities. Sherlock leverages Large Language Models (LLMs) and Sourcegraph Cody's contextual insights to provide richer analysis of pull requests and diffs. It integrates seamlessly with GitHub workflows, automatically correlating SAST alerts with LLM-driven insights to focus security efforts on high-risk issues. Despite challenges like occasional hallucinations and limited code navigation, the tool has proven effective, scanning over 400 pull requests and uncovering several high and medium-severity issues. Sherlock's ability to flag both straightforward vulnerabilities and nuanced edge cases enhances proactive code security reviews, saving time and allowing the security team to concentrate on more complex tasks. By prioritizing actual risks, Sherlock accelerates development cycles without compromising security, delivering tangible business benefits and boosting productivity.
Apr 03, 2025
1,023 words in the original blog post.