René's URL Explorer Experiment


Title: feat: stream CLI log transcripts and run status to Socket backend by barslev · Pull Request #201 · SocketDev/socket-python-cli · GitHub

Open Graph Title: feat: stream CLI log transcripts and run status to Socket backend by barslev · Pull Request #201 · SocketDev/socket-python-cli

X Title: feat: stream CLI log transcripts and run status to Socket backend by barslev · Pull Request #201 · SocketDev/socket-python-cli

Description: Socket Python CLI to use in integrations. Contribute to SocketDev/socket-python-cli development by creating an account on GitHub.

Open Graph Description: Adds an opt-in streaming log channel between the Python CLI and the Socket backend so the CLI run's terminal status (in_progress / success / failure / cancelled) and a transcript of its own log...

X Description: Adds an opt-in streaming log channel between the Python CLI and the Socket backend so the CLI run's terminal status (in_progress / success / failure / cancelled) and a transcript of its own...

Opengraph URL: https://github.com/SocketDev/socket-python-cli/pull/201

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:643572ff-f1a8-3d57-5fbf-9bd7e24a5c36
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD9C:2C2A02:102F5E7:15D5825:6A4F0976
html-safe-nonced3f704421716457c91aadb24ac781e9aacea43e3e5759f472fffc74c4ee32bc7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDlDOjJDMkEwMjoxMDJGNUU3OjE1RDU4MjU6NkE0RjA5NzYiLCJ2aXNpdG9yX2lkIjoiMjYxNzM3MzA0Nzg1ODg1ODM1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbc0c84b45398a867073aa202cefc976538aa2a2dfc38528979b35e8346448b24
hovercard-subject-tagpull_request:3668049570
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/SocketDev/socket-python-cli/pull/201/commits
twitter:imagehttps://opengraph.githubassets.com/35154976da20ee46a67ff8134ba978b82e4665abd3869701bbab224ecdf7d5a6/SocketDev/socket-python-cli/pull/201
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/35154976da20ee46a67ff8134ba978b82e4665abd3869701bbab224ecdf7d5a6/SocketDev/socket-python-cli/pull/201
og:image:altAdds an opt-in streaming log channel between the Python CLI and the Socket backend so the CLI run's terminal status (in_progress / success / failure / cancelled) and a transcript of its own log...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarslev
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/SocketDev/socket-python-cli git https://github.com/SocketDev/socket-python-cli.git
octolytics-dimension-user_id69326764
octolytics-dimension-user_loginSocketDev
octolytics-dimension-repository_id802230750
octolytics-dimension-repository_nwoSocketDev/socket-python-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id802230750
octolytics-dimension-repository_network_root_nwoSocketDev/socket-python-cli
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SocketDev/socket-python-cli/pull/201/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-python-cli%2Fpull%2F201%2Fcommits
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-python-cli%2Fpull%2F201%2Fcommits
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%2Fcommits&source=header-repo&source_repo=SocketDev%2Fsocket-python-cli
Reloadhttps://github.com/SocketDev/socket-python-cli/pull/201/commits
Reloadhttps://github.com/SocketDev/socket-python-cli/pull/201/commits
Reloadhttps://github.com/SocketDev/socket-python-cli/pull/201/commits
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/201/commits
SocketDev https://github.com/SocketDev
socket-python-clihttps://github.com/SocketDev/socket-python-cli
Notifications https://github.com/login?return_to=%2FSocketDev%2Fsocket-python-cli
Fork 11 https://github.com/login?return_to=%2FSocketDev%2Fsocket-python-cli
Star 9 https://github.com/login?return_to=%2FSocketDev%2Fsocket-python-cli
Code https://github.com/SocketDev/socket-python-cli
Pull requests 5 https://github.com/SocketDev/socket-python-cli/pulls
Actions https://github.com/SocketDev/socket-python-cli/actions
Models https://github.com/SocketDev/socket-python-cli/models
Security and quality 0 https://github.com/SocketDev/socket-python-cli/security
Insights https://github.com/SocketDev/socket-python-cli/pulse
Code https://github.com/SocketDev/socket-python-cli
Pull requests https://github.com/SocketDev/socket-python-cli/pulls
Actions https://github.com/SocketDev/socket-python-cli/actions
Models https://github.com/SocketDev/socket-python-cli/models
Security and quality https://github.com/SocketDev/socket-python-cli/security
Insights https://github.com/SocketDev/socket-python-cli/pulse
Benjamin Barslev Nielsen (barslev)https://github.com/barslev
mainhttps://github.com/SocketDev/socket-python-cli/tree/main
barslev/streaming-logshttps://github.com/SocketDev/socket-python-cli/tree/barslev/streaming-logs
Conversationhttps://github.com/SocketDev/socket-python-cli/pull/201
Commits17 (17)https://github.com/SocketDev/socket-python-cli/pull/201/commits
Checkshttps://github.com/SocketDev/socket-python-cli/pull/201/checks
Files changedhttps://github.com/SocketDev/socket-python-cli/pull/201/files
feat: stream CLI log transcripts and run status to Socket backendhttps://github.com/SocketDev/socket-python-cli/pull/201/commits#top
Benjamin Barslev Nielsen (barslev)https://github.com/barslev
mainhttps://github.com/SocketDev/socket-python-cli/tree/main
barslev/streaming-logshttps://github.com/SocketDev/socket-python-cli/tree/barslev/streaming-logs
feat: stream CLI logs to /python-cli-runs/* lifecycle endpointshttps://github.com/SocketDev/socket-python-cli/pull/201/commits/681f0786724c31c46771fc5e3b50100ad9734ff0
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
681f078https://github.com/SocketDev/socket-python-cli/pull/201/commits/681f0786724c31c46771fc5e3b50100ad9734ff0
https://github.com/SocketDev/socket-python-cli/tree/681f0786724c31c46771fc5e3b50100ad9734ff0
chore: drop per-batch size chunking to match upstream uploaderhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/b07e6213df95455ce058528e5fa2971c2b5e00ec
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
b07e621https://github.com/SocketDev/socket-python-cli/pull/201/commits/b07e6213df95455ce058528e5fa2971c2b5e00ec
https://github.com/SocketDev/socket-python-cli/tree/b07e6213df95455ce058528e5fa2971c2b5e00ec
chore: drop integration field from cli-run register payloadhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/03b61266b9a601c2c771c505731e6f91abafd174
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
03b6126https://github.com/SocketDev/socket-python-cli/pull/201/commits/03b61266b9a601c2c771c505731e6f91abafd174
https://github.com/SocketDev/socket-python-cli/tree/03b61266b9a601c2c771c505731e6f91abafd174
feat: link cli-run to its full_scan via report_run_id on finalizehttps://github.com/SocketDev/socket-python-cli/pull/201/commits/d18795dab70c2625b2aaa7822063d58fd42d5482
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
d18795dhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/d18795dab70c2625b2aaa7822063d58fd42d5482
https://github.com/SocketDev/socket-python-cli/tree/d18795dab70c2625b2aaa7822063d58fd42d5482
chore: bump version to 2.2.87 for streaming logs featurehttps://github.com/SocketDev/socket-python-cli/pull/201/commits/0e8746d75aafd527bd2c9b9673b6cab94653a9c3
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
0e8746dhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/0e8746d75aafd527bd2c9b9673b6cab94653a9c3
https://github.com/SocketDev/socket-python-cli/tree/0e8746d75aafd527bd2c9b9673b6cab94653a9c3
feat: flip streaming logs to opt-in via --upload-logshttps://github.com/SocketDev/socket-python-cli/pull/201/commits/19216cec87be94561f100422ee097a0552c871c0
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
19216cehttps://github.com/SocketDev/socket-python-cli/pull/201/commits/19216cec87be94561f100422ee097a0552c871c0
https://github.com/SocketDev/socket-python-cli/tree/19216cec87be94561f100422ee097a0552c871c0
Merge remote-tracking branch 'origin/main' into barslev/streaming-logshttps://github.com/SocketDev/socket-python-cli/pull/201/commits/27d84d58c727a3e232bea18f0a1c3dce4d8eed15
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
27d84d5https://github.com/SocketDev/socket-python-cli/pull/201/commits/27d84d58c727a3e232bea18f0a1c3dce4d8eed15
https://github.com/SocketDev/socket-python-cli/tree/27d84d58c727a3e232bea18f0a1c3dce4d8eed15
chore: regenerate uv.lock for version 2.4.8https://github.com/SocketDev/socket-python-cli/pull/201/commits/06982fb64ebcfeebc64e6608532339adce6f19a5
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
06982fbhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/06982fb64ebcfeebc64e6608532339adce6f19a5
https://github.com/SocketDev/socket-python-cli/tree/06982fb64ebcfeebc64e6608532339adce6f19a5
feat: add --no-upload-logs to explicitly decline log uploadhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/3b154de8db80c6a0ba42fe107c5e536298558500
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
3b154dehttps://github.com/SocketDev/socket-python-cli/pull/201/commits/3b154de8db80c6a0ba42fe107c5e536298558500
https://github.com/SocketDev/socket-python-cli/tree/3b154de8db80c6a0ba42fe107c5e536298558500
Merge remote-tracking branch 'origin/main' into barslev/streaming-logshttps://github.com/SocketDev/socket-python-cli/pull/201/commits/4c50f11bf0ee5f753d42438a40f809a24150f706
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
4c50f11https://github.com/SocketDev/socket-python-cli/pull/201/commits/4c50f11bf0ee5f753d42438a40f809a24150f706
https://github.com/SocketDev/socket-python-cli/tree/4c50f11bf0ee5f753d42438a40f809a24150f706
chore: bump version to 2.4.9https://github.com/SocketDev/socket-python-cli/pull/201/commits/2b9a9b7b6c60676715251aa959b0672bb696c239
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
2b9a9b7https://github.com/SocketDev/socket-python-cli/pull/201/commits/2b9a9b7b6c60676715251aa959b0672bb696c239
https://github.com/SocketDev/socket-python-cli/tree/2b9a9b7b6c60676715251aa959b0672bb696c239
chore: bump __version__ to 2.4.9https://github.com/SocketDev/socket-python-cli/pull/201/commits/678518c7f5df82689c4a33fcabb6c77e2677c007
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
678518chttps://github.com/SocketDev/socket-python-cli/pull/201/commits/678518c7f5df82689c4a33fcabb6c77e2677c007
https://github.com/SocketDev/socket-python-cli/tree/678518c7f5df82689c4a33fcabb6c77e2677c007
refactor: address PR review on streaming logshttps://github.com/SocketDev/socket-python-cli/pull/201/commits/900f74be3d6a194922dbead63f1903f0f2dc5be8
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
900f74bhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/900f74be3d6a194922dbead63f1903f0f2dc5be8
https://github.com/SocketDev/socket-python-cli/tree/900f74be3d6a194922dbead63f1903f0f2dc5be8
test(log_uploader): cover cross-thread emit during active flushhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/d6300137550e648a0b46211071c913ada5c70345
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
d630013https://github.com/SocketDev/socket-python-cli/pull/201/commits/d6300137550e648a0b46211071c913ada5c70345
https://github.com/SocketDev/socket-python-cli/tree/d6300137550e648a0b46211071c913ada5c70345
refactor(config): use store_const + mutually exclusive group for log-upload flagshttps://github.com/SocketDev/socket-python-cli/pull/201/commits/7561b2f71cb2501b7033c64dad37b1e3b6c18688
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
7561b2fhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/7561b2f71cb2501b7033c64dad37b1e3b6c18688
https://github.com/SocketDev/socket-python-cli/tree/7561b2f71cb2501b7033c64dad37b1e3b6c18688
refactor: push upload_logs tri-state down to the API boundaryhttps://github.com/SocketDev/socket-python-cli/pull/201/commits/a2d57335f5c62c2a52471c942d2eec9fbf01085e
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
a2d5733https://github.com/SocketDev/socket-python-cli/pull/201/commits/a2d57335f5c62c2a52471c942d2eec9fbf01085e
https://github.com/SocketDev/socket-python-cli/tree/a2d57335f5c62c2a52471c942d2eec9fbf01085e
fix(cli_run): broaden register exception handling to honor 'never break the scan'https://github.com/SocketDev/socket-python-cli/pull/201/commits/008999af33f8a8db645a38ee56fac30fb25e259f
https://github.com/barslev
Benjamin Barslev Nielsen (barslev)https://github.com/SocketDev/socket-python-cli/commits?author=barslev
008999ahttps://github.com/SocketDev/socket-python-cli/pull/201/commits/008999af33f8a8db645a38ee56fac30fb25e259f
https://github.com/SocketDev/socket-python-cli/tree/008999af33f8a8db645a38ee56fac30fb25e259f
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.