AIニュース最前線
最新ニュースAI日報Hacker日報週報動画AIツールトレンド企業

AIニュース最前線

世界中のAI最新情報を日本語で毎時更新

最新ニュース日報トレンド企業プレミアムRSS
© 2026 ainew.jp特定商取引法に基づく表記
ニュース一覧元記事を開く
GitHub Blog·2026年6月19日 01:00·約6分で読める

プルリクエスト制限がノイズを削減する方法について

#GitHub Copilot#オープンソース管理#コードレビュー#生成 AI
TL;DR

GitHub は、オープンソースプロジェクトにおける低品質なプルリクエストの増加とレビュー負荷の高まりに対処するため、ユーザーが同時に保持できるプルリクエスト数に制限を設ける新機能を導入した。

AI深層分析2026年6月19日 02:07
4
重要/ 5段階
深度40%
5
関連度30%
4
実用性20%
5
革新性10%
3

キーポイント

1

プルリクエスト数の上限設定機能

書き込み権限のないユーザーが同時に開いているプルリクエストの最大数を設定可能にし、上限に達すると新しい PR を開く前に既存のものをクローズまたはマージする必要がある。

2

AI 生成コードと信頼済みコントリビューターの扱い

Copilot などの AI エージェントが作成した PR もカウントされる一方、信頼できる貢献者はバイパスリストに登録され制限を回避できる。また、ドラフト PR はカウントされない。

3

コントリビュータの行動変容と品質向上

PR を開くコストが高まることで、コントリビュータは提出前に内容を精選し優先順位をつけるようになり、レビュー対象となる PR の質が向上する。

4

オープンソースエコシステムの変化への対応

GitHub 上の月間マージ数が約 3.6 倍に増加した背景があり、特に AI による生成コードの急増でレビュー負荷が限界を超えている現状を解決する。

5

PR 数の急増と管理の必要性

GitHub 上のプルリクエスト数は月間 2500 万件から 9000 万件へ約 3.6 倍に増加しており、ボランティアのメンテナーが追いつくのが困難な状況となっている。

6

機能拡張と新しい制御手段

プルリクエスト制限に加え、低品質な PR のアーカイブ化機能や、Issue 数制限、信頼度に基づく自動バイパス、複数リポジジェクトにまたがるスプレッド攻撃への対策が検討されている。

影響分析・編集コメントを表示

影響分析

この機能は、生成 AI の普及によって急増するオープンソースへの投稿量とレビューコストのミスマッチを是正する画期的な対策である。メンテナーが「ノイズ」に埋もれず真に重要な貢献を見極められるようになり、プロジェクトの持続可能性と開発効率の維持に寄与する。

編集コメント

生成 AI の台頭により、オープンソースコミュニティの「投稿量」対「レビュー能力」のバランスが崩壊する中で、プラットフォーム側がインフラレベルで介入した重要な事例です。

オープンソースへの貢献者は過去に例を見ないほど多く、そのほとんどが支援を試みています。課題は、その量の追跡にあります。プルリクエストの作成はかつてないほど容易になりましたが、レビューには依然として人間が従来どおりの時間を要します。優れた貢献と低品質なノイズが同じキューに流れ込むと、注目を deserving するものが発見しにくくなります。

そのため、私たちはプルリクエスト制限を導入しました。これは私たちが最も頻繁に耳にする課題に対処するものです:流入するプルリクエストが多すぎる、低品質なノイズが多すぎる、そしてフローを管理する方法が少なすぎることです。

仕組みについて

プルリクエスト制限は、書き込み権限を持たないユーザーが、リポジトリ内で同時に開けることができるプルリクエストの最大数を設定します。制限に達すると、別のプルリクエストを開く前に、1 つを閉じるかマージする必要があります。Copilot や他の AI エージェントによって開かれたプルリクエストも、この制限に含まれます。信頼できる貢献者はバイパスリストに登録され、制限から免除されますが、完全な貢献者アクセス権が付与されるわけではありません。ドラフト状態のプルリクエストは、制限にはカウントされません。

image
image

GitHub にはすでにインタラクション制限(一時的なクールダウン期間)が存在しますが、今回の新しいプルリクエスト制限は永続的かつ設定可能であり、メンテナーが求めていた制御権を提供します。

制限を設けることは、コントリビューターの行動様式も変化させます。誰でも数秒でプルリクエストを開ける場合、完成された変更と未熟な草案がキューの中で同じように見えてしまいます。しかし、同時に開けることができるプルリクエストの数が限られる場合、コントリビューターは選択的になり、どの貢献をレビューしてほしいかを優先順位付けする必要があります。その最初の判断は、プルリクエストがあなたに届く前に行われ、対象となるプールが小さくなることで優れた作業を見極めやすくなります。

