René's URL Explorer Experiment


Title: Consolidate coana launcher env vars into SOCKET_CLI_COANA_LAUNCHER by mtorp · Pull Request #233 · SocketDev/socket-python-cli · GitHub

Open Graph Title: Consolidate coana launcher env vars into SOCKET_CLI_COANA_LAUNCHER by mtorp · Pull Request #233 · SocketDev/socket-python-cli

X Title: Consolidate coana launcher env vars into SOCKET_CLI_COANA_LAUNCHER by mtorp · Pull Request #233 · SocketDev/socket-python-cli

Description: Motivation Follow-up from the review thread on #230 (#230 (comment)): the two coana launcher toggles introduced there (SOCKET_CLI_COANA_FORCE_NPM_INSTALL and SOCKET_CLI_COANA_DISABLE_NPM_FALLBACK) are consolidated into a single variable, mirroring the same change landing in the Node CLI (socket-cli, branch martin/env-variable-cleanup). Changes New SOCKET_CLI_COANA_LAUNCHER variable with three values: auto (default / unset) — try npx first, fall back to npm install + node on launcher-level failures (unchanged default behavior). npx — npx only; never fall back (replaces SOCKET_CLI_COANA_DISABLE_NPM_FALLBACK). npm-install — skip npx entirely; always npm install + node (replaces SOCKET_CLI_COANA_FORCE_NPM_INSTALL). Resolution rules (identical to the Node CLI): SOCKET_CLI_COANA_LAUNCHER is stripped/lowercased; a recognized value wins and the legacy vars are ignored entirely. A set-but-unrecognized value logs a warning and behaves as auto (legacy vars ignored here too). When unset/empty, the legacy vars apply: SOCKET_CLI_COANA_FORCE_NPM_INSTALL → npm-install, else SOCKET_CLI_COANA_DISABLE_NPM_FALLBACK → npx, else auto. The legacy variables remain supported for back-compat but are deprecated and no longer documented. SOCKET_CLI_COANA_LOCAL_PATH is untouched. socketsecurity/core/tools/reachability.py: new _resolve_coana_launcher_mode() helper; the npm-install and no-fallback gates now key off the resolved mode. docs/cli-reference.md: the two legacy bullets replaced with the new variable and its three values. tests/unit/test_reachability.py: legacy-var tests kept as back-compat coverage; new tests for npm-install, npx, precedence over legacy vars, and unrecognized-value-as-auto. CHANGELOG.md: 2.4.12 entry. Testing uv run --extra test pytest tests/unit — 345 passed, 2 skipped (pre-existing).

Open Graph Description: Motivation Follow-up from the review thread on #230 (#230 (comment)): the two coana launcher toggles introduced there (SOCKET_CLI_COANA_FORCE_NPM_INSTALL and SOCKET_CLI_COANA_DISABLE_NPM_FALLBACK) ...

