# Thank You CODEOWNERS, It's Time for Code Experts | LinearB Blog

> Enhance your CODEOWNERS workflows with PR routing by gitStream, an automation tool built around ensuring that your code is getting the highest quality review.

_This is a markdown rendering of a live HTML page on linearb.io, generated for AI/LLM consumption — it is not a markdown-only site. To get the full HTML page instead, request this URL with an explicit `Accept: text/html` header (no wildcard, no markdown preference)._


```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://linearb.io/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Blog",
      "item": "https://linearb.io/blog"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Thank You CODEOWNERS, It's Time for Code Experts",
      "item": "https://linearb.io/blog/its-time-for-code-experts"
    }
  ]
}
```

[Home](https://linearb.io/)

/

[Blog](https://linearb.io/blog)

/

Thank You CODEOWNERS, It's Time for Code Experts

# Thank You CODEOWNERS, It's Time for Code Experts

![Photo of Natalie Breuer](https://assets.linearb.io/image/upload/c_limit,w_3840/f_auto/q_auto/v1/Natalie_Breuer_e5764bbbac?_a=BAVMn6ID0)

By [Natalie Breuer](https://linearb.io/blog/its-time-for-code-experts#natalie-breuer)

|

March 24, 2023

![code_experts_blog_post_cd40ab81ff](https://assets.linearb.io/image/upload/c_limit,w_3840/f_auto/q_auto/v1/code_experts_blog_post_cd40ab81ff?_a=BAVMn6ID0)

![codeExperts Customer Slack convo: So codeExperts is essentially a combination of both the blame and activity filters? Exactly!](https://assets.linearb.io/uploads/2023/03/Group-6555-1-893x1024.png)

Engineering teams no longer have to choose between Git blame or Git activity when it comes to assigning the best PR reviewer — they can now have both. 

Enhance your current CODEOWNERS workflows with new dynamic pull request routing and classification by [gitStream](https://linearb.io/dev/gitstream), a PR automation tool built around ensuring that your code is getting the highest quality review possible.

Year after year, [research from DORA](https://www.devops-research.com/research.html) has maintained that by reducing manual work in the code review process, engineering teams can decrease [change failure rate](https://linearb.io/blog/change-failure-rate) up to 40% and reap the benefits of higher ROI on engineering. It was with this data in mind that GitHub launched [CODEOWNERS](https://linearb.io/blog/gitstream-vs-code-owners-vs-github-actions) in 2017, thereby ushering in a new era of agile centered around workflow automation. 

And while the widespread adoption of CODEOWNERS has been a great first step toward [continuous merge](https://linearb.io/blog/what-is-continuous-merge), it has remained a one-dimensional solution. While CODEOWNERS does allow users to assign developers or teams to specific files, it does not take into account more dynamic data, like history, activity, developer expertise, or team workload.

## **Ensure the Highest Quality Review for Every PR**

For engineering organizations looking to boost efficiency, the pull request review process is the best place to start. If you’re interested in enhancing your current CODEOWNERS workflow, here are new rules that will make your pull request reviews more effective: 

* Code Experts: Authorize experts only for sensitive code
* High-Risk Tags: Let DevSecOps take the reins on high-risk work
* Missing Tests: Mark PRs without tests
* 2 Reviewers: Require 2 reviewers for complex PRs

### **Authorize Experts Only For Sensitive Code** 

When it comes to high-risk code, it’s imperative that changes are thoroughly reviewed by the most qualified person before they are deployed.

As such, one of the most popular gitStream rules is the ability to assign [codeExperts](https://docs.gitstream.cm/filter-functions/#codeexperts) to a review. 

gitStream’s proprietary algorithm takes into account which developers have the most commit activity and knowledge on the files in question, then assigns them to review that PR automatically. 

![Code Experts Slack bot screenshot showing that YovelElad and Yaarash have the most activity in the files and YovelElad and ShakedZrihen have the most knowledge in the files.](https://assets.linearb.io/uploads/2023/03/github-codeexperts-expanded-1024x726.png)

This way, the code expert can provide specific and informed feedback, rather than general comments that may be lacking vital context.

### **Let DevSecOps Take The Reins on High-Risk Work**

Many dev teams love CODEOWNERS because it allows them to flag risky code by file or directory. With gitStream, users can also alert users based on _code changes_ relevant to their team.

This is especially useful for reviews in sensitive areas of the codebase. For example, DevSecOps can [flag risky code terms](https://docs.gitstream.cm/examples/#validate-new-component-has-required-field:~:text=repo%20.cm%20directory-,Validate%20new%20component%20has%20required%20field,-You%20can%20define) to ensure that PRs containing those terms are reviewed by their team. 

![DevSecOps file](https://assets.linearb.io/uploads/2023/03/Screenshot-2023-03-24-at-2.11.22-PM-1024x426.png)

In the example above, a gitStream user has defined a required field: `description`. Doing so will route all PRs with this component to DevSecOps every time.

### **Mark PRs without Tests**

gitStream can also [flag high-risk PRs](https://docs.gitstream.cm/examples/#mark-prs-without-tests:~:text=filter%20page.-,Mark%20PRs%20without%20tests,-PRs%20that%20don%27t) in the pipeline, so engineers can spend their time on what matters most and catch bugs before they happen. 

Whenever a PR without a test is opened, gitStream applies a bright red label.

![gitStream missing tests screenshot](https://assets.linearb.io/uploads/2023/03/missing-labels-example-1024x96.png)

Then, once the tests are added and committed, gitStream will automatically remove the label. 

![gitStream removed missing tests screenshot](https://assets.linearb.io/uploads/2023/03/removing-missing-labels-example-1024x114.png)

### **Require Two Reviewers for Complex PRs**

Historically, when engineering teams have wanted two approvals on a complex PR, they’ve had to increase the required reviewer count for _all_ PRs using GitHub repo settings. 

This lack of flexibility within GitHub has forced engineering managers to choose between two evils: either assigning developers to more PRs than necessary or forgoing a second set of eyes on sensitive reviews. 

gitStream solves for this dilemma by allowing users to [assign two reviewers](https://docs.gitstream.cm/examples/#require-2-approvals-for-complex-prs:~:text=repo%20.cm%20directory-,Require%202%20approvals%20for%20complex%20PRs,-Automatically%20require%202) for PRs they deem complicated or high-risk.

![gitStream assign two reviewers screenshot](https://assets.linearb.io/uploads/2023/03/required-check-block-merge-1024x414.png)

In the example above, the user has added a rule that requires two developers to approve PRs with more than 100 lines of code changed under the src directory.

## **Help Your Dev Team Ship Code 44% Faster**

With all that said, [code quality](https://linearb.io/blog/why-code-quality-is-important-to-measure) is only one side of the equation. Top-performing engineering organizations must also optimize for speed to remain competitive in a down economy.

And it’s a common misconception that engineering teams must sacrifice code quality at the expense of pace. Rather, [DORA research](https://medium.com/cyberark-engineering/the-secret-to-speed-and-stability-656243b6522) has “consistently shown that speed and stability are outcomes that enable one another.” 

To this end, gitStream can also help decrease cycle time up to 44% by enabling developers with: 

* Auto-Approvals: Approve safe changes automatically
* Reverse CODEOWNERS: Share knowledge across teams
* Deprecated API Alert: Request changes on deprecated APIs

### **Approve Safe Changes Automatically**

Most PRs with simple revisions to documentation don’t need to take up your engineers’ precious time. Now, users can leverage gitStream to [verify and auto-approve all documentation changes](https://docs.gitstream.cm/examples/#approve-safe-changes:~:text=repo%20.cm%20directory-,Approve%20safe%20changes,-PRs%20that%20include). 

![gitStream approve safe changes screenshot](https://assets.linearb.io/uploads/2023/03/approved-safe-changes-1024x204.png)

In the example above, the `files` context is checked by an `allDocs` filter that verifies the PR only contains document files. 

### **Share Knowledge Across Teams** 

As important as it is to keep your developers unblocked day-to-day, it’s also critical to ensure that your team is improving month-over-month. 

One of the easiest ways to do this is to let gitStream [assign engineers to PRs based on their _lack_ of knowledge](https://docs.gitstream.cm/examples/#share-knowledge:~:text=can%20block%20merge-,Share%20knowledge,-When%20setting%20lt). This can be a great way to familiarize devs with new areas of the codebase and facilitate knowledge sharing across your team. 

As seen in the rule below, by setting `lt` to 50, only those who contributed less than 50% of lines overall will be assigned to the PR. 

![gitStream rank by GitBlame file](https://assets.linearb.io/uploads/2023/03/Screenshot-2023-03-24-at-2.18.00-PM-1024x257.png)

### **Request Changes on Deprecated APIs**

Another popular gitStream rule is the ability to trigger a change request automatically [whenever a PR includes use of a deprecated API](https://docs.gitstream.cm/examples/#request-changes-on-deprecated-apis:~:text=have%20%60description%3A%60%20field.-,Request%20changes%20on%20deprecated%20APIs,-For%20example%2C%20assume). This allows engineering managers to encourage best coding practices on their team while remaining hands off. 

This way, whenever a developer accidentally opens a PR using an old API, they will get the following automated alert redirecting them toward the preferred API. 

![gitStream deprecated API screenshot](https://assets.linearb.io/uploads/2023/03/change_use_deprectaed_api-1024x296.png)

## Transition from Static CODEOWNERS to a Dynamic Review Policy 

As with the launch of CODEOWNERS in 2017, gitStream marks a shift in the way developers will automate their workflows for years to come. Gone are the days of a one-size-fits-all approach to code reviews. 

And unlike CODEOWNERS, which involves manual upkeep as teams and priorities shift, gitStream was built for scale, with highly customizable rules and little to no maintenance.

Setting up gitStream takes less than 3 minutes. Watch our installation tutorial below and [set up your first rule today](https://linearb.io/dev/gitstream).

[](https://github.com/apps/gitstream-cm/installations/new)

## Improve developer productivity with LinearB

Find us on

[](https://www.linkedin.com/company/linearb)
[](https://devinterrupted.substack.com/)

![Natalie_Breuer_e5764bbbac](https://assets.linearb.io/image/upload/c_limit,w_3840/f_auto/q_auto/v1/Natalie_Breuer_e5764bbbac?_a=BAVMn6ID0)

## Natalie Breuer

Natalie Breuer, now a Senior Product Marketing Manager at LinearB, has been in the Developer Productivity Insights space since 2019\. A writer at heart, Natalie loves bringing technical topics to life with human stories – bridging the gap between data and storytelling.

## Your next read

[![Cover image for Slack turns channels into the context engine for agentic AI](https://assets.linearb.io/image/upload/c_limit,w_3840/f_auto/q_auto/v1/Blog_Post_Name_2400x1256_077524ba8b?_a=BAVMn6ID0)](https://linearb.io/blog/slack-jaime-delanghe-mcp-agent-context-channels)

Workflow

[Slack turns channels into the context engine for agentic AI](https://linearb.io/blog/slack-jaime-delanghe-mcp-agent-context-channels)

Slack Chief Product Officer Jaime DeLanghe breaks down how channels serve as the foundational context layer for human-agent collaboration. Learn why Slack is...

[![Cover image for Code generation is faster than ever, but shipping value isn't](https://assets.linearb.io/image/upload/c_limit,w_3840/f_auto/q_auto/v1/Blog_AI_code_review_bottleneck_2400x1256_d73333ea46?_a=BAVMn6ID0)](https://linearb.io/blog/code-generation-faster-shipping-isnt)

Workflow

[Code generation is faster than ever, but shipping value isn't](https://linearb.io/blog/code-generation-faster-shipping-isnt)

Your team writes more code than ever, but less reaches production. AI moved the bottleneck to code review. Here's how to measure it and unblock your pipeline.&n...

[![Cover image for AI as a value multiplier: a human-centric approach to engineering leadership](https://assets.linearb.io/image/upload/c_limit,w_3840/f_auto/q_auto/v1/Blog_Servant_Leadership_2400x1256_0cfd4e2a0c?_a=BAVMn6ID0)](https://linearb.io/blog/ai-as-value-multiplier-human-centric-leadership)

Workflow

[AI as a value multiplier: a human-centric approach to engineering leadership](https://linearb.io/blog/ai-as-value-multiplier-human-centric-leadership)

Super.com's Matt Culver explains why AI should be used as a value multiplier, not a cost-cutter, advocating for a human-centric approach to engineering...

## Structured data

_Machine-readable metadata (JSON-LD) embedded in the page for search/AI context — not content rendered on the page itself._

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "LinearB",
  "url": "https://linearb.io/",
  "logo": "https://assets.linearb.io/image/upload/v1715628027/logo-mark-lg.svg",
  "description": "LinearB is the engineering productivity platform that helps engineering leaders prove AI is improving throughput without sacrificing delivery confidence, flow efficiency, or developer experience.",
  "sameAs": [
    "https://www.linkedin.com/company/linearb"
  ],
  "award": [
    {
      "@type": "Award",
      "name": "LinearB is a Leader in the 2026 Gartner® Magic Quadrant™ for Developer Productivity Insight Platforms",
      "dateAwarded": "2026",
      "awardedBy": {
        "@type": "Organization",
        "name": "Gartner®"
      }
    },
    {
      "@type": "Award",
      "name": "Great Place to Work Certification",
      "dateAwarded": "2025-2027",
      "awardedBy": {
        "@type": "Organization",
        "name": "Great Place to Work"
      }
    },
    {
      "@type": "Award",
      "name": "America's Best Startup Employers 2025",
      "dateAwarded": "2025",
      "awardedBy": {
        "@type": "Organization",
        "name": "Forbes Magazine"
      }
    }
  ],
  "hasCertification": [
    {
      "@type": "Certification",
      "name": "SOC 1 Type 2"
    },
    {
      "@type": "Certification",
      "name": "SOC 2 Type 2"
    },
    {
      "@type": "Certification",
      "name": "GDPR Compliance certification"
    },
    {
      "@type": "Certification",
      "name": "ISO 27001"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Thank You CODEOWNERS, It's Time for Code Experts",
  "url": "https://linearb.io/blog/its-time-for-code-experts",
  "author": {
    "@type": "Person",
    "name": "Natalie Breuer"
  },
  "datePublished": "2023-03-24T20:24:25.000Z",
  "dateModified": "2023-03-24T20:24:25.000Z",
  "image": "https://assets.linearb.io/image/upload/v1720000000/code_experts_blog_post_cd40ab81ff.png",
  "publisher": {
    "@type": "Organization",
    "name": "LinearB",
    "logo": "https://assets.linearb.io/image/upload/v1777485755/linearb-logo-2026.png"
  },
  "description": "Enhance your CODEOWNERS workflows with PR routing by gitStream, an automation tool built around ensuring that your code is getting the highest quality review.\n"
}
```

## More on linearb.io

### Top navigation

- [Book a Demo](https://linearb.io/book-a-demo)
- [AI Code Reviews — Catch security risks, bugs, and spec mismatches](https://linearb.io/platform/ai-code-reviews)
- [AI & Productivity Insights — See how AI tools affect cycle time and delivery speed](https://linearb.io/platform/ai-developer-productivity-insights)
- [Measure AI Impact — Track AI adoption and tie it to delivery outcomes](https://linearb.io/use-case/measure-ai-impact)
- [MCP Server — Chat with your data to spot patterns and boost output](https://linearb.io/platform/mcp-server)
- [Resource Allocation — Cost initiatives and shape your investment strategy](https://linearb.io/platform/resource-allocation)
- [Cost Capitalization — Capitalize engineering costs with audit-ready reports](https://linearb.io/platform/cost-capitalization)
- [Dev Team Management — Set targets and tie throughput to business outcomes](https://linearb.io/platform/goals-and-reporting)
- [DevOps Workflow Automation — Policy-based PR routing, approvals, and tests](https://linearb.io/platform/ai-workflow-governance)
- [AI Powered Support — Unify AI and human code delivery in one clear view](https://linearb.io/use-case/ai-powered-support)
- [Optimization — Surface friction with feedback and MCP insights](https://linearb.io/platform/developer-experience)
- [Reporting — Spot what's working and what needs attention](https://linearb.io/use-case/measuring-developer-experience)
- [Surveys — Turn developer feedback into actionable signals](https://linearb.io/platform/developer-surveys)
- [Platform overview](https://linearb.io/platform/overview)
- [Register now](https://linearb.io/event/the-great-software-factory-debate-2)
- [Customers](https://linearb.io/customers)
- [Pricing](https://linearb.io/pricing)
- [Why choose LinearB — Explore your data. Measure performance. Act to improve it.](https://linearb.io/why-linearb)
- [APEX framework — The operating model for AI-era engineering teams](https://linearb.io/resources/apex-framework)
- [Anti-FAQ — The questions other vendors won't answer](https://linearb.io/why-linearb/anti-faq)
- [Security — Enterprise-grade compliance and zero code access](https://linearb.io/security)
- [Build vs. buy — The hidden cost of building it yourself](https://linearb.io/resources/build-vs-buy)
- [Dev Interrupted Podcast — Conversations with engineering leaders](https://linearb.io/dev-interrupted/podcasts)
- [Reports & Guides — Deep dives on productivity and delivery](https://linearb.io/resources)
- [Webinars — Expert sessions on productivity and AI](https://linearb.io/resources?category=workshops)
- [Metrics Benchmarks — See how your engineering org stacks up](https://linearb.io/resources/software-engineering-benchmarks-report)
- [Blog — Product updates and practical insights](https://linearb.io/blog)
- [Help Center — Documentation, setup, and support](https://linearb.helpdocs.io)
- [API Docs](https://docs.linearb.io/api-overview)
- [Status](https://www.linearbstatus.com/)
- [Integrations](https://linearb.io/integrations)
- [LinearB Library](https://linearb.io/library)
- [Engineering metrics](https://linearb.io/library/engineering-metrics)
- [Platform engineering](https://linearb.io/library/platform-engineering)
- [Engineering glossary](https://linearb.io/library/engineering-glossary)
- [Developer productivity](https://linearb.io/library/developer-productivity)
- [AI in software development](https://linearb.io/library/ai-in-software-development)
- [Engineering management](https://linearb.io/library/engineering-management)
- [Developer experience](https://linearb.io/library/developer-experience)
- [DevOps](https://linearb.io/library/devops)
- [Engineering operations and the context layer](https://linearb.io/library/engineering-operations)
- [Engineering efficiency](https://linearb.io/library/engineering-efficiency)
- [Software delivery](https://linearb.io/library/software-delivery)
- [Research and data](https://linearb.io/library/engineering-benchmarks-and-research)
- [LinearB is a Leader in the 2026 Gartner® Magic Quadrant™ for Developer Productivity Insight Platforms](https://linearb.io/resources/gartner-magic-quadrant-dpi-platforms-2026)
- [Sign in](https://app.linearb.io/login)
- [Enterprise](https://linearb.io/solutions/enterprise)
- [Contact](https://linearb.io/contact-us)
- [About us](https://linearb.io/about-us)
- [Careers](https://linearb.io/careers)
- [Service agreement](https://linearb.io/services-agreement)
- [Privacy policy](https://linearb.io/privacy-policy)
- [DPA](https://linearb.io/data-processing-agreement)
- [Security FAQ](https://linearb.io/security-faq)
- [Substack](https://devinterrupted.substack.com/)

### Footer

_Additional links from the site footer, not repeated from the top navigation above._

- [GitHub](https://github.com/linear-b)
- [LinkedIn](https://www.linkedin.com/company/linearb)
- [Twitter](https://twitter.com/LinearB_Inc)