René's URL Explorer Experiment


Title: Gate draft PRs too and rewrite the auto-close comment by maxisbey · Pull Request #3378 · modelcontextprotocol/python-sdk · GitHub

Open Graph Title: Gate draft PRs too and rewrite the auto-close comment by maxisbey · Pull Request #3378 · modelcontextprotocol/python-sdk

X Title: Gate draft PRs too and rewrite the auto-close comment by maxisbey · Pull Request #3378 · modelcontextprotocol/python-sdk

Description: Follow-up to #3291. Two changes to the PR intake gate: Drafts are gated too. The gate skipped drafts until they were marked ready for review, which meant an unlinked PR could sit open indefinitely as a draft. Drafts now go through the same rule as everything else. The ready_for_review trigger stays so drafts opened before this change are still evaluated when they flip. The auto-close comment is rewritten. The old text implied the PR would be reopened ("this one will be reopened", "nothing more you need to do") and packed everything into two dense paragraphs. The new one says what happened and why in one sentence, lists what the author can actually do for each situation (already assigned / no issue yet / issue exists but not assigned), and is upfront that review capacity for community PRs is very limited and most auto-closed PRs stay closed. When the PR is a draft, the opener adds one sentence explaining why it's closed before being marked ready (so the author doesn't put more time in only to have it closed then). Motivation and Context Drafts were being used to keep unlinked PRs visible past the gate, and the closing comment was setting expectations we can't meet. How Has This Been Tested? node --test .github/scripts/pr_intake_gate.test.js — the two draft scenarios now expect a close; 29/29 pass. Both comment variants rendered and read through by hand. Breaking Changes None for SDK users. External draft PRs without an assigned, linked issue are now closed on open/edit rather than on ready-for-review. Types of changes Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to change) Documentation update Repository automation Checklist I have read the MCP Documentation My code follows the repository's style guidelines New and existing tests pass locally I have added appropriate error handling I have added or updated documentation as needed Additional context Already-closed PRs keep the old comment until their next gate event (edit, assignment, label change). Currently-open external drafts are evaluated on their next event, or by hand with gh workflow run require-linked-issue.yml -f pr_number=N. AI Disclaimer

Open Graph Description: Follow-up to #3291. Two changes to the PR intake gate: Drafts are gated too. The gate skipped drafts until they were marked ready for review, which meant an unlinked PR could sit open indefinitely ...

