Mario Campos
b2e22323e2
Merge remote-tracking branch 'origin/main' into mario-campos/node24
...
# Conflicts:
# lib/analyze-action-post.js
# lib/analyze-action.js
# lib/autobuild-action.js
# lib/init-action-post.js
# lib/init-action.js
# lib/resolve-environment-action.js
# lib/start-proxy-action-post.js
# lib/start-proxy-action.js
# lib/upload-lib.js
# lib/upload-sarif-action-post.js
# lib/upload-sarif-action.js
# package-lock.json
# package.json
2025-10-03 12:59:21 -05:00
Michael B. Gale
7fb8378d93
Re-throw exception in createStatusReportBase when in test mode
2025-10-03 11:59:36 +01:00
Henry Mercer
d899b2ed98
Merge branch 'main' into mario-campos/node24
2025-10-02 12:36:53 +01:00
Michael B. Gale
10feb5d2a2
Merge pull request #3167 from github/mbg/upload-sarif/find-then-filter
...
Find, then filter, SARIF files for `upload-sarif` Action
2025-10-02 11:51:47 +01:00
Nick Rolfe
4182ea3d4e
Merge pull request #3168 from github/update-bundle/codeql-bundle-v2.23.2
...
Update default bundle to 2.23.2
2025-10-02 11:25:07 +01:00
Michael B. Gale
d573787cca
Report registry types that are configured for CodeQL in start-proxy telemetry
2025-10-01 16:00:05 +01:00
Michael B. Gale
15916800df
Send a basic status report in start-proxy Action if it succeeds
2025-10-01 15:55:20 +01:00
Michael B. Gale
cb5a2849ac
Send status report when start-proxy fails
2025-10-01 15:52:28 +01:00
Michael B. Gale
6de1d741f6
Move error handling from startProxy to runWrapper in start-proxy action
2025-10-01 15:43:43 +01:00
Michael B. Gale
a506145f31
Add StartProxy to ActionName enum
2025-10-01 15:42:08 +01:00
Michael B. Gale
91a63dc72c
Remove undefined values from results of unsafeEntriesInvariant
2025-10-01 15:28:56 +01:00
Michael B. Gale
d25fa60a90
ESLint: Disable no-unused-vars for parameters starting with _
2025-10-01 15:28:31 +01:00
Mario Campos
7434149006
Upgrade Node.js version to 24.
...
This requires creating a new major-version (v4) of codeql-action.
2025-09-30 13:56:31 -05:00
Michael B. Gale
9a0b46abff
Rename keys and entries helpers and update docs
2025-09-30 12:52:04 +01:00
Michael B. Gale
b8c496644d
Rename variables in getGroupedSarifFilePaths
2025-09-30 12:05:59 +01:00
Michael B. Gale
ad086e4d90
Use path.extname for some extension checks
2025-09-30 11:55:04 +01:00
github-actions[bot]
b5caf1196e
Update default bundle to codeql-bundle-v2.23.2
2025-09-30 08:31:45 +00:00
Michael B. Gale
80cb6b56b9
Merge pull request #3136 from github/mbg/dep-caching/telemetry
...
Add telemetry for dependency caching
2025-09-29 16:01:30 +01:00
Michael B. Gale
d44c8b3e18
Fix comments
2025-09-29 15:45:07 +01:00
Michael B. Gale
93711d3d89
Print a warning when there are sarifFiles in getGroupedSarifFilePaths that don't belong to an analysis kind
2025-09-29 15:07:16 +01:00
Michael B. Gale
056fb86575
Call fixCategory in uploadSpecifiedFiles
...
Since `fixCategory` is now part of `AnalysisConfig`, we don't have to remember to do it at the call site for `uploadSpecifiedFiles` or `uploadFiles` anymore.
2025-09-29 15:07:16 +01:00
Michael B. Gale
63d1b25e97
Use getGroupedSarifFilePaths for upload-sarif Action
2025-09-29 15:07:16 +01:00
Michael B. Gale
717d581574
Add fixCategory to AnalysisConfig
2025-09-29 15:07:15 +01:00
Michael B. Gale
0417531633
Add keysTyped and entriesTyped helpers
2025-09-29 15:07:15 +01:00
Michael B. Gale
13ae3d4328
Add and use getAnalysisConfig
2025-09-29 15:07:14 +01:00
Michael B. Gale
fe0376ed1f
Add getGroupedSarifFilePaths with tests
2025-09-29 15:07:13 +01:00
Michael B. Gale
73fbfb0bbf
Update src/upload-sarif.test.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-29 09:11:01 +01:00
Michael B. Gale
5fd2cfe1ef
Fail if no SARIF files were uploaded
2025-09-29 09:04:44 +01:00
Michael B. Gale
2adc894410
Tests: ensure uploadSpecifiedFiles wasn't called if we don't expect it to be
2025-09-29 09:01:28 +01:00
Michael B. Gale
5b3f0ded91
Test that uploaded files match expectations for each analysis kind
2025-09-29 09:01:07 +01:00
Michael B. Gale
6e0b0872fa
Add some tests for findAndUpload and uploadSarif
2025-09-29 09:01:02 +01:00
Michael B. Gale
9f452fad0f
Move core upload-sarif logic to upload-sarif module
...
Note that this also fixes the format of the `sarif-ids` outputs to match what is documented
2025-09-29 08:57:52 +01:00
Michael B. Gale
5fc9e66105
Move findAndUpload to a new module
2025-09-29 08:44:44 +01:00
Michael B. Gale
e6768a18cf
Merge branch 'main' into mbg/dep-caching/telemetry
2025-09-29 08:39:48 +01:00
Michael B. Gale
0b7fc56648
Fix upload-sarif not uploading non-.sarif files
2025-09-26 17:47:59 +01:00
Michael B. Gale
31bfb99f0d
Do not use stringified objects for dependency caching telemetry
2025-09-26 00:26:09 +01:00
Michael B. Gale
ed57767898
Don't measure size of downloaded cache
2025-09-25 21:02:43 +01:00
Michael B. Gale
2ff902e1f1
Rename CacheHitResult and hit
2025-09-25 20:53:23 +01:00
Henry Mercer
b1d32cf356
Merge branch 'main' into henrymercer/fix-log-message
2025-09-25 13:06:54 +01:00
Michael B. Gale
6ccec2ac14
Remove url from log messages
2025-09-24 18:54:49 +01:00
Michael B. Gale
4e820a4ca4
Apply review feedback
2025-09-24 15:50:19 +01:00
Michael B. Gale
d43f46c39c
Set Authorization header for downloading update-job-proxy
2025-09-24 12:41:54 +01:00
Michael B. Gale
efcf614b5d
Refactor assembling Authorization header value into its own function
2025-09-24 12:40:15 +01:00
Henry Mercer
50fc7e9236
Fix tools: linked log message
2025-09-23 14:53:29 +02:00
Michael B. Gale
eb05da905d
Specify Accept header for toolcache.downloadTool
2025-09-23 13:27:06 +01:00
github-actions[bot]
2bbfe979c3
Update default bundle to codeql-bundle-v2.23.1
2025-09-23 13:27:06 +01:00
Michael B. Gale
7dfbfdcb01
Report overall cache usage for CodeQL dependency caches
2025-09-23 12:28:42 +01:00
Michael B. Gale
3d7d7c978e
Fix comment
2025-09-23 11:56:50 +01:00
Michael B. Gale
249a3cbb5c
Add telemetry for storing dependency caches
2025-09-23 11:52:46 +01:00
Michael B. Gale
11480e326c
Add telemetry for restoring dependency caches
2025-09-23 11:50:15 +01:00