これは、私たちが再びプルリクエストのレビューをしたくなるようにも役立ちました。誰かが単に 5〜10 の「雑多な」プルリクエストを開いただけではないと知っておくと、それらを見る意欲が湧きやすくなります。今後、この機能はバックログの管理を助け、人々が取り組んでいるものが私たちが本当に必要としているものであることを保証するものになると期待しています。

Nicholas Tindle, AutoGPT

この機能は素晴らしいです。Homebrew では長年、熱心なユーザーがほぼ同じレビューが必要な多くのプルリクエストを投稿するという問題がありました。AI がさらにこれを加速させてしまいました。これにより、外部からの貢献を維持しつつ、メンテナーがより多く貢献できるようになりつつ、ユーザーを私たちが処理できるレベルのプルリクエストに制限(ゲート)することが可能になります。

Mike McQuaid, Homebrew

OpenClaw ではコミュニティから膨大な量のプルリクエストを受け取り、スパム対策のために独自のボットを構築する必要がありました。GitHub が現在、メンテナー向けにすぐに使えるソリューションを開発できたことを非常に嬉しく思います。

Vincent Koc, OpenClaw

作成にかかるコストがレビューにかかるコストを上回った

これらの制限は、エコシステムの変化により特に今、極めて重要です。2023 年 1 月には、開発者たちは GitHub 上で月に約 2500 万件のプルリクエストをマージしていました。現在ではその数は 9000 万件を超え、およそ 3.6 倍の増加となっています。オープンソースで構築する人々は、GitHub の歴史においてこれまで以上に増えています。

ほとんどの貢献は善意に基づいて行われますが、善意に基づく作業でも、ボランティアが対応できる速度よりも速く積み上がってしまうことがあります。2 月に私たちは、オープンソースが独自の「永遠の 9 月」に直面していると記しました。プルリクエスト制限は、次の貢献者を拒絶することなく、メンテナーにその注意の一部を取り戻させるものです。

今後の展開:貢献管理のためのより多くのコントロール機能

プルリクエスト制限は第一歩に過ぎません。同じフィードバックは、その後の取り組みに向けられています。つまり、貢献が流入する方法に対する、より柔軟でより細粒度のコントロールです。

プルリクエストのアーカイブ化(近日公開): リポジトリ管理者は、プルリクエストをアーカイブできるようになります。これにより、低品質またはスパム性の高いプルリクエストをメインのプルリクエストビューから非表示にできます。アーカイブされたプルリクエストは管理者にはアクセス可能ですが、デフォルトリストからはフィルタリングされます。削除ではなくアーカイブを選んだのは意図的なことです。一部の組織では、法的またはコンプライアンス上の理由でプルリクエストを恒久的に削除できない場合があり、多くのメンテナーは文脈のためにそれらを保持したいと考えています。

Issue limits (in development): The controls you now have on pull requests will be applied to issues: per-repository caps on how many open issues a user without write access can have at once, with a bypass list, plus an option to restrict issue creation to collaborators.

Smarter bypass signals (up next): The goal is less manual trust management. Instead of curating a bypass list by hand, you could let contributors clear a limit automatically based on real signals: a previously merged pull request in the repo, account age, or organization membership. That frees maintainers from curating lists by hand and gives them more time to focus on the work itself.

Cross-repository controls (exploring): A per-repository cap helps with repeated activity in one project, but it does nothing when someone opens pull requests across hundreds of repositories at once. We're exploring ways to catch contributors who spray pull requests across multiple repositories, whether through trust signals, rate limiting, or other cross-repository controls.

Thank you

Open source runs on the people who show up every day. To everyone who reviews pull requests late at night, mentors a first-time contributor, triages a backlog, files issues, or tells us where our tools fall short: thank you. You shaped this feature, and your input is critical in helping us decide what comes next. We'll keep building with you.

リポジトリ設定でプルリクエスト制限を試していただき、どこで役立ち、どこで役立たないかをお知らせください。

プルリクエストキューでお会いしましょう。李

本記事「How pull request limits are cutting down the noise」は、最初に The GitHub Blog で公開されました。

原文を表示

More people are contributing to open source than ever, most of them trying to help. The challenge is keeping up with the volume. Creating a pull request has never been easier. Reviewing one still takes a human about as long as it ever did. When great contributions and low-quality noise land in the same queue, the ones that deserve attention are harder to find.

That’s why we’ve introduced pull request limits. It takes on the problem we hear most: too many incoming pull requests, too much low-quality noise, and too few ways to manage the flow.

How it works

A pull request limit sets the maximum number of pull requests a user without write access can have open at once in your repository. Hit the limit, and you must close or merge one before opening another. Pull requests opened by Copilot or another AI agent will counts toward your limit. Trusted contributors can be placed on a bypass list, where they are exempted from limits, but don’t gain full contributor access. Draft pull requests will not count towards your limit.

