| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:487a35a4-5d36-e0a2-c297-79f04bae9840 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9952:3073D:732738:9FDAA1:6A4C8FA7 |
| html-safe-nonce | 2f187cb9f134859d6ca95b79fd0c5046fcb11b0c848da929bb0368c8eaff9f7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTUyOjMwNzNEOjczMjczODo5RkRBQTE6NkE0QzhGQTciLCJ2aXNpdG9yX2lkIjoiNzIzMDA4MTExODE3ODY3NjY0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2c41fee67b41f91de5e36f20c705d3a281760225f9580191de3fe635c8f55eb |
| hovercard-subject-tag | pull_request:3803480968 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/3950/files |
| twitter:image | https://avatars.githubusercontent.com/u/1663284?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1663284?s=400&v=4 |
| og:image:alt | Similar to #3943, this PR caches the output of codeql resolve languages, which contains the paths to the various extractors so that repeated calls to resolveLanguages() are idempotent. Additionally... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7a2dede45637df6b92ddcfe2a557e67d4b5854ae |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql-action/pull/3950/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F3950%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F3950%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=github%2Fcodeql-action |
| Reload | https://github.com/github/codeql-action/pull/3950/files |
| Reload | https://github.com/github/codeql-action/pull/3950/files |
| Reload | https://github.com/github/codeql-action/pull/3950/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
|
github
| https://github.com/github |
| codeql-action | https://github.com/github/codeql-action |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-action |
|
Fork
470
| 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
27
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose |
| mario-campos | https://github.com/mario-campos |
| main | https://github.com/github/codeql-action/tree/main |
| mario-campos/cache-cli-resolve-langs | https://github.com/github/codeql-action/tree/mario-campos/cache-cli-resolve-langs |
|
Conversation
58
| https://github.com/github/codeql-action/pull/3950 |
|
Findings
| https://github.com/github/codeql-action/pull/3950/findings |
|
Commits
26
| https://github.com/github/codeql-action/pull/3950/commits |
|
Checks
8
| https://github.com/github/codeql-action/pull/3950/checks |
|
Files changed
| https://github.com/github/codeql-action/pull/3950/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
|
Cache CLI extractor paths across Actions steps
| https://github.com/github/codeql-action/pull/3950/files#top |
|
Show all changes
26 commits
| https://github.com/github/codeql-action/pull/3950/files |
|
311292c
Cache the output of `codeql resolve languages`
mario-campos Jun 3, 2026
| https://github.com/github/codeql-action/pull/3950/commits/311292c28fcad4d4c3efb0b85ec3f23b2785a19f |
|
6010f85
Reimplement `resolveExtractor()` as wrapper over `resolveLanguages()`
mario-campos Jun 3, 2026
| https://github.com/github/codeql-action/pull/3950/commits/6010f85d81311aee3e4d090b444e82855e90740b |
|
445107e
Validate numbers, objects, and undefinables in the `json` module
mario-campos Jun 16, 2026
| https://github.com/github/codeql-action/pull/3950/commits/445107e23af9b5ae4b0e0d68e638eaf4da59d014 |
|
587fcb3
Refactor `isVersionInfo()`` to use `json` module
mario-campos Jun 16, 2026
| https://github.com/github/codeql-action/pull/3950/commits/587fcb33c738fe65109c7fbcda01b693e9b9614a |
|
889ae42
Refactor CLI executions into helper functions
mario-campos Jun 17, 2026
| https://github.com/github/codeql-action/pull/3950/commits/889ae42672fcfc9f2570842bca674d6989c02f69 |
|
dc8e1e9
Refactor CLI JSON handling into a dedicated `runCliJson` function
mario-campos Jun 17, 2026
| https://github.com/github/codeql-action/pull/3950/commits/dc8e1e9aa030ff727aca68fda116800bf38b8eb3 |
|
a602287
Refactor CLI caching with in-memory and file storage
mario-campos Jun 18, 2026
| https://github.com/github/codeql-action/pull/3950/commits/a602287f735f45c60ac6df611e76a9e54a28347b |
|
b18df17
Rebased onto main; fixups were needed
mario-campos Jun 18, 2026
| https://github.com/github/codeql-action/pull/3950/commits/b18df17ee7608277c4d8ac617d62bd3878135de1 |
|
553eef0
Add error handling for undefined extractors in language resolution
mario-campos Jun 18, 2026
| https://github.com/github/codeql-action/pull/3950/commits/553eef0d3fb88d9d9478e100a556cf047da13c07 |
|
c8e32e4
Refactor `resolveLanguages()` to cache output according to CLI featur…
mario-campos Jun 18, 2026
| https://github.com/github/codeql-action/pull/3950/commits/c8e32e423db7a4baa7df978f7fff4c7773fdd378 |
|
defcf1b
Rename `optional` and `undefinable` functions for clarity; update rel…
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/defcf1bff6e0bd3d59991cbe4c608eeb1eedb41e |
|
420c97e
Improve documentation for cache file and command keys in CLI
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/420c97eadde1b53f6fb590ecf837b21d11a01cd8 |
|
dd7ff30
Replace `string` with `CommandCacheKey` for better type safety
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/dd7ff302052d32dd1ffd25528cf0ac83e33d755f |
|
126166c
Rename `CacheEntry` to `CommandCacheEntry` for consistency
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/126166c21209f7c4537f0bd342c2b5907460e656 |
|
94b1260
Refactor cache file reading to check for existence before attempting …
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/94b12602ac7a37849b55dd401b0c1207f3438564 |
|
d1bd5ec
Add logging for command cache file read/write failures
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/d1bd5ec7b0d24e2aece3fc1fb9d8761318d83943 |
|
805b590
Remove duplicate key check in cacheCommandOutput and related tests
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/805b59092e7efaab37053dc1898e5fb1a435636f |
|
895ffe7
Front-load caching and rear-load saving to disk
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/895ffe7eb5dc00f0e37304117af54df325cf26ee |
|
649baba
Refactor cache storage to use cacheCommandOutput for consistency
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/649bababe740aae717fbfd30fc0b4af8f7676a17 |
|
b3c7aa7
Add warning log for invalid data in command cache retrieval
mario-campos Jun 19, 2026
| https://github.com/github/codeql-action/pull/3950/commits/b3c7aa7372bb8c2a98069821038d3ed34bd4d90f |
|
41965b0
Move `cache.ts` to `cli/output-cache.ts`
mario-campos Jun 30, 2026
| https://github.com/github/codeql-action/pull/3950/commits/41965b0e7be3045e3ddf8d5c7c30fe3f19a1480b |
|
c2f4379
Refactor `CommandCacheKey` as a string union
mario-campos Jun 30, 2026
| https://github.com/github/codeql-action/pull/3950/commits/c2f43799c5aca5fdaebaed44e5f4ef63d80a6987 |
|
0d69817
Move output type validators to `output-cache.ts` module
mario-campos Jun 30, 2026
| https://github.com/github/codeql-action/pull/3950/commits/0d698171d350266bf2b7dafa80e83d2479fa79a3 |
|
da14981
Switch `CommandCacheKey` back to an `enum`
mario-campos Jun 30, 2026
| https://github.com/github/codeql-action/pull/3950/commits/da149812f1432ca8dd89eb2c43d4acbbdb5f486c |
|
bba0d6c
Revert JSON module changes
mario-campos Jul 1, 2026
| https://github.com/github/codeql-action/pull/3950/commits/bba0d6c67cb441000dde909b0cc8ad52e67561d5 |
|
7f4f27e
Revert change to `resolveExtractor`
mario-campos Jul 1, 2026
| https://github.com/github/codeql-action/pull/3950/commits/7f4f27e7e62ffbdfee14c96f3c882d09d8a62e64 |
|
Clear filters
| https://github.com/github/codeql-action/pull/3950/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
|
entry-points.js
| https://github.com/github/codeql-action/pull/3950/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815 |
|
output-cache.test.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-8218f87148350d9b3551df1d359ed41fc65374c7997de3c7d031ae8f99b40b26 |
|
output-cache.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-1da25bf67e8e047dbb84783778ba7c946308597fd8f0c7841df204d98509434f |
|
codeql.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-473ad8cf33ad034dc4f9ae468a3ce5d87106ace4f96f6a23a000261d46efaa60 |
|
config-utils.test.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-b89137bd6c9c170b54007f695c569094adf83a0f79f9f29272cc1a801f34c3e0 |
|
config-utils.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-14691739edd81c7a3c8a30fec2e77ee99f2d57f323523e502a73ab375982d6fa |
|
environment.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-c0b3266a3c4f1c4857b2a8bc79c4b463560bb7da30deb7c2b6e852f705723827 |
|
init-action.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-87bf9e0a2a9244ba1f26eb01d404deaccbc9580479d2e2530a4ff2fd5bd91565 |
|
status-report.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-3abb83ffc5df1d349d32759ed4876c4c1a50b63d3187ec177d67cb76f0bd50e7 |
|
testing-utils.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-b5e75f890eca9e7fbfff472427b39ce0f5628833109b50e7b2d165729bd8c124 |
|
tools-features.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-a2b4f46aa09bd648db18893b59331e2e037dfb60954c80383d820703b09d2519 |
|
util.test.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-5b8db3845646ec2fda6f1a8fb2b5b8c67460b5070568f4be6320f344704969cd |
|
util.ts
| https://github.com/github/codeql-action/pull/3950/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1 |
|
| https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1 |
| lib/entry-points.js | https://github.com/github/codeql-action/pull/3950/files#diff-73697317a7dd14441dcfb24bc586f637ae2b815b5e503a05a81816be74fcd815 |
|
View file
| https://github.com/github/codeql-action/blob/7f4f27e7e62ffbdfee14c96f3c882d09d8a62e64/lib/entry-points.js |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
|
| https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1 |
| src/cli/output-cache.test.ts | https://github.com/github/codeql-action/pull/3950/files#diff-8218f87148350d9b3551df1d359ed41fc65374c7997de3c7d031ae8f99b40b26 |
|
View file
| https://github.com/github/codeql-action/blob/7f4f27e7e62ffbdfee14c96f3c882d09d8a62e64/src/cli/output-cache.test.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/github/codeql-action/pull/3950/{{ revealButtonHref }} |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
| Please reload this page | https://github.com/github/codeql-action/pull/3950/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |