René's URL Explorer Experiment


Title: fix: guard against None import names causing AttributeError crashes by MorningStar0709 · Pull Request #1291 · CodeGraphContext/CodeGraphContext · GitHub

Open Graph Title: fix: guard against None import names causing AttributeError crashes by MorningStar0709 · Pull Request #1291 · CodeGraphContext/CodeGraphContext

X Title: fix: guard against None import names causing AttributeError crashes by MorningStar0709 · Pull Request #1291 · CodeGraphContext/CodeGraphContext

Description: An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants. - fix: guard against None import names causing AttributeError crashes by MorningStar0709 · Pull Request #1291 · CodeGraphContext/CodeGraphContext

Open Graph Description: Summary When imp["name"] is None (which can occur with certain relative/star/aliased import forms produced by tree-sitter parsers), calling .split() or .endswith() on it raises AttributeE...

X Description: Summary When imp["name"] is None (which can occur with certain relative/star/aliased import forms produced by tree-sitter parsers), calling .split() or .endswith() on it raises At...

Opengraph URL: https://github.com/CodeGraphContext/CodeGraphContext/pull/1291

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:cabfb1b6-eb3b-3041-3d27-d7eab39e2890
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC704:3A4875:3FE113:56A820:6B00C9D7
html-safe-noncef44825fc449724817af8f23592a044823386ba743cd8610c2f78d7fc58a6be8b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzA0OjNBNDg3NTozRkUxMTM6NTZBODIwOjZCMDBDOUQ3IiwidmlzaXRvcl9pZCI6Ijk2Nzc5NzYxODM5NjY3ODYxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac181a76c69bcc7ab202a1517f03f2d7e98e5302142cadd8733f7b6fcc7f85a8a5
hovercard-subject-tagpull_request:3902366611
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/CodeGraphContext/CodeGraphContext/pull/1291
twitter:imagehttps://opengraph.githubassets.com/5903b4ea60c2631719bf6a371fa1f767169b6b22b452e3300351a808434d5cde/CodeGraphContext/CodeGraphContext/pull/1291
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5903b4ea60c2631719bf6a371fa1f767169b6b22b452e3300351a808434d5cde/CodeGraphContext/CodeGraphContext/pull/1291
og:image:altSummary When imp["name"] is None (which can occur with certain relative/star/aliased import forms produced by tree-sitter parsers), calling .split() or .endswith() on it raises AttributeE...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMorningStar0709
hostnamegithub.com
expected-hostnamegithub.com
None98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4
turbo-cache-controlno-cache
go-importgithub.com/CodeGraphContext/CodeGraphContext git https://github.com/CodeGraphContext/CodeGraphContext.git
octolytics-dimension-user_id254547472
octolytics-dimension-user_loginCodeGraphContext
octolytics-dimension-repository_id1039237865
octolytics-dimension-repository_nwoCodeGraphContext/CodeGraphContext
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1039237865
octolytics-dimension-repository_network_root_nwoCodeGraphContext/CodeGraphContext
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
releaseef013399cf0a3c324bea644a685d7c1e0f06b5b7
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodeGraphContext%2FCodeGraphContext%2Fpull%2F1291
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%2FCodeGraphContext%2FCodeGraphContext%2Fpull%2F1291
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=CodeGraphContext%2FCodeGraphContext
Reloadhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
Reloadhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
Reloadhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
CodeGraphContexthttps://github.com/CodeGraphContext
CodeGraphContexthttps://github.com/CodeGraphContext/CodeGraphContext
Codehttps://github.com/CodeGraphContext/CodeGraphContext
Issues82 (82)https://github.com/CodeGraphContext/CodeGraphContext/issues
Pull requests14 (14)https://github.com/CodeGraphContext/CodeGraphContext/pulls
Discussionshttps://github.com/CodeGraphContext/CodeGraphContext/discussions
Actionshttps://github.com/CodeGraphContext/CodeGraphContext/actions
Projectshttps://github.com/CodeGraphContext/CodeGraphContext/projects
Wikihttps://github.com/CodeGraphContext/CodeGraphContext/wiki
Security and qualityhttps://github.com/CodeGraphContext/CodeGraphContext/security
Insightshttps://github.com/CodeGraphContext/CodeGraphContext/insights
https://github.com/CodeGraphContext/CodeGraphContext
MorningStar0709https://github.com/MorningStar0709
CodeGraphContext:mainhttps://github.com/CodeGraphContext/CodeGraphContext/tree/main
MorningStar0709:fix/none-guard-import-name-splithttps://github.com/MorningStar0709/CodeGraphContext/tree/fix/none-guard-import-name-split
Conversationhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
Commits1 (1)https://github.com/CodeGraphContext/CodeGraphContext/pull/1291/commits
Checkshttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291/checks
Files changedhttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291/files
fix: guard against None import names causing AttributeError crasheshttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291#top
MorningStar0709https://github.com/MorningStar0709
CodeGraphContext:mainhttps://github.com/CodeGraphContext/CodeGraphContext/tree/main
MorningStar0709:fix/none-guard-import-name-splithttps://github.com/MorningStar0709/CodeGraphContext/tree/fix/none-guard-import-name-split
https://github.com/MorningStar0709
MorningStar0709https://github.com/MorningStar0709
Jun 20, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#issue-4705146766
Bug: 'cgc watch' incremental indexing failing with "AttributeError: 'NoneType' object has no attribute 'split'" #1272https://github.com/CodeGraphContext/CodeGraphContext/issues/1272
Indexing crashes: 'NoneType' object has no attribute 'split' in _resolve_decorator_path when a decorator's import resolves to None #1285https://github.com/CodeGraphContext/CodeGraphContext/issues/1285
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
https://github.com/MorningStar0709
fix: guard against None import names in split/endswith callshttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291/commits/7f4e4577ad81411e73f80630e3d091d98f22707a
7f4e457https://github.com/CodeGraphContext/CodeGraphContext/pull/1291/commits/7f4e4577ad81411e73f80630e3d091d98f22707a
CodeGraphContext#1272https://github.com/CodeGraphContext/CodeGraphContext/issues/1272
CodeGraphContext#1285https://github.com/CodeGraphContext/CodeGraphContext/issues/1285
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
CGC Progress Boardhttps://github.com/orgs/CodeGraphContext/projects/1
Jun 20, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#event-26980218014
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
CGC Progress Boardhttps://github.com/orgs/CodeGraphContext/projects/1
Jun 20, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#event-26980217825
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jun 20, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#issuecomment-4756490861
@MorningStar0709https://github.com/MorningStar0709
Vercelhttps://vercel.com
authorize ithttps://vercel.com/git/authorize?team=shashankss1205's%20projects&slug=shashankss1205s-projects&teamId=team_9I9MKKutLuAAxf229Gy8WENF&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%227f4e4577ad81411e73f80630e3d091d98f22707a%22%7D%2C%22id%22%3A%22QmVXyBrTH5TxhzrGLMgK8zERFiobQA5G7WdScVtWwuSSmu%22%2C%22org%22%3A%22CodeGraphContext%22%2C%22prId%22%3A1291%2C%22repo%22%3A%22CodeGraphContext%22%7D
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
Indexing crashes: 'NoneType' object has no attribute 'split' in _resolve_decorator_path when a decorator's import resolves to None #1285 https://github.com/CodeGraphContext/CodeGraphContext/issues/1285
Bug: 'cgc watch' incremental indexing failing with "AttributeError: 'NoneType' object has no attribute 'split'" #1272 https://github.com/CodeGraphContext/CodeGraphContext/issues/1272
https://github.com/Shashankss1205
Shashankss1205https://github.com/Shashankss1205
Jul 25, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#issuecomment-5080717446
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
https://github.com/MorningStar0709
MorningStar0709https://github.com/MorningStar0709
Jul 26, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#issuecomment-5081811833
#1335https://github.com/CodeGraphContext/CodeGraphContext/pull/1335
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
https://github.com/MorningStar0709
MorningStar0709https://github.com/MorningStar0709
Jul 26, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#event-28490406566
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
CGC Progress Boardhttps://github.com/orgs/CodeGraphContext/projects/1
Jul 26, 2026https://github.com/CodeGraphContext/CodeGraphContext/pull/1291#event-28490407785
https://github.co/hiddenchars
https://github.com/CodeGraphContext/CodeGraphContext/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%2FCodeGraphContext%2FCodeGraphContext%2Fpull%2F1291
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
CGC Progress Board https://github.com/orgs/CodeGraphContext/projects/1
Indexing crashes: 'NoneType' object has no attribute 'split' in _resolve_decorator_path when a decorator's import resolves to None https://github.com/CodeGraphContext/CodeGraphContext/issues/1285
Bug: 'cgc watch' incremental indexing failing with "AttributeError: 'NoneType' object has no attribute 'split'" https://github.com/CodeGraphContext/CodeGraphContext/issues/1272
Please reload this pagehttps://github.com/CodeGraphContext/CodeGraphContext/pull/1291
https://github.com/MorningStar0709
https://github.com/Shashankss1205
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.