René's URL Explorer Experiment


Title: fix(types): defer the import-time model rebuilds that cost adcp.client 560 MiB RSS by bokelley · Pull Request #1704 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: fix(types): defer the import-time model rebuilds that cost adcp.client 560 MiB RSS by bokelley · Pull Request #1704 · adcontextprotocol/adcp-client-python

X Title: fix(types): defer the import-time model rebuilds that cost adcp.client 560 MiB RSS by bokelley · Pull Request #1704 · adcontextprotocol/adcp-client-python

Description: A python library to interact with adcp servers. Contribute to adcontextprotocol/adcp-client-python development by creating an account on GitHub.

Open Graph Description: Fixes #1694 Why Importing adcp.client, adcp.server, adcp.decisioning or adcp.compat.versions realizes the type surface through adcp.types._eager, and on 9.3.0 that peaked at ~495 MiB RSS (~560 MiB ...

X Description: Fixes #1694 Why Importing adcp.client, adcp.server, adcp.decisioning or adcp.compat.versions realizes the type surface through adcp.types._eager, and on 9.3.0 that peaked at ~495 MiB RSS (~560 MiB ...

Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/pull/1704

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(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:14ca5340-3437-5d5f-8ae0-d1da34dc501a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD598:76F02:ACD85A:DFEAC7:6B00E93E
html-safe-nonce91043a907debd15515348a0652b164a80e021ee6722c28dea2db8b68e0d43940
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTk4Ojc2RjAyOkFDRDg1QTpERkVBQzc6NkIwMEU5M0UiLCJ2aXNpdG9yX2lkIjoiNjk4ODc1MDkxMzAzMjc0MzIzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac51fdc4ca152e4204a3fc2c1d07dfa7486abf3d60b470b8ef3874cb0b787341a2
hovercard-subject-tagpull_request:5073858633
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
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/adcontextprotocol/adcp-client-python/pull/1704
twitter:imagehttps://opengraph.githubassets.com/4f466da1a03b18c3ac3163611b1c996774a790318db0ac3d0cf350788efa0d8a/adcontextprotocol/adcp-client-python/pull/1704
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4f466da1a03b18c3ac3163611b1c996774a790318db0ac3d0cf350788efa0d8a/adcontextprotocol/adcp-client-python/pull/1704
og:image:altFixes #1694 Why Importing adcp.client, adcp.server, adcp.decisioning or adcp.compat.versions realizes the type surface through adcp.types._eager, and on 9.3.0 that peaked at ~495 MiB RSS (~560 MiB ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebokelley
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-cache
go-importgithub.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git
octolytics-dimension-user_id221690821
octolytics-dimension-user_loginadcontextprotocol
octolytics-dimension-repository_id1090305973
octolytics-dimension-repository_nwoadcontextprotocol/adcp-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1090305973
octolytics-dimension-repository_network_root_nwoadcontextprotocol/adcp-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/adcontextprotocol/adcp-client-python/pull/1704#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F1704
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%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F1704
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&source=header-repo&source_repo=adcontextprotocol%2Fadcp-client-python
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
adcontextprotocolhttps://github.com/adcontextprotocol
adcp-client-pythonhttps://github.com/adcontextprotocol/adcp-client-python
Codehttps://github.com/adcontextprotocol/adcp-client-python
Issues44 (44)https://github.com/adcontextprotocol/adcp-client-python/issues
Pull requests12 (12)https://github.com/adcontextprotocol/adcp-client-python/pulls
Actionshttps://github.com/adcontextprotocol/adcp-client-python/actions
Projectshttps://github.com/adcontextprotocol/adcp-client-python/projects
Security and qualityhttps://github.com/adcontextprotocol/adcp-client-python/security
Insightshttps://github.com/adcontextprotocol/adcp-client-python/insights
https://github.com/adcontextprotocol/adcp-client-python
bokelleyhttps://github.com/bokelley
mainhttps://github.com/adcontextprotocol/adcp-client-python/tree/main
conductor/1694-import-rss-520-mib-9x-10https://github.com/adcontextprotocol/adcp-client-python/tree/conductor/1694-import-rss-520-mib-9x-10
Conversationhttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
Commits1 (1)https://github.com/adcontextprotocol/adcp-client-python/pull/1704/commits
Checkshttps://github.com/adcontextprotocol/adcp-client-python/pull/1704/checks
Files changedhttps://github.com/adcontextprotocol/adcp-client-python/pull/1704/files
fix(types): defer the import-time model rebuilds that cost adcp.client 560 MiB RSShttps://github.com/adcontextprotocol/adcp-client-python/pull/1704#top
bokelleyhttps://github.com/bokelley
mainhttps://github.com/adcontextprotocol/adcp-client-python/tree/main
conductor/1694-import-rss-520-mib-9x-10https://github.com/adcontextprotocol/adcp-client-python/tree/conductor/1694-import-rss-520-mib-9x-10
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
Oct 29, 2026https://github.com/adcontextprotocol/adcp-client-python/pull/1704#issue-6106511229
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
#1310https://github.com/adcontextprotocol/adcp-client-python/issues/1310
#1339https://github.com/adcontextprotocol/adcp-client-python/pull/1339
#1619https://github.com/adcontextprotocol/adcp-client-python/issues/1619
fix(types): defer unresolved forward refs in canonical subclasses #1690https://github.com/adcontextprotocol/adcp-client-python/pull/1690
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
KonstantinMirinhttps://github.com/KonstantinMirin
rachitm022https://github.com/rachitm022
code ownershttps://github.com/adcontextprotocol/adcp-client-python/blob/684914ff14afa38f19cf0fb834381cc01ef45485/.github/CODEOWNERS#L3
October 29, 2026 18:56https://github.com/adcontextprotocol/adcp-client-python/pull/1704#event-34622049176
https://github.com/apps/aao-secretariat
aao-secretariathttps://github.com/apps/aao-secretariat
Oct 29, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5703442436
View reviewed changes https://github.com/adcontextprotocol/adcp-client-python/pull/1704/files
aao-secretariathttps://github.com/apps/aao-secretariat
https://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5703442436
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/bokelley
https://github.com/claude
fix(types): defer the import-time model rebuilds that cost adcp.clien…https://github.com/adcontextprotocol/adcp-client-python/pull/1704/commits/79ab8ca8b201df14b962ab8dbba6a89caca25114
79ab8cahttps://github.com/adcontextprotocol/adcp-client-python/pull/1704/commits/79ab8ca8b201df14b962ab8dbba6a89caca25114
#1690https://github.com/adcontextprotocol/adcp-client-python/pull/1690
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
aao-secretariat[bot]https://github.com/apps/aao-secretariat
stale reviewhttps://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5703442436
79ab8cahttps://github.com/adcontextprotocol/adcp-client-python/commit/79ab8ca8b201df14b962ab8dbba6a89caca25114
October 29, 2026 20:08https://github.com/adcontextprotocol/adcp-client-python/pull/1704#event-34628001989
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
force-pushedhttps://github.com/adcontextprotocol/adcp-client-python/compare/a980761f2b07def78920d08f4c2dbbae1983a938..79ab8ca8b201df14b962ab8dbba6a89caca25114
a980761https://github.com/adcontextprotocol/adcp-client-python/commit/a980761f2b07def78920d08f4c2dbbae1983a938
79ab8cahttps://github.com/adcontextprotocol/adcp-client-python/commit/79ab8ca8b201df14b962ab8dbba6a89caca25114
Compare https://github.com/adcontextprotocol/adcp-client-python/compare/a980761f2b07def78920d08f4c2dbbae1983a938..79ab8ca8b201df14b962ab8dbba6a89caca25114
October 29, 2026 20:08https://github.com/adcontextprotocol/adcp-client-python/pull/1704#event-34628002429
bokelleyhttps://github.com/bokelley
Oct 29, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#ref-commit-f9b9b03
https://github.com/bokelley
https://github.com/claude
fix(types): defer the import-time model rebuilds that cost adcp.clien…https://github.com/adcontextprotocol/adcp-client-python/commit/f9b9b03792cb274c079647b72ad3e1e2ac59eb33
f9b9b03https://github.com/adcontextprotocol/adcp-client-python/commit/f9b9b03792cb274c079647b72ad3e1e2ac59eb33
#1613https://github.com/adcontextprotocol/adcp-client-python/issues/1613
#1704https://github.com/adcontextprotocol/adcp-client-python/pull/1704
#1690https://github.com/adcontextprotocol/adcp-client-python/pull/1690
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
#1704https://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/apps/aao-secretariat
aao-secretariathttps://github.com/apps/aao-secretariat
Oct 29, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5704373502
View reviewed changes https://github.com/adcontextprotocol/adcp-client-python/pull/1704/files/79ab8ca8b201df14b962ab8dbba6a89caca25114
aao-secretariathttps://github.com/apps/aao-secretariat
https://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5704373502
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/apps/aao-secretariat
aao-secretariathttps://github.com/apps/aao-secretariat
Oct 29, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5704375367
View reviewed changes https://github.com/adcontextprotocol/adcp-client-python/pull/1704/files/79ab8ca8b201df14b962ab8dbba6a89caca25114
aao-secretariathttps://github.com/apps/aao-secretariat
https://github.com/adcontextprotocol/adcp-client-python/pull/1704#pullrequestreview-5704375367
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
aac52cahttps://github.com/adcontextprotocol/adcp-client-python/commit/aac52cac66ecae2d1c2c4e11be23294335a3edd8
Oct 29, 2026https://github.com/adcontextprotocol/adcp-client-python/pull/1704#event-34633430538
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
October 29, 2026 21:16https://github.com/adcontextprotocol/adcp-client-python/pull/1704#event-34633434074
fix(types): defer the import-time model rebuilds that cost adcp.client 590 MiB RSS #1713 https://github.com/adcontextprotocol/adcp-client-python/pull/1713
fix(types): defer unresolved forward refs in canonical subclasses #1690 https://github.com/adcontextprotocol/adcp-client-python/pull/1690
https://github.com/apps/aao-ipr-bot
aao-ipr-bothttps://github.com/apps/aao-ipr-bot
Oct 29, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#ref-pullrequest-6108670823
chore(main): release 9.4.0 #1714 https://github.com/adcontextprotocol/adcp-client-python/pull/1714
bokelleyhttps://github.com/bokelley
Oct 29, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#ref-commit-ab39d63
https://github.com/bokelley
https://github.com/claude
fix(types): defer the import-time model rebuilds that cost adcp.clien…https://github.com/adcontextprotocol/adcp-client-python/commit/ab39d63e0333f94fb6879a8419e6680fdf4ccfb4
ab39d63https://github.com/adcontextprotocol/adcp-client-python/commit/ab39d63e0333f94fb6879a8419e6680fdf4ccfb4
#1713https://github.com/adcontextprotocol/adcp-client-python/pull/1713
#1613https://github.com/adcontextprotocol/adcp-client-python/issues/1613
#1704https://github.com/adcontextprotocol/adcp-client-python/pull/1704
#1690https://github.com/adcontextprotocol/adcp-client-python/pull/1690
#1694https://github.com/adcontextprotocol/adcp-client-python/issues/1694
#1704https://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
Nov 8, 2026 https://github.com/adcontextprotocol/adcp-client-python/pull/1704#ref-pullrequest-6266195704
chore: merge main into next through 9.6.1 #1863 https://github.com/adcontextprotocol/adcp-client-python/pull/1863
https://github.co/hiddenchars
https://github.com/adcontextprotocol/adcp-client-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F1704
https://github.com/apps/aao-secretariat
aao-secretariat[bot] https://github.com/apps/aao-secretariat
https://github.com/adcontextprotocol/adcp-client-python/pull/1704/files/79ab8ca8b201df14b962ab8dbba6a89caca25114
https://github.com/KonstantinMirin
KonstantinMirin https://github.com/KonstantinMirin
https://github.com/rachitm022
rachitm022 https://github.com/rachitm022
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
Importing adcp.client / adcp.server costs ~520 MiB RSS on 9.x (3.4x 6.6): adcp.types._eager loads the full type surface https://github.com/adcontextprotocol/adcp-client-python/issues/1694
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/1704
https://github.com/bokelley
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.