Commit Graph

3903 Commits

Author SHA1 Message Date
Henry Mercer
e9e9733cb5 Merge branch 'main' into henrymercer/stub-actions-vars 2026-03-04 13:26:43 +01:00
Henry Mercer
8e17ec94b4 Merge branch 'main' into henrymercer/parallel-unit-tests 2026-03-04 13:25:01 +01:00
Henry Mercer
aae94187c1 Fix test name 2026-03-04 13:09:10 +01:00
Henry Mercer
36148cccb9 Run more actions util tests serially 2026-03-04 13:08:37 +01:00
Henry Mercer
a5b959e10d Merge pull request #3537 from github/henrymercer/overlay-status-record-job
Record the job that published an overlay status
2026-03-04 11:49:52 +00:00
Michael B. Gale
d1ac77f26d Merge pull request #3527 from github/mbg/start-proxy/remove-unused
Remove unused registry types from `LANGUAGE_TO_REGISTRY_TYPE`
2026-03-04 11:48:08 +00:00
Henry Mercer
675af55c60 Run some unit tests in parallel 2026-03-04 12:40:22 +01:00
Henry Mercer
281b265245 Address review comments 2026-03-04 12:16:54 +01:00
github-actions[bot]
4593dc2f8f Update supported GitHub Enterprise Server versions 2026-03-04 00:23:29 +00:00
Henry Mercer
d4f1b14259 Use new setupActionsVars pattern 2026-03-03 19:24:18 +01:00
Henry Mercer
8a884bdb36 Extend setupActionsVars 2026-03-03 19:09:57 +01:00
Henry Mercer
129d771399 Add check run ID 2026-03-03 19:04:04 +01:00
Henry Mercer
776fd85f8c Address review comments 2026-03-03 18:48:23 +01:00
Henry Mercer
f654d61146 Add JSDoc 2026-03-03 17:24:47 +01:00
Henry Mercer
eddf33655d Sort OverlayDisabledReason enum 2026-03-03 17:22:36 +01:00
Henry Mercer
9f77ff18bb Make "insufficient resources" reason more specific 2026-03-03 17:21:59 +01:00
Henry Mercer
0158d05946 Make "feature not enabled" reason more specific 2026-03-03 17:17:07 +01:00
Henry Mercer
a05f541a6e Record the job that published an overlay status
This makes it easier to find the job that produced the status.
2026-03-03 16:56:18 +01:00
Michael B. Gale
40f0fa95c4 Merge pull request #3535 from github/mbg/ci/no-skip-overlay
Disable overlay status check for CS config test workflow
2026-03-03 12:26:50 +00:00
Michael B. Gale
9bf973324f Merge pull request #3528 from github/mbg/refactor/sarif
Refactor SARIF-related types and functions into a separate module
2026-03-03 12:10:30 +00:00
Michael B. Gale
1175fd9b5d Add some docs to some newer overlay Features
To make it easier to see what they do at a glance
2026-03-03 12:06:46 +00:00
Michael B. Gale
2a2f4c30a1 Add docs for automationId 2026-03-03 11:35:43 +00:00
Michael B. Gale
6d060bbaa1 Return Partial<Log> from readSarifFile
Our previous definition had `tools` as a mandatory field, so this
also makes some changes to deal with the case where that may
be `undefined` by treating it as equivalent to `[]`.
2026-03-03 11:34:01 +00:00
Michael B. Gale
28b449d8c7 Improve version handling in combineSarifFiles 2026-03-03 11:18:47 +00:00
Michael B. Gale
1721ce7afd Address minor review comments 2026-03-03 11:05:37 +00:00
Michael B. Gale
b43d146e37 Do not alias types 2026-03-02 20:47:19 +00:00
Michael B. Gale
66e08d2b3f Make entries in new mapping mandatory 2026-03-02 18:08:53 +00:00
Michael B. Gale
9a31859f78 Use @types/sarif 2026-03-02 18:04:11 +00:00
Henry Mercer
06cd615ad8 Soften language re overlay failures 2026-03-02 11:48:45 +01:00
Michael B. Gale
8a1cd7656d Put change behind a FF 2026-03-01 15:07:47 +00:00
Michael B. Gale
3b16d31abc Delete unused fixInvalidNotifications function 2026-03-01 14:26:41 +00:00
Michael B. Gale
40aec383a1 Move more SARIF helpers to sarif module 2026-03-01 14:22:49 +00:00
Michael B. Gale
2fce45b8e6 Add wrapper around JSON.parse to sarif module 2026-03-01 14:10:25 +00:00
Michael B. Gale
d7cfd19fb8 Move SARIF types out of util.ts 2026-03-01 13:42:46 +00:00
Michael B. Gale
68d73442fa Remove unused registry types from LANGUAGE_TO_REGISTRY_TYPE 2026-02-28 23:24:41 +00:00
Michael B. Gale
f3663cdc32 Fix typos in comments 2026-02-28 15:18:25 +00:00
Michael B. Gale
e995ba3522 Add more tests/assertions 2026-02-27 12:52:54 +00:00
Michael B. Gale
1e7e52a330 Add tests where upload should get skipped 2026-02-27 12:40:04 +00:00
Michael B. Gale
383b86ddcb Refactor some test setup code into mockRiskAssessmentEnv 2026-02-27 12:27:32 +00:00
Michael B. Gale
ca32b84657 Ensure correct failed SARIF file names for CSRA 2026-02-26 19:56:07 +00:00
Michael B. Gale
ce97dfe405 Sanitise artifact name 2026-02-26 19:47:55 +00:00
Michael B. Gale
003044eb84 Add test 2026-02-26 19:18:32 +00:00
Michael B. Gale
5b9d1f4fdf Simplify prepareFailedSarif for risk assessments 2026-02-26 19:18:29 +00:00
Michael B. Gale
f265dd9392 Separate generateFailedSarif out of prepareFailedSarif 2026-02-26 18:44:50 +00:00
Michael B. Gale
44b66a8064 Upload failed SARIF as artifact for risk assessments 2026-02-26 18:40:00 +00:00
Michael B. Gale
60ca40ecd4 Refactor prepareFailedSarif out of maybeUploadFailedSarif 2026-02-26 18:07:00 +00:00
Michael B. Gale
56d1ccc87a Change skipped reason message 2026-02-26 17:51:06 +00:00
Michael B. Gale
e9ce32d807 Change order of checks in tryUploadSarifIfRunFailed 2026-02-26 17:51:06 +00:00
Michael B. Gale
0f3e632580 Rename secondary run to uploadFailureInfo 2026-02-26 17:47:32 +00:00
Henry Mercer
29765a3c71 Skip overlay memory check for CodeQL 2.24.3 and later 2026-02-26 16:53:26 +00:00