René's URL Explorer Experiment


Title: Fix Tool Cache for Self Hosted Runners by techman83 · Pull Request #461 · actions/setup-python · GitHub

Open Graph Title: Fix Tool Cache for Self Hosted Runners by techman83 · Pull Request #461 · actions/setup-python

X Title: Fix Tool Cache for Self Hosted Runners by techman83 · Pull Request #461 · actions/setup-python

Description: Description: As of actions/python-versions@f75c0e6 the default location for Linux/Mac/Windows was aligned to default to RUNNER_TOOL_CACHE if AGENT_TOOLCACHE wasn't specified. The change introduced and released in v4.1.0 didn't account for this default being different for self hosted runners and hard coded it to /opt/hostedtoolcache. This change aligns the behaviour of actions/setup-python with action/python-versions, and makes the experience of using the action the same on both hosted + self-hosted runners. I have adjusted the documentation, and made the changes in line with how the project appears to operate, but as shouldn't be much of a surprise, TypeScript isn't my day-to-day language 🙂 and welcome any feedback. If there are test cases that can be added, happy for some guidance, but I didn't see any with the commit that changed this behaviour. From my manual testing, both hosted + self-hosted work as I would expect. Hosted Linux Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.11.0-beta.4/x64/lib/python3.11/site-packages (58.1.0) Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.11.0-beta.4/x64/lib/python3.11/site-packages (22.0.4)` Hosted Windows Requirement already satisfied: setuptools in c:\hostedtoolcache\windows\python\3.11.0-beta.4\x64\lib\site-packages (58.1.0) Requirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.11.0-beta.4\x64\lib\site-packages (22.0.4) Requirement already satisfied: pip in c:\hostedtoolcache\windows\python\3.11.0-beta.4\x64\lib\site-packages (22.0.4) Hosted Mac Requirement already satisfied: setuptools in /Users/runner/hostedtoolcache/Python/3.11.0-beta.4/x64/lib/python3.11/site-packages (58.1.0) Requirement already satisfied: pip in /Users/runner/hostedtoolcache/Python/3.11.0-beta.4/x64/lib/python3.11/site-packages (22.0.4) Self-Hosted Linux Requirement already satisfied: setuptools in /home/actions/actions-runner/_work/_tool/Python/3.11.0-beta.4/x64/lib/python3.11/site-packages (58.1.0) Requirement already satisfied: pip in /home/actions/actions-runner/_work/_tool/Python/3.11.0-beta.4/x64/lib/python3.11/site-packages (22.0.4) Related issue: Fixes #459 Check list: Mark if documentation changes are required. Mark if tests were added or updated to cover the changes.

Open Graph Description: Description: As of actions/python-versions@f75c0e6 the default location for Linux/Mac/Windows was aligned to default to RUNNER_TOOL_CACHE if AGENT_TOOLCACHE wasn't specified. The change introdu...

X Description: Description: As of actions/python-versions@f75c0e6 the default location for Linux/Mac/Windows was aligned to default to RUNNER_TOOL_CACHE if AGENT_TOOLCACHE wasn't specified. The change int...