X Description: Motivation Follow-up from the review thread on #230 (#230 (comment)): the two coana launcher toggles introduced there (SOCKET_CLI_COANA_FORCE_NPM_INSTALL and SOCKET_CLI_COANA_DISABLE_NPM_FALLBACK) ...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c1141a62-3b8e-1939-cd32-558c4d2b71e7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD380:B6C89:3756107:4BFECBB:6A4F370C
html-safe-nonce1217d444e94bdefa733e236e3aca9fd029b68b71bd3cd73a3879d9f8a98649ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzgwOkI2Qzg5OjM3NTYxMDc6NEJGRUNCQjo2QTRGMzcwQyIsInZpc2l0b3JfaWQiOiIyMTY5MzYxOTYwMjY2NzI3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3cf9bd5c2fa5ab6d8ec2972224a4221a37a30c51cb670fc6222892c7bb399659
hovercard-subject-tagpull_request:3839019492
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-python-cli/pull/233/files
twitter:imagehttps://avatars.githubusercontent.com/u/5579277?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5579277?s=400&v=4
og:image:altMotivation Follow-up from the review thread on #230 (#230 (comment)): the two coana launcher toggles introduced there (SOCKET_CLI_COANA_FORCE_NPM_INSTALL and SOCKET_CLI_COANA_DISABLE_NPM_FALLBACK) ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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/233/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSocketDev%2Fsocket-python-cli%2Fpull%2F233%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-python-cli%2Fpull%2F233%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-python-cli
Reloadhttps://github.com/SocketDev/socket-python-cli/pull/233/files
Reloadhttps://github.com/SocketDev/socket-python-cli/pull/233/files
Reloadhttps://github.com/SocketDev/socket-python-cli/pull/233/files
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/233/files
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
Sign up for GitHub https://github.com/signup?return_to=%2FSocketDev%2Fsocket-python-cli%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-python-cli%2Fissues%2Fnew%2Fchoose
Martin Torp (mtorp)https://github.com/mtorp
mainhttps://github.com/SocketDev/socket-python-cli/tree/main
martin/env-variable-cleanuphttps://github.com/SocketDev/socket-python-cli/tree/martin/env-variable-cleanup
Conversation 3 https://github.com/SocketDev/socket-python-cli/pull/233
Commits 2 https://github.com/SocketDev/socket-python-cli/pull/233/commits
Checks 26 https://github.com/SocketDev/socket-python-cli/pull/233/checks
Files changed https://github.com/SocketDev/socket-python-cli/pull/233/files
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/233/files
Consolidate coana launcher env vars into SOCKET_CLI_COANA_LAUNCHER https://github.com/SocketDev/socket-python-cli/pull/233/files#top
Show all changes 2 commits https://github.com/SocketDev/socket-python-cli/pull/233/files
01afb8b Consolidate coana launcher env vars into SOCKET_CLI_COANA_LAUNCHER mtorp Jun 10, 2026 https://github.com/SocketDev/socket-python-cli/pull/233/commits/01afb8bd5cb971781b87253de6cb026ebb013d8b
50f0f22 Merge remote-tracking branch 'origin/main' into martin/env-variable-c… mtorp Jun 19, 2026 https://github.com/SocketDev/socket-python-cli/pull/233/commits/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7
Clear filters https://github.com/SocketDev/socket-python-cli/pull/233/files
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/233/files
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/233/files
CHANGELOG.md https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
cli-reference.md https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-d5d8360d1a358f2af4bbafbf521fa1a56bdd0b1bdf9bb397244d3bd650e7dd01
pyproject.toml https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
__init__.py https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-9ae7a3b3f6a847c0c7bbe145ba187b0f9a0cfd2e1316ab84d135c13830934814
reachability.py https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-2d3f886fbe802447342eae99ca3fa81b8dec7b11b237522d3f19ee8a52a816c3
test_reachability.py https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-0a132293c0ac158b51a56498f1965343039e98bea7eef36753f0bd04d55f5a94
uv.lock https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
CHANGELOG.mdhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-python-cli/pull/233/{{ revealButtonHref }}
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
docs/cli-reference.mdhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-d5d8360d1a358f2af4bbafbf521fa1a56bdd0b1bdf9bb397244d3bd650e7dd01
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/docs/cli-reference.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-python-cli/pull/233/{{ revealButtonHref }}
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-d5d8360d1a358f2af4bbafbf521fa1a56bdd0b1bdf9bb397244d3bd650e7dd01
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-d5d8360d1a358f2af4bbafbf521fa1a56bdd0b1bdf9bb397244d3bd650e7dd01
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
pyproject.tomlhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-python-cli/pull/233/{{ revealButtonHref }}
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
socketsecurity/__init__.pyhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-9ae7a3b3f6a847c0c7bbe145ba187b0f9a0cfd2e1316ab84d135c13830934814
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/socketsecurity/__init__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-python-cli/pull/233/{{ revealButtonHref }}
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
socketsecurity/core/tools/reachability.pyhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-2d3f886fbe802447342eae99ca3fa81b8dec7b11b237522d3f19ee8a52a816c3
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/socketsecurity/core/tools/reachability.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-python-cli/pull/233/{{ revealButtonHref }}
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-2d3f886fbe802447342eae99ca3fa81b8dec7b11b237522d3f19ee8a52a816c3
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-2d3f886fbe802447342eae99ca3fa81b8dec7b11b237522d3f19ee8a52a816c3
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-2d3f886fbe802447342eae99ca3fa81b8dec7b11b237522d3f19ee8a52a816c3
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-2d3f886fbe802447342eae99ca3fa81b8dec7b11b237522d3f19ee8a52a816c3
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
tests/unit/test_reachability.pyhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-0a132293c0ac158b51a56498f1965343039e98bea7eef36753f0bd04d55f5a94
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/tests/unit/test_reachability.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/SocketDev/socket-python-cli/pull/233/{{ revealButtonHref }}
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-0a132293c0ac158b51a56498f1965343039e98bea7eef36753f0bd04d55f5a94
https://github.com/SocketDev/socket-python-cli/pull/233/files#diff-0a132293c0ac158b51a56498f1965343039e98bea7eef36753f0bd04d55f5a94
https://github.com/SocketDev/socket-python-cli/blob/main/.github/CODEOWNERS#L1
uv.lockhttps://github.com/SocketDev/socket-python-cli/pull/233/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
View file https://github.com/SocketDev/socket-python-cli/blob/50f0f22b0e696ef635e0494ff7fe5d770e7d6cf7/uv.lock
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/233/files
Please reload this pagehttps://github.com/SocketDev/socket-python-cli/pull/233/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.