René's URL Explorer Experiment


Title: fix: surface crawler find_by_purls errors instead of swallowing by Wenxin-Jiang · Pull Request #55 · SocketDev/socket-patch · GitHub

Open Graph Title: fix: surface crawler find_by_purls errors instead of swallowing by Wenxin-Jiang · Pull Request #55 · SocketDev/socket-patch

X Title: fix: surface crawler find_by_purls errors instead of swallowing by Wenxin-Jiang · Pull Request #55 · SocketDev/socket-patch

Description: Summary Replaced all 16 instances of if let Ok(packages) = crawler.find_by_purls(...) with match blocks that log warnings to stderr on error. Applies to both find_packages_for_purls (used by apply) and find_packages_for_rollback (used by rollback). Covers all 8 ecosystems: npm, pypi, cargo, gem, golang, maven, composer, nuget. Outer path-discovery errors (e.g., get_node_modules_paths()) were already handled correctly and left unchanged. Addresses finding HIGH-3 (crawler find_by_purls errors silently swallowed), which feeds into the critical silent-no-op problem when crawler failures reduce the discovered package set to zero. Test plan cargo check -p socket-patch-cli compiles cargo test -p socket-patch-cli passes Manual: corrupt a package.json in node_modules/, run apply — should see warning about failed scan Manual: same with --silent — warning should be suppressed 🤖 Generated with Claude Code

Open Graph Description: Summary Replaced all 16 instances of if let Ok(packages) = crawler.find_by_purls(...) with match blocks that log warnings to stderr on error. Applies to both find_packages_for_purls (used by apply...

X Description: Summary Replaced all 16 instances of if let Ok(packages) = crawler.find_by_purls(...) with match blocks that log warnings to stderr on error. Applies to both find_packages_for_purls (used by apply...

Opengraph URL: https://github.com/SocketDev/socket-patch/pull/55

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6db6154a-44e8-c35b-f3ca-a659613357cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99A0:11B239:E2E968:13F10D0:6A4FE726
html-safe-nonce5a94ea488c30c0c42834d1fa3fd298472de4c81c336f32cf6ed05031effe2d24
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUEwOjExQjIzOTpFMkU5Njg6MTNGMTBEMDo2QTRGRTcyNiIsInZpc2l0b3JfaWQiOiI3MDc5MTA5MTE3ODk0MTkwODg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfcfb589ab26db135d5faca3334b28f0f4bf6d312cfae52db9eaac645c50f2fe8
hovercard-subject-tagpull_request:3483795223
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/SocketDev/socket-patch/pull/55/files
twitter:imagehttps://avatars.githubusercontent.com/u/71545489?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/71545489?s=400&v=4
og:image:altSummary Replaced all 16 instances of if let Ok(packages) = crawler.find_by_purls(...) with match blocks that log warnings to stderr on error. Applies to both find_packages_for_purls (used by apply...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/SocketDev/socket-patch git https://github.com/SocketDev/socket-patch.git
octolytics-dimension-user_id69326764
octolytics-dimension-user_loginSocketDev
octolytics-dimension-repository_id1093661456
octolytics-dimension-repository_nwoSocketDev/socket-patch
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1093661456
octolytics-dimension-repository_network_root_nwoSocketDev/socket-patch
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SocketDev/socket-patch/pull/55/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-patch%2Fpull%2F55%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-patch%2Fpull%2F55%2Ffiles
Sign up https://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=SocketDev%2Fsocket-patch
Reloadhttps://github.com/SocketDev/socket-patch/pull/55/files
Reloadhttps://github.com/SocketDev/socket-patch/pull/55/files
Reloadhttps://github.com/SocketDev/socket-patch/pull/55/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/55/files
SocketDev https://github.com/SocketDev
socket-patchhttps://github.com/SocketDev/socket-patch
Notifications https://github.com/login?return_to=%2FSocketDev%2Fsocket-patch
Fork 0 https://github.com/login?return_to=%2FSocketDev%2Fsocket-patch
Star 3 https://github.com/login?return_to=%2FSocketDev%2Fsocket-patch
Code https://github.com/SocketDev/socket-patch
Issues 1 https://github.com/SocketDev/socket-patch/issues
Pull requests 1 https://github.com/SocketDev/socket-patch/pulls
Actions https://github.com/SocketDev/socket-patch/actions
Models https://github.com/SocketDev/socket-patch/models
Security and quality 0 https://github.com/SocketDev/socket-patch/security
Insights https://github.com/SocketDev/socket-patch/pulse
Code https://github.com/SocketDev/socket-patch
Issues https://github.com/SocketDev/socket-patch/issues
Pull requests https://github.com/SocketDev/socket-patch/pulls
Actions https://github.com/SocketDev/socket-patch/actions
Models https://github.com/SocketDev/socket-patch/models
Security and quality https://github.com/SocketDev/socket-patch/security
Insights https://github.com/SocketDev/socket-patch/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FSocketDev%2Fsocket-patch%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FSocketDev%2Fsocket-patch%2Fissues%2Fnew%2Fchoose
Wenxin Jiang (Wenxin-Jiang)https://github.com/Wenxin-Jiang
mainhttps://github.com/SocketDev/socket-patch/tree/main
fix/crawler-error-surfacinghttps://github.com/SocketDev/socket-patch/tree/fix/crawler-error-surfacing
Conversation 1 https://github.com/SocketDev/socket-patch/pull/55
Commits 1 https://github.com/SocketDev/socket-patch/pull/55/commits
Checks 19 https://github.com/SocketDev/socket-patch/pull/55/checks
Files changed https://github.com/SocketDev/socket-patch/pull/55/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/55/files
fix: surface crawler find_by_purls errors instead of swallowing https://github.com/SocketDev/socket-patch/pull/55/files#top
Show all changes 1 commit https://github.com/SocketDev/socket-patch/pull/55/files
6b8234a fix: surface find_by_purls errors instead of silently swallowing them Wenxin-Jiang Apr 2, 2026 https://github.com/SocketDev/socket-patch/pull/55/commits/6b8234a548cad24274ec4a8fa7fa13359055b499
Clear filters https://github.com/SocketDev/socket-patch/pull/55/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/55/files
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/55/files
crates/socket-patch-cli/src/ecosystem_dispatch.rshttps://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
View file https://github.com/SocketDev/socket-patch/blob/6b8234a548cad24274ec4a8fa7fa13359055b499/crates/socket-patch-cli/src/ecosystem_dispatch.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-patch/pull/55/{{ revealButtonHref }}
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
https://github.com/SocketDev/socket-patch/pull/55/files#diff-b4621fd545be96d70879527496ba97342c59039dfb7683fbf42fdd3396dce794
Please reload this pagehttps://github.com/SocketDev/socket-patch/pull/55/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.