2026-11-26 15:47 UTC

Google reports Sashiko’s Linux review scale and bug-detection results

state: significantheat: lowuncertainty: mediumrelevance: highagentic-code-review linux software-maintenanceGoogleRoman GushchinEric BrewerLinus Torvalds

What is this?

Sashiko is an open-source, Rust-based agentic code-review system built by Google’s AI & Infrastructure team for Linux kernel patches. Donated to the Linux Foundation and usable with Gemini and other models, it gathers code context, runs focused review agents, then verifies candidate bugs before reporting them. In a November 19, 2026 Google Cloud post, engineers Roman Gushchin and Eric Brewer shared updated production and evaluation results. The supplied evidence is primarily Google’s account; it includes a Linux Plumbers Conference presentation and secondary coverage with earlier figures, so some counts reflect different dates or scopes.

Why it matters

The reported scale and predictive signal make AI-assisted review a meaningful example of agents addressing software-maintenance bottlenecks, while the limits on causal attribution remain important.

Current assessment

Google’s November 19, 2026 post reports that its open-source Sashiko system reviews about 1,200 Linux patches per day, has reviewed 241,000 since March, and operates across more than 100 mailing lists, although its table says 75+ opted in. Among 21,500 tracked commits, Google reports that 7.6% of commits merged despite a critical warning needed a follow-up fix within 60 days, compared with 0.9% after clean reviews; this indicates predictive signal, not that every warning is correct. Google also reports follow-up-fix rates declining from a historical 3.4% average to 2.8% in Linux 7.1 and 2.2% in Linux 7.2, while cautioning that other factors may explain the change. Sashiko uses specialized review agents and a verification stage; Google says it is free on opted-in public lists and can be run locally with other models. Independent validation, causal impact on kernel outcomes, and generalization beyond Linux remain unresolved. This is a significant first-party deployment report, but current discussion is sparse and cooling.

Measured heat

now 0 pts/hpeak 3 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 194h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-18 13:00⭐ origin echo-reconstructedGoogle's account explains Sashiko's multi-pass review and verification process, its deployment across Linux kernel mailing lists, and report
Roman Gushchin and Eric Brewer on blog (echo) · attributed from hn.story.50553280
—
11-18 22:33first on hacker news · published · +9.6hSashiko: Lessons from building an agentic code review system for Linux
matt_d
—
11-18 22:33amplified on hacker news 👑hn.story.50553280
matt_d
peak 3 · 0 comments · 59% of case engagement
11-19 10:56amplified on hacker newshn.story.50558521
DonAtimator
peak 1 · 0 comments · 21% of case engagement
11-20 08:41amplified on hacker newshn.story.50571865
geoffbp
peak 1 · 0 comments · 21% of case engagement
11-18 23:21our radar first saw it · +10.4hdiscovery anchor: hn.story.50553280—
pace: p38 vs 2096 stories at the 168h mark (now 194h old) — ahead of adobe-max-ai-agents-creative-tools-mcp (1.5x), behind 42loop-agent-operated-product-experiment (0.8x)

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnSashiko: Lessons from building an agentic code review system for Linux
Retrieved article excerpt

Open article · Retrieved 2026-11-18T23:23:14.305679+00:00

Application Development

# Sashiko: Lessons from building an agentic code review system for Linux

November 19, 2026

##### Roman Gushchin

Software Engineer, AI & Infrastructure

##### Eric Brewer

VP, Infrastructure & Google Fellow, AI & Infrastructure

##### Try Gemini today

The front door to AI in the workplace

