June 2026 Summaries
2 posts from Aspect Build
Filter
Month:
Year:
Post Summaries
Back to Blog
The text discusses the complexities and limitations of using Bazel, a build and test automation tool, especially in the context of caching and test execution optimization. It highlights the use of a tool called "bazel-diff" for identifying changes between revisions by hashing targets and attributes, although it often overreports due to its inability to detect byte-identical outputs already in the cache. To address this, the text introduces "aspect cache diff," which leverages Bazel's remote cache capabilities to identify affected tests more precisely without executing them, using a log from Bazel's remote execution path. This method allows for efficient CI/CD pipeline scaling by partitioning affected test sets into manageable CI jobs, improving resource allocation and parallel execution. The approach emphasizes the need for consistent flag usage across different runs to ensure accurate cache hit reporting and the challenges of maintaining accuracy against a sparse cache. The solution aims to reduce unnecessary test executions by focusing on cache hits and misses, allowing teams to better allocate CI resources based on actual needs rather than potential overreporting by bazel-diff.
Jun 19, 2026
2,261 words in the original blog post.
Aspect CLI offers a streamlined approach to setting up Bazel projects by integrating essential components such as toolchains, formatting, linting, package-manager integration, and CI into a single command called aspect init. This command, available in Aspect CLI version 2026.25.11 or newer, simplifies the initiation of a well-formed Bazel workspace by eliminating the need for manual installations and downloads. Users can choose from various presets tailored for different programming languages, or opt for the kitchen-sink preset for a comprehensive setup. Additionally, each preset is available as a GitHub template repository, providing a consistent and reproducible way to set up Bazel projects. The system replaces older methods, enhancing ergonomics and ensuring that the command and templates are aligned with the source of truth maintained in the aspect-build/aspect-workflows-template. This new setup, fully owned by Aspect CLI, is designed to improve developer productivity by offering a hermetic development environment, native package-manager integration, and CI integration via GitHub Actions.
Jun 14, 2026
681 words in the original blog post.