René's URL Explorer Experiment


Title: Automatically clean up old TRAP caches by henrymercer · Pull Request #2306 · github/codeql-action · GitHub

Open Graph Title: Automatically clean up old TRAP caches by henrymercer · Pull Request #2306 · github/codeql-action

X Title: Automatically clean up old TRAP caches by henrymercer · Pull Request #2306 · github/codeql-action

Description: Actions for running CodeQL analysis. Contribute to github/codeql-action development by creating an account on GitHub.

Open Graph Description: This PR implements a new feature, behind a flag, that keeps only the newest TRAP cache for each language. We call the Actions cache APIs directly as these have not yet been added to the @actions/ca...

X Description: This PR implements a new feature, behind a flag, that keeps only the newest TRAP cache for each language. We call the Actions cache APIs directly as these have not yet been added to the @actions/ca...

Opengraph URL: https://github.com/github/codeql-action/pull/2306

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f33569c1-488c-299c-870e-f259f6166199
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB80A:3A9A9F:E47029:13BB14D:6A55C73A
html-safe-nonce8b8c7975b49e168410180bf55a9cf5113f433af7d5f85e39fad1e3ba067bc7f2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODBBOjNBOUE5RjpFNDcwMjk6MTNCQjE0RDo2QTU1QzczQSIsInZpc2l0b3JfaWQiOiI1NjI3MTc3MzAzMDE0NzU0MTA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd8a84ca275cfcef74e648423b14b12ae223ad076a2271640b892f5b2d8cbb5a4
hovercard-subject-tagpull_request:1884884020
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/codeql-action/2306/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8682d65248f2bc173203c081057865d988c6944127f98b3f29e3058c95e4c190/github/codeql-action/pull/2306
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8682d65248f2bc173203c081057865d988c6944127f98b3f29e3058c95e4c190/github/codeql-action/pull/2306
og:image:altThis PR implements a new feature, behind a flag, that keeps only the newest TRAP cache for each language. We call the Actions cache APIs directly as these have not yet been added to the @actions/ca...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehenrymercer
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-cache
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
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
release8f8e1726192df8dce16872ceb503336c12e9ae78
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/2306#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2306
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%2Fgithub%2Fcodeql-action%2Fpull%2F2306
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/2306
Reloadhttps://github.com/github/codeql-action/pull/2306
Reloadhttps://github.com/github/codeql-action/pull/2306
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 472 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.6k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 156 https://github.com/github/codeql-action/issues
Pull requests 25 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality 2 https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
henrymercerhttps://github.com/henrymercer
mainhttps://github.com/github/codeql-action/tree/main
henrymercer/trap-cache-space-efficiencyhttps://github.com/github/codeql-action/tree/henrymercer/trap-cache-space-efficiency
Conversationhttps://github.com/github/codeql-action/pull/2306
Commits14 (14)https://github.com/github/codeql-action/pull/2306/commits
Checkshttps://github.com/github/codeql-action/pull/2306/checks
Files changedhttps://github.com/github/codeql-action/pull/2306/files
Automatically clean up old TRAP cacheshttps://github.com/github/codeql-action/pull/2306#top
henrymercerhttps://github.com/henrymercer
mainhttps://github.com/github/codeql-action/tree/main
henrymercer/trap-cache-space-efficiencyhttps://github.com/github/codeql-action/tree/henrymercer/trap-cache-space-efficiency
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
May 23, 2024https://github.com/github/codeql-action/pull/2306#issue-2313227546
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
readmehttps://github.com/github/codeql-action/blob/main/README.md
changeloghttps://github.com/github/codeql-action/blob/main/CHANGELOG.md
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
henrymercerhttps://github.com/henrymercer
May 21, 2024 22:27https://github.com/github/codeql-action/pull/2306#commits-pushed-cc96c82
https://github.com/henrymercer
List matching Actions cacheshttps://github.com/github/codeql-action/pull/2306/commits/cc96c825ba7223b4eb6de99c677ad11fada286c9
cc96c82https://github.com/github/codeql-action/pull/2306/commits/cc96c825ba7223b4eb6de99c677ad11fada286c9
https://github.com/henrymercer
Restrict TRAP cache cleanup to analyzed languagehttps://github.com/github/codeql-action/pull/2306/commits/087f0b04c6eeb55fba2d0aff9ee05d40c31a4791
087f0b0https://github.com/github/codeql-action/pull/2306/commits/087f0b04c6eeb55fba2d0aff9ee05d40c31a4791
https://github.com/henrymercer
Look at ref rather than default branchhttps://github.com/github/codeql-action/pull/2306/commits/4fd6c0d4f1529fa54f318f61b17be40671afe3b8
4fd6c0dhttps://github.com/github/codeql-action/pull/2306/commits/4fd6c0d4f1529fa54f318f61b17be40671afe3b8
https://github.com/henrymercer
Invoke cleanup in analyze Actionhttps://github.com/github/codeql-action/pull/2306/commits/0b4214972ef2b9ebefa25d98ee04b4b974f4cede
0b42149https://github.com/github/codeql-action/pull/2306/commits/0b4214972ef2b9ebefa25d98ee04b4b974f4cede
https://github.com/henrymercer
Log key and ref for which we're retrieving cacheshttps://github.com/github/codeql-action/pull/2306/commits/1bea17f7171dec65c3f7debe868d19183b455dab
1bea17fhttps://github.com/github/codeql-action/pull/2306/commits/1bea17f7171dec65c3f7debe868d19183b455dab
https://github.com/henrymercer
Use automatic pagination mapping functionhttps://github.com/github/codeql-action/pull/2306/commits/898dead2d681203a513f604609250f090e4c3e6f
898deadhttps://github.com/github/codeql-action/pull/2306/commits/898dead2d681203a513f604609250f090e4c3e6f
https://github.com/henrymercer
Clean up old TRAP cacheshttps://github.com/github/codeql-action/pull/2306/commits/610e72285fc385cc545aa11f7cdf8d1fe6e7e7c7
610e722https://github.com/github/codeql-action/pull/2306/commits/610e72285fc385cc545aa11f7cdf8d1fe6e7e7c7
https://github.com/henrymercer
Add specific error for lacking actions:write permissionhttps://github.com/github/codeql-action/pull/2306/commits/59af9fc5abf0b6138247032ba5d1b089445452c0
59af9fchttps://github.com/github/codeql-action/pull/2306/commits/59af9fc5abf0b6138247032ba5d1b089445452c0
https://github.com/henrymercer
Add telemetry for TRAP cache cleanuphttps://github.com/github/codeql-action/pull/2306/commits/4f2b1826e9ce4e6d37db3199a4610adbbf74ccd4
4f2b182https://github.com/github/codeql-action/pull/2306/commits/4f2b1826e9ce4e6d37db3199a4610adbbf74ccd4
https://github.com/henrymercer
Put TRAP cache cleanup behind a feature flaghttps://github.com/github/codeql-action/pull/2306/commits/6ccd5631d811c84fd41304a746443149a9ce67ad
6ccd563https://github.com/github/codeql-action/pull/2306/commits/6ccd5631d811c84fd41304a746443149a9ce67ad
https://github.com/henrymercer
Add unit test for cleanuphttps://github.com/github/codeql-action/pull/2306/commits/f7f71927cf0f5b563249bc7fa30b19d05629d6cf
f7f7192https://github.com/github/codeql-action/pull/2306/commits/f7f71927cf0f5b563249bc7fa30b19d05629d6cf
https://github.com/henrymercer
Improve log message when there's nothing to clean uphttps://github.com/github/codeql-action/pull/2306/commits/fdba1f907e4ba1e2c6f94820e0db5544951a35e1
fdba1f9https://github.com/github/codeql-action/pull/2306/commits/fdba1f907e4ba1e2c6f94820e0db5544951a35e1
https://github.com/henrymercer
Add changelog notehttps://github.com/github/codeql-action/pull/2306/commits/9983853f46e33e86d9e1197e005ca2860cec4332
9983853https://github.com/github/codeql-action/pull/2306/commits/9983853f46e33e86d9e1197e005ca2860cec4332
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
code ownerhttps://github.com/github/codeql-action/blob/acdf23828ad6151dd966f467acc7cf231aca129b/CODEOWNERS#L1
May 23, 2024 15:32https://github.com/github/codeql-action/pull/2306#event-12911419549
https://github.com/aeisenberg
aeisenberghttps://github.com/aeisenberg
May 24, 2024 https://github.com/github/codeql-action/pull/2306#pullrequestreview-2075482700
View reviewed changes https://github.com/github/codeql-action/pull/2306/files/9983853f46e33e86d9e1197e005ca2860cec4332
src/trap-caching.test.tshttps://github.com/github/codeql-action/pull/2306/files/9983853f46e33e86d9e1197e005ca2860cec4332#diff-31ab73568a7b851998bc6de2992091f4d41a92a01d00bd3a47a046de68f67ef6
aeisenberghttps://github.com/aeisenberg
May 24, 2024https://github.com/github/codeql-action/pull/2306#discussion_r1612595193
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
henrymercerhttps://github.com/henrymercer
May 24, 2024https://github.com/github/codeql-action/pull/2306#discussion_r1613107262
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
aeisenberghttps://github.com/aeisenberg
May 24, 2024https://github.com/github/codeql-action/pull/2306#discussion_r1613595480
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
https://github.com/henrymercer
Add some comments to explain test casehttps://github.com/github/codeql-action/pull/2306/commits/f629cb39411d4ad951100161b01a12d9f4f730ef
f629cb3https://github.com/github/codeql-action/pull/2306/commits/f629cb39411d4ad951100161b01a12d9f4f730ef
https://github.com/aeisenberg
aeisenberghttps://github.com/aeisenberg
May 24, 2024 https://github.com/github/codeql-action/pull/2306#pullrequestreview-2077130932
View reviewed changes https://github.com/github/codeql-action/pull/2306/files/f629cb39411d4ad951100161b01a12d9f4f730ef
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
584871bhttps://github.com/github/codeql-action/commit/584871bb84d6f108afae67195238084ff2288d99
May 24, 2024https://github.com/github/codeql-action/pull/2306#event-12926182498
https://github.com/henrymercer
henrymercerhttps://github.com/henrymercer
May 24, 2024 14:51https://github.com/github/codeql-action/pull/2306#event-12926182699
Merge main into releases/v3 #2317 https://github.com/github/codeql-action/pull/2317
Merge releases/v3 into releases/v2 #2319 https://github.com/github/codeql-action/pull/2319
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 3, 2026 https://github.com/github/codeql-action/pull/2306#ref-pullrequest-4198906493
Release v0.0.6 t0k0sh1/ry#619 https://github.com/t0k0sh1/ry/pull/619
https://github.co/hiddenchars
https://github.com/github/codeql-action/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%2Fgithub%2Fcodeql-action%2Fpull%2F2306
https://github.com/aeisenberg
aeisenberg https://github.com/aeisenberg
https://github.com/github/codeql-action/pull/2306/files/f629cb39411d4ad951100161b01a12d9f4f730ef
Please reload this pagehttps://github.com/github/codeql-action/pull/2306
https://github.com/henrymercer
https://github.com/aeisenberg
https://github.com/angelapwen
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.