image
image

GitHub already has interaction limits, but those are temporary cooldowns. These new pull request limits are persistent and configurable—giving maintainers the control they told us they were missing.

A cap also changes how contributors behave. When anyone can open a pull request in seconds, a polished change and a rough draft look the same in the queue. But when only a few pull requests can be open at once, a contributor must be selective and prioritize which contributions they want to be reviewed. That first judgment call happens before the pull request reaches you, and a smaller pool makes good work easier to spot.

It’s helped us want to review pull requests again. Knowing that someone hasn’t just opened 5–10 pull requests that are slop makes it much easier to want to look. Going forward we expect it to help us manage our backlog and ensure the things people are working on are the things we need.

Nicholas Tindle, AutoGPT

This feature is great. We’ve had problems on Homebrew for a while with enthusiastic users submitting many pull requests that need near identical review. AI further accelerated it. This allows us to still have outside contribution and maintainers contribute more while gating users to a level of pull requests we can cope with.

Mike McQuaid, Homebrew

At OpenClaw we get a huge volume of pull requests from the community and had to build our own bots for fighting spam. We are super glad GitHub has been able to develop out-of-the-box solutions for maintainers now to manage this volume.

Vincent Koc, OpenClaw

The cost to create outran the cost to review

These limits are especially crucial right now because of a change in the ecosystem. In January 2023, developers merged about 25 million pull requests a month across GitHub. Today that number tops 90 million—a roughly 3.6x increase. More people are building in the open than at any point in GitHub’s history.

Most contributions come in good faith, and even good-faith work can pile up faster than one volunteer can answer. In February, we wrote that open source was hitting its own Eternal September. A pull request limit gives maintainers some of that attention back, without closing the door on the next contributor.

What’s coming next: More controls for managing contributions

Pull request limits are just the first step. The same feedback is pointed straight at what comes after: more flexible, more granular control over how contributions flow in.

Archiving pull requests (shipping soon): Repository admins will be able to archive pull requests, hiding low-quality or spammy pull requests out of the main pull request view. Archived pull requests stay accessible to admins, but can be filtered out of the default list. We chose archive over delete on purpose: some organizations can’t permanently delete pull requests for legal or compliance reasons, and many maintainers want to keep them for context.

Issue limits (in development): The controls you now have on pull requests will be applied to issues: per-repository caps on how many open issues a user without write access can have at once, with a bypass list, plus an option to restrict issue creation to collaborators.

Smarter bypass signals (up next): The goal is less manual trust management. Instead of curating a bypass list by hand, you could let contributors clear a limit automatically based on real signals: a previously merged pull request in the repo, account age, or organization membership. That frees maintainers from curating lists by hand and gives them more time to focus on the work itself.

Cross-repository controls (exploring): A per-repository cap helps with repeated activity in one project, but it does nothing when someone opens pull requests across hundreds of repositories at once. We’re exploring ways to catch contributors who spray pull requests across multiple repositories, whether through trust signals, rate limiting, or other cross-repository controls.

Thank you

Open source runs on the people who show up every day. To everyone who reviews pull requests late at night, mentors a first-time contributor, triages a backlog, files issues, or tells us where our tools fall short: thank you. You shaped this feature, and your input is critical in helping us decide what comes next. We’ll keep building with you.

Try the pull request limit in your repository settings, and tell us where it helps and where it doesn’t.

See you in the pull request queue. 李

The post How pull request limits are cutting down the noise appeared first on The GitHub Blog.

この記事をシェア

関連記事

GitHub Blog★42026年6月18日 04:41

各トークンからより多くを引き出す:Copilot のコンテキスト処理とモデルルーティングの改善方法

GitHub は、Copilot が計画やデバッグなど長期間にわたるエージェントタスクを遂行する際、トークンの使用効率を高めるため、コンテキストの重複削減と用途に応じた適切なモデル選択機能を強化した。

Simon Willison Blog★42026年6月16日 14:20

Fable 5 の輸出規制が米国のサイバー防衛に悪影響を与える

Simon Willison は、Claude Fable 5 が輸出規制により禁止された理由がコード修正だったと確認し、この規制が米国のサイバー防衛を損なっていると指摘した。

GitHub Blog★32026年6月16日 05:15

GitHub Copilot CLI 初心者向け:一般的なスラッシュコマンドの概要

GitHub は、GitHub Copilot CLI の初心者向けシリーズで、スラッシュコマンドの意味や重要性、効率的な使用方法を解説し、モデル切り替えやトークン使用量の確認などのタスクを紹介した。

今日のまとめ

AI日報で今日の重要ニュースをまとめ読み

ニュース一覧に戻る元記事を読む