[Try now](https://business.gemini.google/?utm_source=cloud.google.com/blog&utm_medium=et&utm_campaign=FY26-Q2-GLOBAL-GLO27877-physicalevent-er-next26-mc-105752)

The speed of development in large open-source projects has always been limited by code review, not code generation. Even as coding agents get better at writing code, they do not accelerate development on their own. This is especially true of patches to the Linux kernel. Without a way to build trust in proposed changes, more generated code simply piles up in front of the same small group of human maintainers. Some of those patches are solid changes, just written faster; many others are plausible-looking "AI slop" sent by contributors who do not fully understand the systems they are modifying. And the influx of AI-generated security reports, many of which are duplicates or inaccurate, only adds to maintainers’ load.

Linux runs billions of Android phones, most cloud providers, and nearly every supercomputer. It spans more than 35 million lines of code, and over 85,000 changes land every year. Automated build bots and fuzzers like [Syzkaller](https://github.com/google/syzkaller) catch build errors and crashes, but code review has always been the main way to guarantee the stability and safety of the kernel. Every day, maintainers read hundreds and hundreds of proposed patches by hand to catch memory leaks, deadlocks, race conditions, and security bugs.

https://storage.googleapis.com/gweb-cloudblog-publish/images/1\_sIAzTvL.max-400x400.png

https://storage.googleapis.com/gweb-cloudblog-publish/images/1\_sIAzTvL.max-400x400.png

To help maintainers handle the load and catch bugs before they land, the [Google AI & Infrastructure](http://aiinfra.google/) team built [**Sashiko**](https://github.com/sashiko-dev/sashiko), an open-source, agentic code review system powered by Gemini. We named the project after the Japanese word 刺し子, a stitching technique for artistically reinforcing worn cloth, and donated it to the Linux Foundation earlier this year.

In this blog, we cover the problem Sashiko was designed to solve, how it works, what the data shows, and what we learned from building and running it in the wild.

### **Reviewing code is hard**

Reviewing a change in a complex code base is objectively hard, both for humans and LLMs. It often requires a deep understanding of how the system works in general, well outside the proposed change. In fact, it’s pretty common to see patches that engineers claim perfectly solve the problem, but if they were to be merged, would actually introduce even worse problems (albeit subtle). Traditionally, only experienced maintainers have been able to spot and prevent these issues. The same is true for agentically generated code.

To verify the correctness of a change, a potentially large number of invariants should be proven, which is often a much larger and harder task than developing the change itself. This is true for both human and agentic reviewers. However, LLM-based reviewers have some unique properties, both positive and negative:

1. **LLMs often struggle to put in enough effort.** LLMs are trained to achieve the goal of spending fewer tokens. So they often tend to cut corners and dismiss concerns without proper investigation or flag false positives without proper due diligence.
2. **LLMs are easier to bias**. The current generation of LLMs usually performs much better if provided a single relatively simple task (e.g., prove the patch for memory leaks) rather than multiple tasks (e.g., explore several complex, varied concerns). It’s pretty common for an LLM to find an obvious issue in the code and refuse to look deeper for other types of issues. Also, commit log text can sometimes affect the result of code review in a non-predicatable or even malicious way.
3. **LLMs don’t have persistent memory.** Surprisingly, this is a positive thing for code review: An LLM can review the same or similar patch multiple times as if it were a new patch. No sane human can review the same patch applied to 100 slightly different branches to find the few that have incompatible changes.

### **How Sashiko reviews a patch**

To avoid these failure modes, Sashiko separates **finding candidate bugs** from **verification of those bugs**, and requires each pass to record what it ruled out:

Loading...

Gather context and plan
-> Parallel specialist sessions (concerns + dismissed concerns)
-> Triage
-> Per-bug deep checks
-> Review report

Notes on each step:

1. **Gather context and plan:** Sashiko first pulls in the code around the diff (modified functions, struct definitions, and direct callers) and loads the subsystem's domain guides, so the changed lines are never judged in isolation. A planner then decides which specialist passes are needed (skipping hardware checks on pure software code, for example) and sets a reasoning budget for each pass based on patch complexity.
2. **Parallel specialist sessions:** Up to seven specialist sessions run in parallel, each focused on a single class of problems: commit intent, implementation match, control flow, resource lifetimes, locking, security, and hardware. Giving each pass a single focus prevents one type of bug from crowding out another. Each session searches and reads the repository with git tools (averaging about 100 tool calls per review) and outputs two lists: concerns it believes are real, and candidate concerns it investigated and ruled out, along with the code that supports that conclusion.
3. **Triage:** A lead verifier audits those two lists together. Clear-cut bugs already proven by the code in front of it pass straight through; dismissals proven by a local check are dropped. Everything else deserves additional investigation. Crucially, that includes not only contested bugs where specialists disagreed, but also **shaky self-dismissals** — cases where a specialist spotted a real bug and dismissed it by assuming, without proof, that some unseen caller or lock would prevent it.
4. **Per-bug deep checks:** Instead of checking all difficult cases in one shared prompt, Sashiko gives each difficult case its own verification agent that runs in parallel. Each agent gets one specific question to answer with git tools under a symmetrical rule: Neither a bug claim nor a dismissal is accepted without concrete code proof across all call sites. If a specialist talks itself out of a real bug based on a false assumption, this step catches it and promotes it back to a real finding.
5. **Review report:** Sashiko generates a report that sounds like a human maintainer asking questions about the proposed change, matching the style expected on a Linux mailing list.

All this happens at no cost for developers. Deep agentic reviews at scale require a substantial token budget. If developers had to pay for them with their own API keys, many important contributors would be pushed away. Instead, Sashiko reviews patches sent to public Linux kernel mailing lists, and Google runs the service at [sashiko.dev](https://sashiko.dev). Everything runs in the open: every prompt, tool call, reasoning step, and ruled-out bug is public. The project initially used the open-source Linux review prompts started by Chris Mason, and more than 100 contributors, including prominent kernel maintainers and engineers, have since helped to improve prompts and Sashiko itself. Recently, Sashiko switched to a different prompt system that combines per-tree or per-version auto-generated notes on code with subjective maintainers notes, which contain directions and instructions from maintainers that can’t be derived from the code.

### **What the data shows**

The real test of an automated reviewer is whether maintainers pay attention to the reports it sends out, and whether those reports track actual software quality. Seven months of Sashiko production data from the kernel mailing lists give a clear picture of both these questions.

**It is part of the daily workflow.** Sashiko completes roughly 1200 reviews a day across over 100 kernel mailing lists. It sends review emails only to lists whose maintainers opt in, and already over 70 of them have done so. Developers also engage directly with the reports: More than 1500 kernel developers have replied on the mailing lists, and their pushback on false alarms has directly driven improvements to Sashiko's prompts and verification engine. In fact, [LWN.net](http://lwn.net) recently [wrote](https://lwn.net/Articles/1096963/) that **Sashiko has already become an important part of the kernel's development process** and was [the top bug reporter](https://lwn.net/Articles/1100241/) of issues in the 7.2 release cycle.

**It prevents new bugs and uncovers old ones.** When Sashiko flags a bug in a proposed patch, the author typically fixes it in the next revision before the change is ever merged. Many developers run Sashiko locally or in corporate private instances. The bugs that Sashiko helped to prevent leave no trace in the git commit log, making them hard to count directly. What can be counted are fixes for preexisting bugs that Sashiko finds and reports as a byproduct of reviewing new changes: Sashiko is cited in over 2000 mainline kernel commits and in over 500 of this year's official Linux kernel CVEs, spanning drivers, core kernel code, networking, GPUs, memory management, and virtualization.

**Fewer bugs are slipping into mainline releases.** Across the 18 kernel releases prior to Sashiko (Linux 6.2 through 6.19, covering 254000 commits), an average of 3.4% of merged commits required a follow-up fix within 60 days. Since Sashiko rolled out, that 60-day fix rate has fallen to 2.8% in Linux 7.1 and 2.2% in Linux 7.2, **a 35% drop** (with the 30-day fix rate falling from 2.3% to 1.4%). It’s too early to make strong claims, and obviously many other factors can influence release-to-release numbers, so we cannot solely credit Sashiko for the entire drop, but the trend is optimistic.

#### Since Sashiko was rolled out, the percentage of merged commits in the Linux kernel that received a follow-up fix in 60 days has dropped by 35%.

**A clean review carries real signal.** If Sashiko's warnings were mostly noise, commits merged with warnings would need follow-up fixes no more often than commits that passed cleanly. In practice, across 21,500 tracked mainline commits, patches that received a clean Sashiko review required a follow-up fix within 60 days just 0.9% of the time — less than a third of the historical baseline. Patches merged despite a critical Sashiko warning needed a fix 7.6% of the time — an 8x higher risk (and 6.3x higher even after adjusting for patch size). 

That gap is what makes Sashiko useful to maintainers: A clean pass instills real confidence, while a critical warning is a strong reason to take another look at the proposed patch.

https://storage.googleapis.com/gweb-cloudblog-publish/images/2\_IdMDvr5.max-1500x1500.png

https://storage.googleapis.com/gweb-cloudblog-publish/images/2\_IdMDvr5.max-1500x1500.png

This all tracks with what Linus Torvalds wrote in a mailing-list discussion a few weeks after Sashiko’s launch:

"As you say, Sashiko tends to be quite good. Even when it flags something unnecessarily and there's no actual problem, there's likely to be a reason for the question. And we've seen some truly stellar reports too. Things that are deep and subtle, and the AI is 100% correct. So anybody who thinks that all AI is slop is in denial about the current state." - **Linus Torvalds** ([on lore.kernel.org](https://lore.kernel.org/all/CAHk-=wi_drr4Ls9KtXW1k8L2FUDF0YdnyjvKmPgLXHDFnnRWEg@mail.gmail.com/))

| **Sashiko at a glance** | **
matt_d30
🟧 echo.blog ⭐Google's account explains Sashiko's multi-pass review and verification process, its deployment across Linux kernel mailing lists, and reportRoman Gushchin and Eric Brewer——
🟧 hnSashiko: Lessons from building an agentic code review system for LinuxDonAtimator10
🟧 hnSashiko: Lessons from building an agentic code review system for Linuxgeoffbp10

Interpretation history

Decision trace