Opengraph URL: https://github.com/actions/setup-python/pull/461

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5f29d361-1d40-c988-58ae-58cd56dc4671
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE1F8:EBD3A:4E9A1C:6CE80F:6AF853C2
html-safe-nonce9fff61dc6ad655a4c2fc290d5859f457ee8765b35d12d2321000a6b7d794c679
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUY4OkVCRDNBOjRFOUExQzo2Q0U4MEY6NkFGODUzQzIiLCJ2aXNpdG9yX2lkIjoiMjM2MzkzNzM0NzUxMTQ2OTQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccc6ba39de0a2944df3736d01763cdc2c6d2f82a19119094a9ebb89314e97b50e
hovercard-subject-tagpull_request:997442646
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,actions,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/actions/setup-python/pull/461/files
twitter:imagehttps://avatars.githubusercontent.com/u/3467784?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3467784?s=400&v=4
og:image:altDescription: As of actions/python-versions@f75c0e6 the default location for Linux/Mac/Windows was aligned to default to RUNNER_TOOL_CACHE if AGENT_TOOLCACHE wasn't specified. The change introdu...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/actions/setup-python git https://github.com/actions/setup-python.git
octolytics-dimension-user_id44036562
octolytics-dimension-user_loginactions
octolytics-dimension-repository_id192625525
octolytics-dimension-repository_nwoactions/setup-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id192625525
octolytics-dimension-repository_network_root_nwoactions/setup-python
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
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/actions/setup-python/pull/461/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Factions%2Fsetup-python%2Fpull%2F461%2Ffiles
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%2Factions%2Fsetup-python%2Fpull%2F461%2Ffiles
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%2Ffiles&source=header-repo&source_repo=actions%2Fsetup-python
Reloadhttps://github.com/actions/setup-python/pull/461/files
Reloadhttps://github.com/actions/setup-python/pull/461/files
Reloadhttps://github.com/actions/setup-python/pull/461/files
actionshttps://github.com/actions
setup-pythonhttps://github.com/actions/setup-python
Codehttps://github.com/actions/setup-python
Issues37 (37)https://github.com/actions/setup-python/issues
Pull requests24 (24)https://github.com/actions/setup-python/pulls
Actionshttps://github.com/actions/setup-python/actions
Projectshttps://github.com/actions/setup-python/projects
Security and qualityhttps://github.com/actions/setup-python/security
Insightshttps://github.com/actions/setup-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Factions%2Fsetup-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Factions%2Fsetup-python%2Fissues%2Fnew%2Fchoose
techman83https://github.com/techman83
actions:mainhttps://github.com/actions/setup-python/tree/main
techman83:fix/self_hostedhttps://github.com/techman83/setup-python/tree/fix/self_hosted
Conversation 5 https://github.com/actions/setup-python/pull/461
Commits 2 https://github.com/actions/setup-python/pull/461/commits
Checks 0 https://github.com/actions/setup-python/pull/461/checks
Files changed https://github.com/actions/setup-python/pull/461/files
Please reload this pagehttps://github.com/actions/setup-python/pull/461/files
Fix Tool Cache for Self Hosted Runners https://github.com/actions/setup-python/pull/461/files#top
Show all changes 2 commits https://github.com/actions/setup-python/pull/461/files
2b8eff3 fix: Self-Hosted Runner Tool Cache techman83 Jul 15, 2022 https://github.com/actions/setup-python/pull/461/commits/2b8eff3e886fa23edac085802272260eea4e60e9
cde9ce6 docs: Agent Tool Cache techman83 Jul 15, 2022 https://github.com/actions/setup-python/pull/461/commits/cde9ce60cad074afd7ebffe642b59020008dc594
Clear filters https://github.com/actions/setup-python/pull/461/files
Please reload this pagehttps://github.com/actions/setup-python/pull/461/files
Please reload this pagehttps://github.com/actions/setup-python/pull/461/files
README.md https://github.com/actions/setup-python/pull/461/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
index.js https://github.com/actions/setup-python/pull/461/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
setup-python.ts https://github.com/actions/setup-python/pull/461/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e
https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1
README.mdhttps://github.com/actions/setup-python/pull/461/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/techman83/setup-python/blob/cde9ce60cad074afd7ebffe642b59020008dc594/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-python/pull/461/{{ revealButtonHref }}
https://github.com/actions/setup-python/pull/461/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/actions/setup-python/pull/461/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1
dist/setup/index.jshttps://github.com/actions/setup-python/pull/461/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
View file https://github.com/techman83/setup-python/blob/cde9ce60cad074afd7ebffe642b59020008dc594/dist/setup/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-python/pull/461/{{ revealButtonHref }}
https://github.com/actions/setup-python/pull/461/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-python/pull/461/files#diff-8164d45a0a98040cbf5161c5b6e696920163460bea5f24100a7a01720c4a9a91
https://github.com/actions/setup-python/blob/main/.github/CODEOWNERS#L1
src/setup-python.tshttps://github.com/actions/setup-python/pull/461/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e
View file https://github.com/techman83/setup-python/blob/cde9ce60cad074afd7ebffe642b59020008dc594/src/setup-python.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/actions/setup-python/pull/461/{{ revealButtonHref }}
https://github.com/actions/setup-python/pull/461/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e
https://github.com/actions/setup-python/pull/461/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e
https://github.com/actions/setup-python/pull/461/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e
https://github.com/actions/setup-python/pull/461/files#diff-0ac8bdebd0ca13af3640499ecf1203abc825161011f13f9ca45c734bfe80128e
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.