X Description: Follow-up to #3291. Two changes to the PR intake gate: Drafts are gated too. The gate skipped drafts until they were marked ready for review, which meant an unlinked PR could sit open indefinitely ...

Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/pull/3378

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0affc074-f52f-015b-0d9b-c4ab187d8c78
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id82AE:2270F4:4C2B71:67114D:6B00CD9D
html-safe-nonce4db0de18ab767f20fedaffcaa543071246f310a95f90440d8230a281697b4f26
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkFFOjIyNzBGNDo0QzJCNzE6NjcxMTREOjZCMDBDRDlEIiwidmlzaXRvcl9pZCI6IjM1NzY1MjU0NTM2NTA4NzM3NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1508f95e310e3f32b32107db2072231b8876d4f6ca6f6d6d7b9f35211848eb04
hovercard-subject-tagpull_request:4351125076
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/python-sdk/pull/3378/files
twitter:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/224885523?s=400&v=4
og:image:altFollow-up to #3291. Two changes to the PR intake gate: Drafts are gated too. The gate skipped drafts until they were marked ready for review, which meant an unlinked PR could sit open indefinitely ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862584018
octolytics-dimension-repository_nwomodelcontextprotocol/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862584018
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/python-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3378%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fpython-sdk%2Fpull%2F3378%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fpython-sdk
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
Reloadhttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
modelcontextprotocolhttps://github.com/modelcontextprotocol
python-sdkhttps://github.com/modelcontextprotocol/python-sdk
Codehttps://github.com/modelcontextprotocol/python-sdk
Issues308 (308)https://github.com/modelcontextprotocol/python-sdk/issues
Pull requests112 (112)https://github.com/modelcontextprotocol/python-sdk/pulls
Actionshttps://github.com/modelcontextprotocol/python-sdk/actions
Projectshttps://github.com/modelcontextprotocol/python-sdk/projects
Security and quality12 (12)https://github.com/modelcontextprotocol/python-sdk/security
Insightshttps://github.com/modelcontextprotocol/python-sdk/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fpython-sdk%2Fissues%2Fnew%2Fchoose
maxisbeyhttps://github.com/maxisbey
mainhttps://github.com/modelcontextprotocol/python-sdk/tree/main
gate-draftshttps://github.com/modelcontextprotocol/python-sdk/tree/gate-drafts
Conversation 13 https://github.com/modelcontextprotocol/python-sdk/pull/3378
Commits 4 https://github.com/modelcontextprotocol/python-sdk/pull/3378/commits
Checks 36 https://github.com/modelcontextprotocol/python-sdk/pull/3378/checks
Files changed 3 https://github.com/modelcontextprotocol/python-sdk/pull/3378/files
Gate draft PRs too and rewrite the auto-close comment https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#top
Show all changes 4 commits https://github.com/modelcontextprotocol/python-sdk/pull/3378/files
b3a5054 Gate draft PRs too and rewrite the auto-close comment maxisbey Aug 24, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3378/commits/b3a50545897ed528808df48c6860710ab923d6ba
4b53405 Tell draft authors why their PR is closed before it's marked ready maxisbey Aug 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3378/commits/4b53405bf9ed6da281dbdb19612384591e77449a
512ac39 Say "open issue" in the no-link comment maxisbey Aug 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3378/commits/512ac3987f7ab8b04e922a10465f8ba0afb94202
ccd46b7 Leave CONTRIBUTING.md unchanged maxisbey Aug 26, 2026 https://github.com/modelcontextprotocol/python-sdk/pull/3378/commits/ccd46b7d4f3f3c5bd9494b5967801d89a86c68f4
Clear filters https://github.com/modelcontextprotocol/python-sdk/pull/3378/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
pr_intake_gate.js https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
pr_intake_gate.test.js https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
require-linked-issue.yml https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-911f1848182e5efbcaede0af0b9a3e8ee872e45b0434122dc044a0147b4fe201
.github/scripts/pr_intake_gate.jshttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
View file https://github.com/modelcontextprotocol/python-sdk/blob/ccd46b7d4f3f3c5bd9494b5967801d89a86c68f4/.github/scripts/pr_intake_gate.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3378/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
claudehttps://github.com/apps/claude
Aug 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#r3862036434
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-425568e0b917891b554902d1e1090f6303889fea30d85f311ea35c4c2842975c
.github/scripts/pr_intake_gate.test.jshttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
View file https://github.com/modelcontextprotocol/python-sdk/blob/ccd46b7d4f3f3c5bd9494b5967801d89a86c68f4/.github/scripts/pr_intake_gate.test.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3378/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-ac4c382e65fe89f4fad2eb03a8883a0acfb51d6b331ec6b2b79c5bdf2f4670ed
.github/workflows/require-linked-issue.ymlhttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-911f1848182e5efbcaede0af0b9a3e8ee872e45b0434122dc044a0147b4fe201
View file https://github.com/modelcontextprotocol/python-sdk/blob/ccd46b7d4f3f3c5bd9494b5967801d89a86c68f4/.github/workflows/require-linked-issue.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/python-sdk/pull/3378/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-911f1848182e5efbcaede0af0b9a3e8ee872e45b0434122dc044a0147b4fe201
claudehttps://github.com/apps/claude
Aug 26, 2026https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#r3862036444
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ccd46b7https://github.com/modelcontextprotocol/python-sdk/commit/ccd46b7d4f3f3c5bd9494b5967801d89a86c68f4
b3a5054https://github.com/modelcontextprotocol/python-sdk/commit/b3a50545897ed528808df48c6860710ab923d6ba
ccd46b7https://github.com/modelcontextprotocol/python-sdk/commit/ccd46b7d4f3f3c5bd9494b5967801d89a86c68f4
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
https://github.com/modelcontextprotocol/python-sdk/pull/3378/files#diff-911f1848182e5efbcaede0af0b9a3e8ee872e45b0434122dc044a0147b4fe201
Please reload this pagehttps://github.com/modelcontextprotocol/python-sdk/pull/3378/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.